TIP:SWFAddress v2.0/SWFObject v1.5 with Express Install/SwishMax2
#31
Posted 26 February 2008 - 05:40 AM
#32
Posted 27 February 2008 - 04:24 AM
NitWit, on Feb 25 2008, 01:40 PM, said:
In short, no.
You will need to upgrade to SWiSHMax2 to use this.
The upgrade to SM2 is well worth the money!
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#33
Posted 10 April 2008 - 03:11 AM
A few bugs have been fixed,
Better support for the google-analytics.com/ga.js
and the SWiSHMax2 example I supplied is included in the download.
http://www.asual.com/swfaddress/
Download SWFAddress 2.1
(8MB, Including docs, samples and sources)
or just the core scripts (17KB).
Release notes
Quote
Notes:
A major dot release, bringing various improvements and fixes.
--------------------------------------------------------------------------------
Changes:
- New SWFAddressOptimizer class that encapsulates the JavaScript SEO code
and improves the HTML degradation of Flash websites.
- New getPathNames and getBaseURL methods.
- New Rewriteless sample for SEO support without URL rewriting.
- New YouTube Player API sample for video deep linking.
- New SWiSH Max2 sample.
- Tomcat SEO sample ported to Flex.
- Enhanced SEO sample.
- Improved href and popup methods.
- Safari 3 reload and popup blocker fixes.
- Deep links validation for XSS vulnerabilities.
- DOM fix for Firefox.
- The new Google Analytics tracking is supported out of the box.
- Strict mode no longer requires a slash at the end of the value.
- The A2S/AS3 classes are available in the com.asual.swfaddress package.
- Flex 3 compatibility.
...and maybe someone could change the title of this thread to read:
RESOURCE:SWFAddress v2.0/SWFObject v1.5 with Express Install/SwishMax2
instead of:
ANSWERED:SWFAddress v2.0/SWFObject v1.5 with Express Install/SwishMax2
thanks
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#34
Posted 11 April 2008 - 05:09 AM
I had a lot of trouble with making it work - and failed at the end
I have used this:
SWFAddress.onChange = function ()
{
var myaddress = SWFAddress.getValue();
if (myaddress == "")
{
SWFAddress.setValue("/home");
}
else if (myaddress == "/home")
{
content.loadMovie("home.swf");
}
else if (myaddress == "/news")
{
content.loadMovie("news.swf");
}
else if (myaddress == "/about")
{
content.loadMovie("about.swf");
}
}
Tried the tutorials wherever I was able to find them, but just couldn't make it work.

LATEST: Flash - Potrčko Zagreb • HTML - Mikrofonija • Layout - Tony Robbins || SOCIAL: on Twitter • on Facebook • on Kontain
#35
Posted 11 April 2008 - 07:25 AM
I don't think the SWFAddress.onChange function was made to work like that.
I think you'll need to set your loadMovie functions in the appropriate frames.
I can look into it further, but can not make any promises...
If you know of a sample/tutorial I am missing that does what you want,
please post a link(s) to it/them.
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#36
Posted 11 April 2008 - 08:39 AM
I don't remember where I originally found this way of using SWFaddress but HERE and HERE you can see it being used like that.

LATEST: Flash - Potrčko Zagreb • HTML - Mikrofonija • Layout - Tony Robbins || SOCIAL: on Twitter • on Facebook • on Kontain
#37
Posted 11 April 2008 - 09:32 AM
#38
Posted 11 April 2008 - 09:34 AM
onFrame (1){
SWFAddress.onChange = function() {
var value = SWFAddress.getValue();
myvar = value;
getData(myvar);
};
}
function getData(value:String){
//value = "menu=Menu&sub=Submenu&page=1&article=10";
totalStuff = value.split("&");
for (i in totalStuff){
newvar = totalStuff[i].split("=");
if (newvar[0].toLowerCase() == "menu"){
curMenu = newvar[1];
}else if (newvar[0].toLowerCase() == "sub"){
curSubMenu = newvar[1];
}else if (newvar[0].toLowerCase() == "page"){
curPage = newvar[1];
}else if (newvar[0].toLowerCase() == "article"){
curArticle = newvar[1];
}
}
....................
....................
}
I hope that you will get a part of this script useful for you
Bthw, when the second blog will be finished, the previous one source files will be dropped for a public
#39
Posted 11 April 2008 - 09:39 AM
Thanks PLUR!

LATEST: Flash - Potrčko Zagreb • HTML - Mikrofonija • Layout - Tony Robbins || SOCIAL: on Twitter • on Facebook • on Kontain
#40
Posted 11 April 2008 - 01:10 PM
Not sure if this is what you wanted, but...
Is this what you wanted?
..
Attached Files
Edited by eggs-in-Wisconsin, 11 April 2008 - 01:20 PM.
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#41
Posted 11 April 2008 - 06:59 PM
eggs-in-Wisconsin, on Apr 11 2008, 04:10 AM, said:
Not sure if this is what you wanted, but...
Is this what you wanted?
..
And now I can script the buttons like:
on (release,releaseOutside){
SWFAddress.setValue("/about/");
}
And it works!!! Thank you.
EDIT:
I see, I've been using it onSelfEvent(Load) and both of you guys used it somewhere in a time line. Perhaps that's where the problem was.

LATEST: Flash - Potrčko Zagreb • HTML - Mikrofonija • Layout - Tony Robbins || SOCIAL: on Twitter • on Facebook • on Kontain
#42
Posted 12 April 2008 - 01:21 AM
When doing this, be sure you have all the forward slashes "/" in the page names.
That may have been a part of the trouble.
As to the onSelfEvent(Load)
that is the new way to write it in SM2
I admit, it takes a little bit to get used to
after writing onLoad() for all those years
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#44
Posted 16 April 2008 - 11:19 AM
I am working on a SEO version for SWiSHMax2.
I think I got it, based on work done by Rostislav Hristov
for the flash SEO version, here:
http://www.asual.com...ss/samples/seo/
http://sourceforge.net/forum/forum.php?thr...forum_id=630934
http://www.flawlessd.../SwishMax2_SEO/
I am not at all sure at this point, how to test this...
But still, it seems to work as well as the flash version,
aside from a couple little bugs.
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
#45
Posted 18 April 2008 - 08:40 AM
have a look here:
http://www.flawlessd.../SwishMax2_SEO/
SwishZone get's the first look at the SEO SWiSH site source files.
Enjoy!
Attached Files
My top threads to watch: | (Check for multiple/updated attachments in each thread)
Bringing it all together | MC_Tween2 for SM2 | experimental xml gallery | 3d Spiral Stair Case
Component Pack | SWFAddress v2.0/SWFObject v1.5 | Practice script - (chat app) | 3D
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
















