ActionScript 3.0 :: Deep Linking - External Swfs And Swfaddress
Aug 23, 2011
I'm implementing swfaddress in my project, which starts with a main swf with various menus. When a menu item is clicked, it signals a url change, and the url change loads a corresponding external swf. All works swimmingly here. But... what if I wanted to have another menu from within the loaded external swf, and have that have its own loaded external swfs, url change etc, as well? For example, on my home page, there is a menu item called "news".
Once "news" is clicked, the url changes and loads a "news.swf" into a holder on the main swf. Now, in the "news.swf" there is yet another menu, this one with two buttons: one button says "Article 1" and the other "Article 2" and each would signal a URL change and load "article1.swf" and "article2.swf" respectively when clicked. Is there a way to get the menus on the external swf to communicate with the swfaddress that is happening from within the main swf so that every swf has it's own url address and different events triggered by that change? so the url for article 1 would look something like [URL]
View 11 Replies
Similar Posts:
Jan 15, 2010
I'm trying to get to grips with SWFaddress and struggling a littleJust trying to work out how to place the mc buttons into one movie clip.The code on the mc buttons is :
Code:
this.deepLink = '/about/';
this.onRelease = _parent.btnRelease;
[code]....
View 3 Replies
May 4, 2011
Yo. Im trying to get deep linking working with a flash website im building. Im using SWF Address (asual.com/swfaddress). In my code I can set and get the current address value my using SWFAddress.setValue(), and SWFAddress.getValue(), but I can't for the life of me get the address bar to update accordingly.
View 4 Replies
Nov 6, 2009
I have swfaddress (2.4) working fine on my site - the back button works, I can copy and paste urls and be taken to the correct page, etc.BUT, if I copy a url, say and paste it into a new browser window, the site always just loads to the home page after the preloader. What am I missing? Do I somehow need to check the url when the page loads?
View 1 Replies
Aug 6, 2009
I have sucessfully built a swfaddress site that works fine when you are navigating about, but if you go to a new url and then use back to return to the site, it goes to the correct frame, but the movie behaves as if it has lost some of the settings I made like stage.ScaleMode, and some of the functions and variables I defined on the main timeline are suddenly gone. The same thing happens when I paste in a direct link. The movie successfully goes to the page, but anything I've defined on the main 'actions' layer doesnt take any more.
View 5 Replies
Jun 17, 2010
I have my test site at alenelias.com/home2.html and I'm using an old AS2 class for the buttons to do the up, over, hover, selected states.When you click the back button on the browser, the selected state doesn't change and I can't figure out how to fix this and it is the most important problem here.The title of the pages has the forward slashes as well and tried to change it with no luck.And third if I keep clicking back, once I reach the intro page (loader in a different scene), if I press forward, the url changes but the page does not. Not a huge deal but would love to solve that as well.I recently looked at a form (blog.deconcept.com/2006/10/25/swfaddress/) and noticed this url spirituc.com which is very similar to my site but has the problem(s) fixed.URL...
View 0 Replies
Nov 12, 2010
how i can achieve deep linking with the external swf import technique? Im using the "Transitions Between External SWF's" tut from Kirupa but am not able to post a link here since im new. I have created a website that has this functionality between sections and would like to apply the deep linking to it.
View 9 Replies
Sep 12, 2005
I am having difficulty making the buttons of the 3rd level load the final set of external swfs and keep doing the smooth transitions they are supposed to, with midframes and outros. Somehow I am messing up the paths. I have several buttons in each level and they all work fine except the very last level.Below are a characteristic string of button AS for each level:
Main timeline:
on (release) {
if (_level0.currMovie == undefined) {
_level0.currMovie = "firm";
menu.loadMovie("firm.swf");
[code]....
All buttons inside assoc.swf are not working. I played around with the paths, but obviously I am missing something very simple and very ellusive about pathing. If I change the path in firm.swf so that _root is _lever0, then THOSE buttons stop working.
View 3 Replies
Sep 21, 2010
I'm using the following switch/case for SWF Address:
switch (e.value)
{
case "/A" :
[code].....
View 2 Replies
May 24, 2011
Ive been working on a site TheCondoBar which will be up and running soon..... but im trying to figure out some steps on "deep linking" into specific frames. i would like to have deep linking to the tabs I have at the top of the swf file Flash File .... and recommendations on what could be done
View 1 Replies
Dec 18, 2007
tutorial on deep linking or using swf address.Also my site uses currMovie for it's page transitions. I've noticed the examples seem to have all their pages on the main timeline. Is it possible to deep link with external swf's?
View 2 Replies
Sep 2, 2010
A project requirement is that it be 1 way deeplinkable(a specific query string will load a section within the swf).I have a URLProxy that I use for all external linking. It makes sense to me to put the query string logic in this proxy. So in the constructor, I check for a querystring, and then send a notification if it equals a predefined value.One problem with this is that I'd like to predefine this query string key value I am checking against in an external xml file. So another proxy, loads-parses this config xml, then the URL proxy checks against this.
View 1 Replies
Nov 14, 2010
I just posted an article about deep linking in flash and thought that you might be interested: [URL]
View 0 Replies
Oct 7, 2004
If there is a link to a section of a flash website from an HTML and/ or another Flash Movie... is there a way that the link could load the next Flash movie and then go to a specific keyframe or, even better, allow a custom animation to play when the user goes from the link on the first page to the "deep link" within the Flash movie?I can try to clarify the problem and question if I have to. Curious if this can be done and if anyone out there has had any success.Have used named anchors before to allow Windows toggling and bookmarking of Flash sections... however, this would have to work on ALL platform browsers and as info is somehow passed into the new Flash movie it seems different altogether
View 10 Replies
May 28, 2007
DEEP LINKING in Flash. [URL]
View 1 Replies
Feb 9, 2009
I want to find a relatively easy solution for deep dynamic linking within flash. There are plenty of tutorials out there, so please don't jump to the conclusion that I haven't done a search. What I am looking for is a tutorial that should theoretically be easy to follow for someone who is a non-coder.
View 2 Replies
May 16, 2011
I have made a menu bar and linked each separate swf file to the corresponding button. Upon testing my main movie, all the text on the main page is disappearing, the new swf file is not loading and the message 1120 error appears for all my buttons. I have checked the instance names and they match along with publish settings and folder settings. I cant understand why its not working
[Code].....
View 2 Replies
Jul 21, 2010
I have a Flex app I built. It uses the BrowserManager class to listen for changes in the # part of the URL. When a change is made to the hash my application updates accordingly so you can link directly to a state of the application. Also inside my programming when a user clicks something, all I do is use the BrowserManager to update the # and then my listener will apply the correct changes once its finished. I believe this is the best practice way to doing this in Flex.
I have some issues though. When using the Back button in FF or IE, it gets "stuck". for example if the hash is like #state4 clicking the back button will take you to #state3 then #state2 but sometimes get stuck where you can be on #state3 click the back button, see it flicker to #state2 real quick then change back to #state3 preventing you from going back any further in your history.
[Code]...
View 1 Replies
Oct 10, 2009
I'm working on a portfolio website of a friend using AS 3 and after a lot of reading and testing I have implemented deep linking for the main categories of the website. Now I need to figure out how to do it for the 'level 2 and level 3' content, for example a category and a project.
I have thought of this. Let's say this is our string of swfaddress: /portfolio/illustration/freelance-city
I would use a String.split like this:
var addr:String = new String("/portfolio/illustration/freelance-city");
var splitted:Array = new Array();
splitted = addr.split("/");
I will check: if the array is 1 long, do only level 1 stuff if 2 level 1 and 2 (go to correct main category and portfolio category) if 3 do all levels (go to correct main category, portfolio category and project) Right now, the array will have 4 items (it should be 3).
is this a reliable way to work for deep linking multiple levels? Any general tips for deep linking this kind of content? And how can you make sure the string splits 'after' the delimiter? To make sure the stuff before the first "/" isn't counted.
View 2 Replies
Mar 6, 2012
I have made a image gallery in xml. where i have a main.swf which loads thumbs.swf ( thumb comes from xml file).when i click on thumbnail it loads a slide.swf file.where i have 2 buttons next and prev.next button loads the next swf.prev button loads the previous swf.i want a unique url for each swf loads from xml in next and prev button..i tried a lot by using swf address and swf object for deep linking.
View 4 Replies
Oct 3, 2007
I was referred to the SWFAddress script, but I have been unsuccessful getting it to work with AS2. Does anyone have experience with this or have another suggestion on how to setup and use Dynamic Deep Linking with AS2 for flash CS3
View 1 Replies
Aug 12, 2009
I am trying to implement Deep Linking on a Flash site using AS2. I have done it many times but I don't know what happens this time. I tried everything but Back/Forward Browser buttons don't work. When I refresh the page [URL]everything works fine.
I put SWFAddress.setValue() on every button in my movie. The buttons are in another movie on the stage. This works fine too. The problem comes from the SWFAddress.onChange() function. I put it in the last frame of the movie. So the movie plays and then checks if the address has been changed. When clicked for the first time, the movie plays and then goes to the correct part of the site. When you click on another button and then use the Back Button the address changes but nothing happens with the movie.
View 1 Replies
Aug 19, 2010
I have a flash site which reads deep links from the URL, then using c# asp.net we read the url and write the appropriate meta tags for the page being requested. [code]...
View 1 Replies
Jun 16, 2009
stop();
reel_btn.addEventListener.(MouseEvent.CLICK, onReelClick);
samples_btn.addEventListener.(MouseEvent.CLICK, onSamplesClick);
[code]....
View 2 Replies
Nov 2, 2010
How can I programmatically click the browser's Back button from within my Flex application. I'm using deep linking to allow the user to navigate back/forth inside my application. I want this to work when BACKSPACE is clicked inside the application as well, but Flex captures BACKSPACE and the browser doesn't get the event. I don't want to implement browsing history myself within the application, naturally. Can I send BACKSPACE to the containing browser?
View 1 Replies
Sep 2, 2006
[URL]regarding this tutorial I started my site [URL] to get some trasition effects but im getting somewhat different since the external SWFs take time to load. isn't it better to create "intro and outro" on the same time line instead of loading external SWFs bcos once the movie loaded as a whole will lead to smooth and contineous transitions.
View 1 Replies
Aug 15, 2005
I recently created a site using the "Transitions between External SWFs" tutorial for Flash MX 2004. I use this to load the sections of my site into the main movie file. Each section is an External SWF file. When a viewer clicks on a navigation button, the specific external swf move will load and play. Currently, a viewer would need to click on another navigation option to close the current external swf file. I would like to add a close button to each of the external swfs so that a view has the option to close the window without clicking on a naviagtion link.
View 12 Replies
Nov 21, 2010
I have a conundrum in that I have 5 SWF files, I have various buttons in these SWF files linking to one another. Now all I want to do is have these buttons open up the relevant SWF file (and therefore completely replace the current SWF).I have been using a Loader class so far, but have just realised that this simply loads the new SWF into the original one! (Because I am dense), and everytime a button is clicked its loading the SWF on top of the original (slowing down my program quite a lot, as you can imagine!)
Is there no simple way of just linking these SWFs together without loading them on top of another? (I looked up unloadAndStop, but I can't get it to work in my SWFs! I have also read containers being mentioned, but I would rather stay clear of that as well if I can!)
View 1 Replies
Jun 17, 2011
I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
Here is my test: I have two exe files that should link back and forth. Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe Here is my code, which is in Intro (button name= nav_4).
[code]...
Problem: The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
Questions:
1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?
View 5 Replies
Jun 22, 2009
The timeline swf itself (the core of the site) is being loaded into a wrapper swf, as one of the requirements is that this timeline can be used elsewhere, in other projects. This wrapper, however, will have some additional visuals that pertain to a stand-alone version of this timeline. As a result of never knowing exactly where this is going to be used (either a subchapter in another flash website, or as a stand-alone site by itself), I've decided to dump all of the swfAddress code into the wrapper, in a child class of it. To handle the navigation changes, I'm dispatching custom events (from the timeline) with parameters that describe the nav changes, which gets picked up by the parent wrapper, which then calls a function in the swfAddress child class for handling.
Also done in this swfAddress class is the parsing of the URL onChange event (when a browser back button button or history changes the nav, rather than a Flash button). This, too, dispatches an event with info about the parsed URL, which the wrapper is picking up and then calling a function in the timeline's API to make the necessary changes.
[Code]...
View 4 Replies