[SWFObject] Express Install Redirect Issue

Azimuth New Media chris at azimuthnewmedia.com
Wed May 17 11:32:47 PDT 2006


Cheers Jim,

Yep the issue is I can't get my js to do the same when the page redirects - I'll guess I'll have to figure it out.

It's tricky for me to explain, calling the js function from a clickable link, and autoloading and resizing a page automatically seem like two different beasts. I'll just have to spend some more time with it.

Hence why I was pondering whether there was an idiot proof way to acheive the same thing either through the express install feature.

I wondered if there was a more express install centric way of doing it

so.setAttribute('xiRedirectUrl', 'http://www.example.com/upgradefinished.html');

Thanks

Chris

Azimuthnewmedia
  ----- Original Message ----- 
  From: Jim Berkey 
  To: swfobject at lists.deconcept.com 
  Sent: Wednesday, May 17, 2006 8:12 PM
  Subject: Re: [SWFObject] Express Install Redirect Issue


  A quick google for 'javascript re-size html' brought this up - it might work if you put it in the head of the html containing the flash object:

  <script language="JavaScript">
  <!--
  // This will resize the window when it is opened or
  // refresh/reload is clicked to a width and height of 500 x 500
  // with is placed first, height is placed second
  window.resizeTo(500,500)
  -->
  </script>

  Of course, change the window size to your needs.


  *********** REPLY SEPARATOR ***********

  On 5/17/2006 at 8:05 PM Azimuth New Media wrote:
    Hi List

    Bear with me this is an SWFobject question in the end...

    From my site I have a little bit of javascript that opens a pop up window with my flash movie - which is exactly the dimensions of my flash movie. Nothing extraordinary.

    When I run express install - which works fine, the browser redirects back to my page but it is open in a full window, instead of at the 564x564px dimension I'd specified.

    I know why not, because the code doesn't exist in the target page, so the obvious is to add the code to the page where my movie is embedded...which automatically resizes the browser window back to the 564x564 - okay - but, I can't get this working myself for some reason.

    So is there something I can do within the SWFobject script - I know there is this variable:

    so.setAttribute('xiRedirectUrl', 'http://www.example.com/upgradefinished.html');

    Is there anyway by using I can get the movie after upgrade to reload into the pop up - like target="_self"

    I hope you all follow.

    Thanks in advance

    Chris






    Azimuthnewmedia


------------------------------------------------------------------------------


  _______________________________________________
  SWFObject mailing list
  SWFObject at lists.deconcept.com
  http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060517/6599937f/attachment-0005.htm>


More information about the Swfobject mailing list