Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to play .SWF file rotated 270 degrees. How?

Status
Not open for further replies.

Fredas

Programmer
Dec 23, 2002
2
US
Subject says it all. I am needing to play flash files on a little PocketPC screen. The aspect ratio of the screen is 3:4 whereas 99% of all flash animations are designed for 4:3 PC monitors. The result is that the flash animations play needlessly small on an already small screen with minimal resolution. The solution is to find the command syntax for playing the .SWF files rotated either 90 or 270 degrees.

Anyone know what the command syntax would be for accomplishing this? Thanks.
 
Try the following on the first frame of your movie:

this._rotation = 90;

If you need to then move the display east or west, north or south, play around with the x & y parameters in the same manner:

this._x = 300;
this._y = 100;

Or whatever... Regards,

oldman3.gif
 
Thanks. Actually I goofed and didn't clarify my situation. What I really need to know is what .html text is needed to be used in order to play the flash files rotated. This is for a friend of mine who owns a PocketPC. Basically, he finds .SWF files online, uploads them to the PDA, and uses a simple cut-&-paste bit of .html to play them back from within the PocketPC's version of Internet Explorer. All he modifies is the filename reference. What I need to know, then, is what to add to the .html text file to get it to play rotated. It's probably not feasible to necessitate manually editing each .SWF file just to get it rotated.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top