A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Need help with detecting window/browser resizes

Threaded View

  1. #1
    AS3 Mod
    Join Date
    Sep 2007
    Location
    O-H-I-O
    Posts
    2,385

    Need help with detecting window/browser resizes

    If the browser is resized I need to be able to detect that and
    resize my flash object accordingly, which I can handle that part.

    I need help with being able to detect if the browser is resized
    with some way to communicate that to flash and act on it.

    I am using swfobject to display my flash object, I have tried a method of adding a javascript function for when the browser is resized(which I think may be the best method but I can't get flash to detect that variable if it changes... Maybe I need some sort of listener?) with no luck.

    I will attach an image of my layout so you can see what im talking about. If this is not clear ask and I will explain a little more.

    Also notice that I do not want to make this a fullscreen flash object, it has to be inside a DIV container which I will be able to set dynamic widths on if needed.
    Last edited by sstalder; 12-12-2007 at 12:05 PM.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center