A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Resize movie.

  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    34

    Resize movie.

    Is there a way to resize the movie dynamically through script? Movie that is the entire flash app.

  2. #2
    Senior Member
    Join Date
    May 2005
    Posts
    163
    This is definitly possible. I have come across a couple of different ways to do this and when I get a chance I'll put an example together for you.

  3. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    20
    Interesting. Could you tell us how to do ?
    I searched on the web but I found nothing, so I thought it was impossible...

  4. #4
    Senior Member
    Join Date
    May 2005
    Posts
    163
    Alright, I finally got the time to complete this example. Go to my site @ http://www.myjavaserver.com/~ppedz/3dfa and click on the "Resizable Movie" example. If you resize your browser window you will see that the flash movie resizes with it. The "Reference" link provides the web page where I found it and the source movie is also available.

    This method uses the Stage object of flash to provide the resizing there is also another example that uses javascript located @ http://rds.yahoo.com/_ylt=A0geuoDvBd.../objectresize/ but I liked this way better.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center