iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
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

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-12-2005, 09:29 AM
WebProWorld New Member
 
Join Date: Mar 2004
Location: Wisconsin
Posts: 24
mjstrand RepRank 0
Default stage size of an actionscript loaded movie

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.
Reply With Quote
  #2 (permalink)  
Old 02-08-2005, 01:12 PM
WebProWorld Member
 
Join Date: Aug 2003
Location: UK
Posts: 51
poab RepRank 0
Default

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;
You'll need to publish for at least flash player 6.

cheers.
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:10 PM.



Search Engine Optimization by vBSEO 3.3.0