A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] pass window.pageYOffset to flash

  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.

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    Thread marked RESOLVED.

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