Copy link to clipboard
Copied
I'm building a portfolio site, but I need the document size to be different from each scene. I'd rather not create a separate swf/html file for each page since that would disrupt the transition between scenes (not to mention all the wok I went through to get the dropdown menus working).
For instance, the "home" scene is structured for 1200x670 px, but the portfolio scene labeled "published" needs to be at 1200x1500px.
Is there any way to change the document size from scene to scene? OR; If, for instance, I made the universal document size 1200x1500 for the entire flash file, is there a script that would restrict the "home" scene to only show the first 670 pixels?
Copy link to clipboard
Copied
not in flash alone.
you may be able to do what you want using javascript in your html document and using the externalinterface class to communicate between your actionscript the embedding html javascript.
Copy link to clipboard
Copied
Thanks, kglad.
I'll do a bit of research on javascript and repost my progress awhile down the road. In the meantime (and to save on production time), I may just restructure my Flash document so that everything fits within the same pixel resolution.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now