Returning to the Post StageExt Class: resizable Flash movies here is an even easier to get the same effect, only if the library for our movie is at least one Flash component!
Create a symbol, a red square 100 × 100 and put it in stages resizeWindow calling. Enter in the library, not on the Stage, any component, such as a TextInput, and enter the following code in the first frame of the movie.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | managers . SystemManager ; import mx. managers. SystemManager; / / scaleMode = "noscale" Internships . scaleMode = "noScale" / / / / SystemManager.init (); ( "resize" , resizeWindow ) ; SystemManager. AddEventListener ("resize", resizeWindow); / / = function ( Void ) : Void { resizeWindow. resize = function (Void): Void { Object = SystemManager . screen ; var s: Object = SystemManager. screen; _width = s . width ; this. _width = s. width; _height = s . height ; this. _height = s. height; _x = Math . round ( s . x ) ; this. _x = Math . round (s. x); _y = Math . round ( s . y ) ; this. _y = Math . round (s. y); } ( ) ; resizeWindow. resize (); |
The line 6 (SystemManager.init ();) can be omitted.






Latest Comments
Giovambattista Fazioli : @ Simon: I recommend cleaning to enter a code like that in ...
Simon : @ Giovambattista Fazioli: Thank you for your patience, it's all clear ... now I feel now, ...
Giovambattista Fazioli : @ Simon is quite simple. Now I do not know if you need hand frontend, backend o. ..
Simon : Hello, sorry if you steal this space ... I'd need help if possible ... I need to ...
kainone : But how can you create the thumb and attach it to the post as imamgine out?