Jump to content
Search Community

Orilla

Members
  • Posts

    2
  • Joined

  • Last visited

Orilla's Achievements

0

Reputation

  1. Hi Carl, Thanks for your reply. I'm working just with flash. I have a main page with an index on the side, so you can click the index at any time, and it will takes you to a lets say a subpage. From there, you can go back to the main page. Page and subpage(s) has their own timeline. So the issue arise when i'm coming back to the main page from a subpage. I want to come back to the same timeline position where it was before jumps to the subpage, so i created a backPosition variable, where this value is kept, and then used seek(backPosition) to positioning back in the main page timeline. timelineMainPage.seek(backPosition) This works fine in general cases, but not when there are images on the main page to load (loading with ImageLoader) In that cases, the timeline doesn't really go to that backPosition, but a bit before. This is a log, where i plot the value of backPosition variable, and the value of the timelineMainPage.progress() after the seek(backPosition) is executed. Also i tried using labels having the same issue (goes to the label just before the wished one) BACK to Main: backPosition:1, timeline current progress:0.6666666666666665 BACKto Main: backLabel: [frame4], Current label: [frame3] As i said, this is happening just when images are loaded.
  2. Hi, I'm jumping between pages with different timelines, it's all ok, till the moment i go back to the first page (to the point it was before left) using seek function. myTimeline.seek(lastposition); where lastposition it is the position before the page was changed. I can easily check the value of that variable, lastposition, and it is right, but the seek function doesn't really jumps to that position, but a bit before, like 0.3 sec aprox, depending on how many images needs to load till that lastposition. Even forcing the lastposition to 1, the seek function do not jumps there, but a bit before. Why this is happening?
×
×
  • Create New...