Groups | Blog | Home
all groups > flash actionscript > october 2007 >

flash actionscript : Flash Resize to Web Browser AS3


SpectacularStuff
10/25/2007 10:37:33 PM
Okay,

I am having a hell of a time trying to get the following header to resize.
http://www.spectacularstuff.com/php-test/inprogress/home.php

I have the class set to noscale.
I am missing something to do with the width and height. I have read a million
tutorials on this and have attempted to do this 1000 times and it is not
working. I keep running into errors I do not understand.

Here is the code to my noscale class. Can anyone please help me on what I am
missing to get this thing to resize with the browser windows so that it is
fluid?

I want the same effect as the following:
http://www.senocular.com/demo/Layout/examples/StageResize.html
Full Screen from 1 edge to the other and resizes everything when the browser
window is smaller or bigger.

I have uploaded all of my files if you need to see them
www.spectacularstuff.com/php-test/inprogress/home.txt - This is the PHP file
with the flash vars set properly.
www.spectacularstuff.com/php-test/inprogress/NoScale.as - Here is the NoScale
class file I am working with.
www.spectacularstuff.com/php-test/inprogress/fadingbutton.fla - Here is the
fla file for review should you need it.

The following notes are here mainly for me and don't really have anything to
do with this post.
There are three items that I have left to perform on this project.
[b]1. This resizing script - (Where I currently need help)[/b]
2. Creating the Navigation for the URL's based upon what URL's are detected
from the flash vars. I believe I can do this. I have not attempted it yet.
3. As basic as it is, a loader script and I have no idea how to do that... :(
(I am sure there are 10,000 tutorials on how to do that in Flash CS3).

Thanks for any help,

Wayne
SpectacularStuff
10/27/2007 3:42:51 AM
Well apparently, you cannot download an AS file from our site and the .txt file
doesn't work either.

Here is a zip file with all of the files combined.
http://www.spectacularstuff.com/php-test/inprogress/ButtonFades.zip

You can read the .AS file and see what I am missing. Can someone please help
me with what code i need in order to resize these items.

Thanks,

Wayne
AddThis Social Bookmark Button