Closed Bug 331672 Opened 19 years ago Closed 13 years ago

embed swf is not usable from JS if assigned, an interval latency is required

Categories

(Core Graveyard :: Plug-ins, defect)

1.8 Branch
x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: andrea.giammarchi, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 I think that an embed element should be usable from JavaScript as is for IE and Opera. In FireFox 1.5 It's not usable after the element is correctly assigned, It requires an intervall to work correctly but script will be asyncronous. Reproducible: Always Steps to Reproduce: 1. assign embed element by name: var swf = document["embedname"]; 2. swf.TCallLabel("_root", "labelname"); // label is not called, any error on console 3. function async(){swf.TCallLabel("_root", "labelname");}; setTimeout(async, 0); // label is called Actual Results: anything, but if I try to reproduce the object and its embed element with an innerHTML, an exception occurred if I don't use the interval with setTimeout or with setIntervall. If I reproduce HTML manually, console doesn't tell me anything. Expected Results: Any error but should work correctly. My Installed Extension DOM Inspector 1.8.0.1 HTML Validator 0.7.7 Web Developer 1.0.1 FireBug 0.2.2 Windows XP Professional SP2 full updated Flash Player 8.5
Component: Error Console → Plug-ins
Product: Firefox → Core
QA Contact: javascript.console → plugins
Version: unspecified → 1.8 Branch
Plugin data is loaded asynchronously, this is probably by design/spec.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.