Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-10-2008, 11:17 PM   PM User | #1
activewebdesign
New Coder

 
Join Date: Aug 2008
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
activewebdesign is an unknown quantity at this point
Angry Flash movie zoom help

Code:
<object width="100%" height="150">
<param name="movie" value="weatherwhite.swf">
<embed src="weatherwhite.swf" width="260px" height="150px">
</embed>
</object>
How can i keep this movie always zoomed in? even after refresh.

Any ideas would be great,

Thanks.
activewebdesign is offline   Reply With Quote
Old 11-10-2008, 11:22 PM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Explain exactly what you mean when you say "zoomed in". Do you mean right clicking and hitting zoom or what?
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 11-10-2008, 11:25 PM   PM User | #3
activewebdesign
New Coder

 
Join Date: Aug 2008
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
activewebdesign is an unknown quantity at this point
Hello well yes the same as right click zoom as it is going on a menu system for a hotel, and they wont be able to right click zoom so i must have this done automaticly.

The page refreshes every 25 minutes so i need it to stay zoomed after fresh too.

Thanks!
activewebdesign is offline   Reply With Quote
Old 11-10-2008, 11:30 PM   PM User | #4
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
You would need to set cookies with the flash settings, but since you haven't given us anything to go by I couldn't tell you how this would really function. But Flash is stateless, so if you refresh the page (without setting a cookie, connecting to an external data source, or session) there is no way to track the events in Flash.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 11-11-2008, 03:16 AM   PM User | #5
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
Well you can make sure that when it refreshes, it zooms back instantly by having it redirect to itself with a variable attached to the url onload. Then use that variable (also onload) to zoom in.

Or less messy would be setting a cookie onunload and grabbing it onload.

EDIT: looks like jeremy already said that, sorry to double post
__________________
Feel free to e-mail me if I forget to respond ;)
ohsosexybrit@gmail.com

Last edited by itsallkizza; 11-11-2008 at 03:23 AM..
itsallkizza is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:58 PM.


Advertisement
Log in to turn off these ads.