Welcome, Guest. Please login or register.
Did you miss your activation email?
31 Jul 2010, 11:40:53 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  Best Practice, OOP & MVC Frameworks (Moderators: flexy, Jan K, James)
| | |-+  SWFObject and Historymanagement?
« previous next »
Pages: [1] Print
Author Topic: SWFObject and Historymanagement? (Read 4217 times)
shapeshifta
Newbie FD
*
Posts: 21


« on: 27 Feb 2008, 13:29:35 UTC »

Hi there,
is it possible to use both, history management inside the application and swfobject to embed it?
Did not succeed in trying this.

Regards.
Tom
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #1 on: 27 Feb 2008, 15:00:31 UTC »

Are you getting javascript errors when you use the two together? If you describe the problem or error you're experiencing I might be able to see if I've encountered something similar before.
Logged

shapeshifta
Newbie FD
*
Posts: 21


« Reply #2 on: 28 Feb 2008, 09:52:50 UTC »

http://wiki.mediabox.fr/tutoriaux/flex/template_swfobject

Tried this but it did not work...
Logged
JMWhittaker
Principal FD
****
Posts: 228

Adobe Community Expert


WWW
« Reply #3 on: 28 Feb 2008, 13:02:44 UTC »

Are you using SWFObject 2.0 off Google Code ?
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #4 on: 28 Feb 2008, 13:07:12 UTC »

And the errors you're getting? Saying "it didn't work" isn't going to get the bug fixed very quickly.
Logged

shapeshifta
Newbie FD
*
Posts: 21


« Reply #5 on: 28 Feb 2008, 13:11:40 UTC »

nope.
the html-template is modified in the given example to work with the supplied swfobject.
it works nevertheless but no history management although it is included in the template.
with the normal flex builder template, everything is working fine.

so, I wanted to know if it is really possible to use with swfobject with the history and how to do so.
I just have this one example and I have absolutely no clue how to do it in another way as they provided.

regards, tom
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #6 on: 28 Feb 2008, 13:23:21 UTC »

OK. Are you using the Prototype library with this? Are you getting any JavaScript errors, or is it just failing silently?
Logged

shapeshifta
Newbie FD
*
Posts: 21


« Reply #7 on: 28 Feb 2008, 13:36:06 UTC »

I don't get any errors.

you mean, I need to include prototype? sacre bleu!  Shocked
I just downloaded the example and thought it would work.  Undecided
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #8 on: 28 Feb 2008, 18:32:23 UTC »

It's implementing the $ notation for index.template.html, but if you've got prototype in history.js then you should be OK (according to the article), although my French is rusty. If you're getting no JavaScript errors then that would suggest that it's not going to be related to the absence of prototype.

Have you looked at SWFAddress 2.0 as an alternative to HistoryManager? I believe the guys over at deconcept are actively supporting it.

http://www.asual.com/swfaddress/
Logged

shapeshifta
Newbie FD
*
Posts: 21


« Reply #9 on: 28 Feb 2008, 20:06:37 UTC »

I had a look at swfaddress and tried it. I could not get it to work with the viewstack component. SWFAddress seems to be the solution to my problems.

I wish I had more time to have a look at this...  Roll Eyes
This was the thread: http://www.flexdeveloper.eu/forums/index.php/topic,623.0.html
« Last Edit: 28 Feb 2008, 20:08:56 UTC by shapeshifta » Logged
Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC