Closed (fixed)
Project:
SWF Tools
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2010 at 18:54 UTC
Updated:
2 Mar 2011 at 15:46 UTC
I want to be able to refer to my swf object via object id, so that I can focus it via javascript on page load, like this: http://flixel.org/forums/index.php?PHPSESSID=2bba6ecfa6909adf8c274df5393...
But I'm stumped as to how to accomplish this exactly with SWF Tools, because as far as I can see, there's nowhere to enter the equivalent of:
var attributes = {
id:"myUniqueID"
};
And no way to assign:
<object id="myUniqueID"...
It appears that the object id is generated randomly by SWF Tools on each page request? I have an id like "swf12812044473" which changes with every page load, and which I cannot seem to set anywhere.
Any help is greatly appreciated! Thank you!
Any help is much appreciated!
Comments
Comment #1
jordanmagnuson commentedMoving this from Flash Node to SWF Tools. Any help would be great!
Comment #2
timdiacon commented+1 for this - surely you must be able to assign a specfic object id?
Comment #3
timdiacon commenteddavidlerin - the random number is a timestamp in version 6.25
The ability to specify an object name manually is included in version 6.3
I've got beta 4 installed and it works perfectly so will set status to fixed.