ActionScript 3.0 :: SWFaddress With XML Menu?
May 27, 2009- Does anybody knows If an XML menu works with the SWFaddress concept?I can only find tutorials about the classic buttons menu (with timeline based transitions)
View 4 Replies- Does anybody knows If an XML menu works with the SWFaddress concept?I can only find tutorials about the classic buttons menu (with timeline based transitions)
View 4 Repliesnow we all used to disable the menu until new section of our site gets animation but how do you handle user repeatedly abusing for example back button on the browser when moving though your website?
View 1 RepliesThe 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]...
how to use SWFAddress within MCs? All the tutorials I find seem to use the maintimeline, but I need to know how to make it work within multilevel mc's, dynamicly loaded in. Ive got a working code but this one is static. Everything is working, even when i copy and paste the URL of Testpage 5 for example in the browser. how to create a dynamic way than using the switch statement.
[Code]...
I'm having a problem with the flash publish method and swfaddres.I've included the javascript of the flash pubblication in a new javascript file with the swfaddress in the same page.If i use swfobject for including my flash file in the swf, swfaddress works ok...if i include the swf with the flash method swfaddress doesn't work.Here the link: http:[url]......
View 0 RepliesI have created this site with a expanding / collapsin menu. When a user selects a menu e.g. "hammers" then the menu is loaded and show the submenues. When the users closes the menu by moving the mouse away from the area the menu collapses. If the user expands the menu again the menu should have remember the last visit menu and show the menu.
View 4 Repliesi want to add new Menu in flash IDE and i want to add inside the adobe flash menu. How i can add new menu in menubar and new menu item inside the help menu. is it possible to do this things if yes then which language i have to use for this. what is way to start development and what is the .MXP file and how to create this .MXP file.
View 1 RepliesThe menu is like this http:[url]... (the site is in portuguese but it doesnt matter), when I click in on menu the actual menu does an alpha to 0 and the next menu appears using the alpha from 0 to 100 (and some animations like the cellphone going up).Now, how can I do a menu like that, whatever the menu I choose, it does that alpha animation ?
View 1 RepliesFor some really dumb reasons, I must support IE6 in the project I'm currently working on (think multi-paged microsite). I have SWFaddress, now, worked into my navigation system, and it is working as expected in chrome and FF.
When I get into IE6 I am having the following problem:
The "browser URL Update" phase of the SWFAddress.setValue -> SWFaddressEvent.Change
cycle fails to function, except when the mouse cursor leaves the SWF frame. When the mouse leaves the frame, SWFaddress history gets updated as expected and the browser navigation buttons function as expected.
But if the mouse cursor stays within the swf, none of this happens, and any stateChanges are skipped by the browser buttons.
Hello all.
Having a hard time getting info on SWFADDRESS so I thought I'd try here as Kirupa has saved my butt in the past.
So my question is this.
I am trying to attach a variable to the end of my SWFADDRESS url but can't get it to register. I can get it working fine using SWFOBJECT like so
http://website.com?Var=1&Var2=2
but once I add the deeplinking I can't get any results.
http://website.com/#/Home/?Var=1&Var2=2
or
http://website.com/#/Home?Var=1&Var2=2
My code in the html is :
Code:
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject('Example', 'website', '800px', '600px', '8');
so.useExpressInstall('swfobject/expressinstall.swf');
so.addVariable("Var", getQueryParamValue("Var"));
so.addVariable("Var2", getQueryParamValue("Var2"));
so.addParam("wmode","transparent");
so.write("flashcontent");
// ]]>
</script>
Anyone have a way around this or a good source for SWFADDRESS help?
Would really help me out!
Cheers
how to use SWFAddress within MCs? All the tutorials I find seem to use the maintimeline, but I need to know how to make it work within multilevel mc's, dynamicly loaded in.Ive got a working code but this one is static. Everything is working, even when i copy and paste the URL of Testpage 5 for example in the browser. how to create a dynamic way than using the switch statement.
Code: Select allfunction traceMyPage(id) {
SWFAddress.onChange = function() {
var addr = SWFAddress.getValue();
[code]....
Am successfully using swfaddress and love it. For the first time though I'm trying to implement it on a site that has a load bar. The issue is if I use the browser's back button I'll eventually get to a page that just shows the full loadbar and stops. It is the the page that I have labeled "$/". If I don't put that label on the first frame then other worse problems occur. [URL]...
View 9 RepliesEven creating the simplest example, I can't figure out what I am doing wrong. Here's my swfaddress.swf code:
ActionScript Code:
import com.asual.swfaddress.*;
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange);
function onClick(e:MouseEvent):void
[Code].....
I have created a menu with XML data. I have created a movieclip navigationMc this is placed on the first frame of the stage. Inside navigationMc I have another movieclip and named it as menuitems where I am calling the XML. I am calling a button from the library through linkage property called menuitem. I have another movieclip on the stage called pageContainerMC for loading external swfs. Now the script on the main stage - Frame 1 is:
stop();
this.pageContainerMC.loadMovie("assets/work/augmented-reality/augmented-reality.swf",2);
//
#include "SWFAddress.as"
[code]....
The swf address shows on clicking the button but it doesn't load movie once you click back and forward button on the browser also it doesn't change the name of the title.
I have spent several days now trying to make SWFAddress 2.4 work. I followed very closely Lee's video, but I can't make it work. I get the site working, but I cannot make the deep linking nor the title change to work. I am using CS3 with AS 3.0 and SWFAddress 2.4. My PC has Vista Home Premium and I tested this on several browsers (IE, Safari, Opera, and Firefox).
Here is my html code:
Code: Select all<!DOCTYPE html PUBLIC "//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">
<html>
<head>
[Code].....
The FLA file is constructed the same way as in the video with 3 MC's which visibility I toggle based on which button is pressed. The trace() call in onChange displays correctly the value I am setting in each one of the button event listeners, however the url never changes and the back and forward buttons are never enabled.
i have been trying SEO to get it noticed. I came across Swfaddress and statemanager and decided to implement them. I have examined the sample files for both methords and decided i want to use SWFaddress (it works well with google analytics).My problem is that the examples of swfaddress use a frame based navigation and my site uses buttons which load the pages into a loader component via a preloader. Do you think it would be possible to use SWFaddress with my site?
View 5 RepliesI am using swfaddress for the moment but I am using it on the timeline which is not as dynamic as I would like it to be. How to combine xml and swfaddress? I would like swfadress to get the adress from an xml file and than do whatever its supposed to do.
View 2 Repliesive been trying to get swfaddress working. And everything works fine ( the getValue function shows the right content, setTitle does its job etc ) except for setValue. When i set it to for instance setValue("news"), the url in the browser is updated to index.html?#news
that question mark shouldn't be there i guess... it also reloads my page every time. I have no idea where to start looking as i dont know what's causing it. anyone else had this issue before ?
I am trying to get SWFaddress hooked up, its kind of working at the moment:� Clicking buttons changes everything correctly (i.e page title changes, address url changes and also the content in the swf changes fine)� BUT when I type the url to access a certain page this is not changing anything
Heres the code:
Code:
/*
Website's Navigation Class
*/
package
[code].....
I am using SWF address.
With my site where I am NOT using the function to go to fullscreen works just fine. The problem is that when I use the HTML of SWFAddress I can't get the fullscreen working.
I have used SWFAddress before on a timeline driven site but now I am trying to do all actionscript and it suddenly doesnt want to work.I am trying to use SWFAddress 2.4 and even got as desperate as to try using all my older files (old .as files, and .js files and even switch my AC Object to the swfobject.js) and it refuses to work.Below is a broken down quick version of what I am trying to do
Code:
import com.asual.SWFAddress.*;
contact_pg._visible = false;
[code].....
on my site, each of the pages is its own swf loading onto the stage via an xml documentSimple enough.I've been pulling my hair trying to out how to get the linking and browser buttons working with this dynamic loadingrelevant code:XML code:
Code:
var xmlPath:String = "index.xml";
var settingsXML:XML;
[code].....
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]....
The example posted is somewhat limited and there's no meta tags based on the link, only the meta tags presented on loading the SWF. Clearly there has to be a post about getting custom meta tags based on each link (for massive applications like adobe video player) but I don't see any posts about it.
Now what I've done is used javascript to check the swfaddress information and return custom meta tags depending on the variables in the url. IE "index.php#/link1" returns
Code:<meta name="description" content="This is my webpage about getting a search engine to read meta tags for links in Flash"/>
Obviously this is probaly not going to work but I thought I'd give it a shot anyways.
Then I started thinking, what if I redirect the page if it's the first time someone is loading it? So if someone is loading the page I can grab "link1", redirect back to index.php and post info to dynamically generate the meta tags in the php file.
Has anyone successfully gotten swfaddress to work with IE8 and above?It seems that when using standards mode, swfaddress will appear to work fine in IE8 and IE9, however, once the user modifies the hashtag in the address bar, the history list becomes corrupted.In cases where the user starts the application via the hash tag url...), and then visits another hash (url...1), the history is never saved.I have tried playing around with swfaddress 2.5 in the svn repository. Interestingly, the code is similiar to JQuery Address (by the same author). I also note that JQuery Address suffers from the same problem.If I turn on compatibility mode in IE, the swfaddress and JQuery Address works perfectly. I have been looking into how compatiblilty mode works, and it does not seem like it would modify or affect javascript execution.Was anyone able to successfully solve this issue? If not are there any other deep linking libraries for flex or flash that contains all the feature sets of swfaddress?
View 1 RepliesSo I usually don't post in forums because I can usually find the answer to my question online. But I have been messing with this for days with no success.
Import AS2 version of swfaddress into flash movie... check. Place SWFAddress.js file into webpage... check. Call SWFAddress.setValue("home")... not check!
I'm trying to get SWFAddress working in a project. When I open my page in Firefox Firebug gives me and error: asual is not defined _util = asual.util, swfaddress.js (line 230)
The Flash end seems to be working as I get the the swfaddressEvent. The JS side refuses to put the name in the title of the browser.
I'm using SWFAddress 2.4. I'm also using SWFObject v2.2, which I have imported first, as per suggestions.
I tried the older version of SWFAddress following along with the Tutorial at GotoAndLearn.com. But, this also did not work.
Or at least that's the impression I'm getting. Locally in Flash, it all seems to work fine. When I open it in Safari or Firefox, it messes up some of my functions, and I THINK it's because the onChange function fires twice. Just can't figure it out.[code]Then changePage2() comes into play, but the problem is before this apparently.when I go to the URL directly, or when hitting the back button. It goes wrong when the change is triggered inside the movie.
View 0 RepliesI'm developing a flash website with swfaddress. Everything works fine, but when I paste a deep link of the site in my browser bar, the preloader is bypassed.I've downloaded the swfaddress 2.4 code, but when in index file I replace the website.swf with mywebsite.swf the only thing I see is a still picture of my preloader blocked on 100%.
View 0 RepliesYo. 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