Hi all,
I am having trouble making a SWF project resize to full screen. I am using a third party flash component “Slideshowpro” and I am working with CS5 Flash and CS5 Dreamweaver.
There is only 1 layer when I open slideshowpro and I have added the following code to the first key by opening “Window>Actions” in Flash:
import net.slideshowpro.slideshowpro.*;
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
resizeHandler(null);
function resizeHandler(event:Event) {
my_ssp.setSize(stage.stageWidth,stage.stageHeight);
}
stage.addEventListener(Event.RESIZE, resizeHandler);
I set my instance name to "my_ssp"
I also did a similar set up in Flash “Publish Settings” on the HTML tab (W/H 100%, Scale: No scale, Flash Alignment Hor/Left and Vert/Top).
I also set height and width to 100% in html doc using Dreamweaver. The site is www.rannallenphotography.com.
I can only see a truncated version of my SWF movie in IE and only gray background in Firefox? If I add any px dimension to the horizontal position, the SWF slideshow opens to max width and the horizontal pixel dimension…
I feel as if I am overlooking something simple being a novice at Flash and DW.
Any Suggestions?
Randy
Not sure how, but by coping code from a website where resizing worked, my website now works and the swf resizes to browser... Now when I exit from Full Screen it resizes incorrectly, but that (I think) is a flash problem.
thanks