A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] pass window.pageYOffset to flash

Threaded View

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    20

    resolved [RESOLVED] pass window.pageYOffset to flash

    Hi so I want to pass the window.pageYOffset value to Flash using something like:

    window.document.myMovie.SetVariable("testValue", sendText);
    //sendText has value of pageYOffset

    Does anyone know how I can pass this variable each time the window.pageYOffset value changes i.e. is there a function that can be invoked on window.pageYOffset?

    Okay - got it onscroll
    Last edited by lmitchsmith; 12-06-2009 at 12:27 PM.

Tags for this Thread

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