Old 05-16-2007   #1 (permalink)
Just unleashed!
 
unleash's Avatar
 
Join Date: Jul 2005
Location: Inbetween
Posts: 2,140
Blog Entries: 9

movieclip problem...

well, don't really know how to do this....

I want three pictures to load inside an empty movieclip called "container"
now I know how to make the whole thing(the buttons, the movieclip) but I don't know how i can position the empty movieclip, and how I can make the images fit exactly into the empty movieclip......

well this should be the size and the coordinates,
width=350
hieght=350
x=101.1
y=5.9

the code::
Quote:
this.createEmptyMovieClip("container","100);
my_mc = new MovieClipLoader();
BTN1.onPress = function() {
my_mc.loadClip("picture1.jpg", "container");
};
BTN2.onPress = function() {
my_mc.loadClip("picture2.jpg", "container");
};
BTN3.onPress = function() {
my_mc.loadClip("picture3.jpg", "container");
};
so maybe you can help me out??
__________________
"I haven't failed, I've just found out
10.000 ways that don't work."

~Thomas Edison~
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-16-2007   #2 (permalink)
photoshop ninja
 
agentxi's Avatar
 
Join Date: Oct 2006
Location: Red Deer - ish, alberta
Posts: 499

Quote:
well this should be the size and the coordinates,
width=350
hieght=350
x=101.1
y=5.9
hieght should be spelled height

the x/y coordinates i THINK needs an underscore infront of it, enable script assist to see if it does...

but you need to specify what is having the x/y coordinates

so something like this might work

container._x=
container._y=

i'm not sure it's abeen a while since i cracked open flash :s
__________________

Your a Graphic Designer...If you could go back in time you wouldn't go back to see the rise and fall of civilizations, you'd go back in time to destroy comic sans and papyrus.
agentxi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-17-2007   #3 (permalink)
Just unleashed!
 
unleash's Avatar
 
Join Date: Jul 2005
Location: Inbetween
Posts: 2,140
Blog Entries: 9

yeah, I had those underscores and even those "container." thingy's
I will let that be that for a moment( can't get any further)/

but I have a new question, if I want variables to be updated continuesly, how should i do that?? is there an command or so for that?
__________________
"I haven't failed, I've just found out
10.000 ways that don't work."

~Thomas Edison~
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-17-2007   #4 (permalink)
photoshop ninja
 
agentxi's Avatar
 
Join Date: Oct 2006
Location: Red Deer - ish, alberta
Posts: 499

that would be beyond my very limited knowledge of flash, I'm assuming you've scoured the kirupa forums as it's a flash based forums...
__________________

Your a Graphic Designer...If you could go back in time you wouldn't go back to see the rise and fall of civilizations, you'd go back in time to destroy comic sans and papyrus.
agentxi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-17-2007   #5 (permalink)
Just unleashed!
 
unleash's Avatar
 
Join Date: Jul 2005
Location: Inbetween
Posts: 2,140
Blog Entries: 9

yes I did completely turn kirupa inside out

couldn't really find the answer, but I do have a solution now!!
what I did was really simple, i just used and

"this.onEnterFrame = function(){}"

and it worked out!!, so thanks for you're help agentxi, well help
__________________
"I haven't failed, I've just found out
10.000 ways that don't work."

~Thomas Edison~
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
rollover problem LimitLess Adobe Photoshop 6 03-11-2007 02:08 AM
Fixing the PNG Color Problem in IE Heri Tutorial Submission 2 06-21-2006 10:23 PM
XHTML Coding problem bana HTML / PHP / ASP / JS 6 12-21-2005 12:24 AM
sound card problem? scrowler General Discussions 4 12-12-2005 08:09 PM
redhat problem Milkdrop General Discussions 3 12-14-2003 07:05 AM


All times are GMT +1. The time now is 03:08 AM.
Content Relevant URLs by vBSEO 3.2.0 RC7

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT