Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2008
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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!||||

  • #3
    New Coder
    Join Date
    Aug 2008
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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!

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #5
    Senior Coder
    Join Date
    Oct 2008
    Location
    Long Beach
    Posts
    1,196
    Thanks
    36
    Thanked 164 Times in 164 Posts
    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
    Last edited by itsallkizza; 11-11-2008 at 04:23 AM.
    Feel free to e-mail me if I forget to respond ;)
    ohsosexybrit@gmail.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •