-
changing size of load movie
when u load a movie using target is there a way to size the movie being loaded and is there also a neat trick to using masks with the load movie... i can't seem to get any of these to work.
thnx
-
Senior Member
Having this code ON the target mc will make the size fixed.
onClipEvent(load){
this._height=140;
this._width=140;
}
If you want different sizes you can specify them on the buttons like...
on(release){
ysize=200;
xsize=350;
}
...and have this on the target mc...
onClipEvent(load){
this._height=_parent.ysize;
this._width=_parent.xsize;
}
-
if no buttons (is this correct)
loadmovie("sound.swf","looks_up");
telltarget("looks_up"){
ysize=200;
xsize=350;
}
and is this all I need or do I need to have the other stufff as well... (im very new to flash it is just too confusing to me)
-
Senior Member
If you have the code on a frame...
loadmovie("sound.swf","looks_up");
_root.ysize=200;
_root.xsize=350;
...amd ON the looks_up mc......
onClipEvent(load){
this._height=_root.ysize;
this._width=_root.xsize;
}
-
thnx
thnx and by the way your website is sweet...
I have to wait to check ... so I will let you know how it goes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|