1 person found this helpful
Flash Catalyst does not expose the minWidth or minHeight attribute for the application. However, you can import your project into Flash Builder and add those attributes.
As for the resizing and scaling, you might want to read by post on it: http://chrisgriffith.wordpress.com/2011/06/22/understanding-resizing-and-scaling-in-flash- catalyst/
So, you acheive the effect you are wanting, you are going to need to also write some custom ActionScrip to listen for the window size change event, then update the sizing/positioning of your background image.
An alternate idea would be to have no background in the Flash Catalyst file, enable the transparency option in the html embed/object code. Then display the background image as part of the HTML/CSS layer and manage the resizing there.
thank you very much for your helpful reply!
I was wondering, how can I enable transparency in the html code?You mean I should open the file on Flash Builder and do something there or just leave a white color on the Artboard settings and add no background image? Being a total noob on scripting and whatever it may include, I think I am going to look for tutorials that have to do with "enabling transparency on flash builder".
About the custom AS that I would have to write so that it will listen when the window size changes and thus update the position/size of the background image, do you think I could do it in Flash Professional (the AS file I mean) and then in this file insert my swf with Dreamweaver or FP? (it is not that I know how to do this either in FP or Dreamweaver,it is just that I have seen a couple of tutorials explaining something similar) .Like I said, I know nothing about scripting, even if I found a script to do what Im looking for I would have no clue of where to put this script so that will work together with the rest of my project.
I have downloaded the swffit, I think it might help me somehow to what I want to do, I just don't know how to use it,where should I "paste" it....I guess I have to do some more research about these stuff.
Another problem (most important) that I have now, is that I can't make my application's content show on the internet when I upploaded it to my FTP, but Im going to open a new topic so that it will be more easy to be spotted as a unsolved issue, I hope you can help me with that.
Again thank you very much, Chris!
Here is some information on the transparency, in the published HTML file look for the two references to wmode and change their values to transparent.
<param name="wmode" value="transparent">
You will have to write any custom ActionScript in Flash Builder. Flash Professional does not understand Flash Catalust or Flash Builder projects.