Building Flash-based websites using Adobe Flex - Lesson 9/10

562
-1

Published on

Building Flash-based websites using Flex
Lesson 9 – Deep Linking

by Alex goh, associate trainer @ LAB School ( http://lab.edu.sg/ ), Adobe Authorized Training Centre, Singapore

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
562
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building Flash-based websites using Adobe Flex - Lesson 9/10

  1. 1. Building Flash-based websites using Flex Lesson 9 – Deep Linking Alex Goh info@alekkus.com
  2. 2. Agenda ● Myth ● Deep-linking ● BrowserManager class
  3. 3. Myth ● Myth: Pages with a Flash-sites cannot be navigated with a unique URL. ● True for Flash player version 8 or earlier versions. ● Resolved in Flash Player 9 called Deep Linking.
  4. 4. Deep Linking ● Provide a way for Flash to navigate to specific page within the Flash content by accessing the URL ● However, when URL changes, the HTML file containing the SWF file reloads, so how's that possible? ● Make use of the anchor (#) link. e.g. Wikipedia uses anchor link to navigate to specific section within a page. ● Flash make use of anchor link to navigate to specific page/state within the Flash content.
  5. 5. BrowserManager Class ● Flex achieves Deep Linking by setting up the BrowserManager object. ● Once set up, any change to the URL will trigger a event of type, BrowserChangeEvent. ● Setting up: Function to call when user change the URL, either by typing or clicking on the browser's back/forward button.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×