A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: multiple flash entities in a page

  1. #1
    Junior Member
    Join Date
    Mar 2010

    multiple flash entities in a page

    What I want to build is a photography site using flash for the thumbnail pages and slideshow, but have the navigation buttons their own separate flash entities. Can these separate flash button entities influence the thumbnail flash entity? Or am I crazy?
    The purpose of the multiple flash entities is so that I can embed it in my html and use css to position them so that it stretches or shrinks to fit a browser window depending on screen size. Or is that a bad idea?

  2. #2
    Senior Member
    Join Date
    May 2008
    In my opinion you'd be better off creating the whole thing as one and just using one of the scaling options to fit it in the browser window. From an old post:
    Here are examples of different scaling parameters available in the Publish settings. You can also add these parameters directly in the html (<param name="scale" value="noscale"). All the examples replace the actual Flash dimensions with 100% for both width and height (width="100%" height="100%"). These examples use the old <object> and <embed> to illustrate the different ways to scale Flash. Once you understand how it works I’d recommend that you use swfobject to place the Flash in your final project.
    View the source code for each page to see the full code.


    "exactFit" scales the file to fit exactly within the confines of the screen, irregardless if the movie becomes consequently distorted. The original aspect ratio is not maintained. So round things are not round and squares are not square.


    "noScale" is the default setting, and causes the movie to be displayed at the originally designed dimensions.


    "noBorder" causes the movie to be scaled to what ever dimensions are needed to have no border surrounding the movie within the player, which consequently could result in some of the movie being cut off from view. In other words, the movie will maintain the original aspect ratio and will fill the screen completely. But if the movie has to be streched wider to fill both sides of the screen, it will also stretch taller, but then some of the top and the bottom of the movie may be cut off from view.


    "showAll" scales the movie to the size of the screen (which could cause pixelation if the file contains raster information), the difference between showAll and exactFit is that showAll mantains initial movie size proportions. Because it maintains the original aspect ratio, there can be space to the sides or the top and bottom. But everything always shows and they are not distorted. But notice the photo in the center, it becomes pixilated at larger screen resolutions.

    The trickiest part of trying to go full screen is that it’s difficult to make the Flash wider without making it taller also, that is, to maintain the correct proportions or aspect ratio of everything on the stage. These methods are just simple scaling accomplished with html. There are also methods to dynamically scale the stage and it’s elements using Actionscript… but that’s a much more complex undertaking.
    Best wishes,
    Eye for Video

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Wow, that is a very comprehensive reply. I didn't know you could scale flash.
    Thanks for the info.

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