Author Message

Posted: Thu Feb 12, 2009 4:27 pm   Post subject: Set slideWidth & slideHeight dynamically in Flex?

Is it possible to set the slideWidth and slideHeight at runtime in Flex? I can see the presentation info for these values but I can't seem to determine how to set the values.

Also, trying to set the width and height during creation doesn't seem to work. Whatever the export values are for slideWidth and slideHeight stick and are not updatable.

<ispring:PresentationContainer id="presentationContainer" width="500" height="500"/>

sets to internal values rather than 500 and 500.

Thoughts?
- michael


Profile profile test

Posted: Fri Mar 20, 2009 7:45 pm   Post subject:

Still no luck setting presentation width and height. I can set the presentationContainer width and height but the loaded SWF in Flex just spills over the dimensions of the container.

ScaleX and ScaleY of the presentationContainer does change the display of the loaded SWF but this is not the idea way to control presentation display.

Has anyone had success setting the size of the presentation display in Flex using the as3bridge?


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 6 users online :: 1 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Google [Bot]