Get a Gumbo Prerelease build and see if those HTML templates use SWFObject and
how.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of azona26
Sent: Sunday, April 12, 2009 3:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] swfObject and deep linking
I am using swfObject to embed my application and running into some issues when
trying to deep link via the BrowserManager class. I am able to update the URL
when needed via setFragment(), however the issue occurs when the back/forward
button is pressed. The application does not update as expected. This ONLY
occurs when using swfObject. If I use the default HTML generated by Flex,
everything works fine. I searched Google and found that there have been some
issues with deep linking when using swfObject. I tried all suggestions without
any luck. Here is the code that I am using to embed as well as deep link:
!-- BEGIN Browser History required section -->
var flashvars = {};
var params = {};
params.menu = 'false';
params.wmode = 'transparent';
params.allowscriptaccess = 'sameDomain';
var attributes = {};
! ; attributes.id = 'AllProperties';
swfobject.embedSWF('AllProperties.swf', 'flashPropertyContent',
'770', '400', '9.0.124', 'expressInstall.swf', flashvars, params, attributes);
swfobject.addLoadEvent(loadEventHandler);
function loadEventHandler() {
BrowserHistory.flexApplication = swfobject.!
getObjectById('flashPropertyContent');
! ; & nbsp; }
Any suggestions on how to resolve this issue is appreciated.
Thanks.