|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I've tried to figure out how to get the stage size of a movie that is loaded by actionscript into a main .fla file. I'm using flash mx. I've managed to get the boundary extents which was also helpful, but I am trying to resize the original stage size to that of a carrier window.
Right now, I created a small piece of code in the loaded movie with hardcoded values for the stage size. Is taht the only way to handle that when the boundary is bigger or smaller than the stage size?
__________________
Mike runs a video messaging site called Online-Kiosks.Net that allows people to advertise to their customers and motivate their employees. Mike has over 15 years of international software company experience. |
|
|||
|
The concept of Stage is irrelevant if you're loading a movie into it: Stageonly applys to the main timeline.
If you want to scale the movieclip to the size of the Stage try this: Code:
myClip_mc._x = myClip_mc._y = 0; myClip_mc._width = Stage.width; myClip_mc._height = Stage.height; cheers. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |