dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Action Script

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    20

    Action Script

    I have asked this question on the 'Newbie' board but cannot seem to resolve it.
    I know that you can use action script to keep an animation large but what is the action script to keep an animation at its original size? My animations are usually 500px x 400px and always on a .swf file

    Shawline

  2. #2
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    what app is the animation being created in?
    If you don't think you're going to like the answer, then don't ask the question.

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    20

    Actionscript

    oops! I am a complete newbie and I don't understand 'app'

    Shawline

  4. #4
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi
    In the first frame of your flash movie (FLA)....copy and paste this code into the actions panel for the timeline...this will prevent the dimensions of the movie from scaling larger.....
    code:
    fscommand("fullscreen", "false");
    fscommand("allowscale", "false");
    Stage.showMenu = false;//prevents right click menu

    Last edited by hum; 12-23-2005 at 10:26 AM.

  5. #5
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    I meant what application (program: Adobe, Flash, Photoshop, etc) created the animation
    If you don't think you're going to like the answer, then don't ask the question.

  6. #6
    Junior Member
    Join Date
    Jan 2001
    Posts
    20

    Actionscript

    Thank you all for your help. I have been trying to resolve this for some time.

    Hum's solution was exactly what I was looking for. Well done!

    Shawline

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