A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Scalability

  1. #1
    Member
    Join Date
    May 2005
    Location
    San Francisco
    Posts
    55

    Scalability

    So i developed this site to scale to the browser size propprtionally. Similar to just dropping a swf into the browser. However, the last swf file i developed for the site was a image gallery. For some reason it doesn't scale at all. When you expand the window in Flash Player, the design stays at the stage dimensions. Any ideas what could be causing this? Is there a piece of code i can drop in to force scaling?

  2. #2
    Member
    Join Date
    May 2005
    Location
    San Francisco
    Posts
    55
    so i think i found the culprit. I'm using a component i purchased for a dynamic xml gallery. I decompiled my swf file so i could see the code inside the component, and found the evil little line Stage.scaleMode = "noScale";

    I'm not to familiar with decompilers, all i know is its in a folder called "Actions", Sprite51(xmlGallery)

    here's the whole block:

    if (auto_size.toString() == "true")
    {
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    setProperty("", _x, 0);
    setProperty("", _y, 0);
    } // end if

    any ideas?

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