WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Flash Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-12-2005, 08:29 AM
WebProWorld Member
 

Join Date: Mar 2004
Location: Wisconsin
Posts: 27
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, 12:12 PM
WebProWorld Member
 

Join Date: Aug 2003
Location: UK
Posts: 77
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
Tags: , , , ,



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

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


Search Engine Optimization by vBSEO 3.2.0