A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Weird scaling problem (the flash unscales)

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    2

    Angry Weird scaling problem (the flash unscales)

    I suddenly (today!) started experiencing weird scaling problems with my flash. Earlier the flash was always scaled to the page on which it was on. Now, the flash has started acting all weird: as I open the flash on a page it is in its scaled form as it should, but at some point it suddenly removes the scaling.

    To elaborate:
    - My original dimensions are 1024*768.
    - If I open the movie so that it scales to 512*384, it looks fine for a while, but suddenly the whole thing is shown in 1024 size, meaning that I can only see 1/4 of the movie (unless I zoom the browser)!!

    I thought this was an error with Flash player, but I'm not sure of this. I tried some flash games on the net, but didn't experience the same problem with them. On the other hand it might be that the ones I've tested are in their original pixel sizes and therefore don't show this problem.

    Is this a bug with flash or what? Why haven't I experienced this before, if it's now doing it all the time.

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Use this code on your first frame:

    Actionscript Code:
    Stage.scaleMode = "showAll";
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    when using the browser to view you file..

    are you targeting/using the .swf or the .html file that has the embedded .swf in it?

Tags for this Thread

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