I am developing component in flex that will be used to play audio
effects.
The flex component has no UI elements. The component uses fabridge
for javascript/flex communications, and all the UI buttons are
rendered in JavaScript.
So - I want this flex component to be a 'headless', or hidden
component.
When I embed the component using this command, everything works OK.
(although I see an unwanted 10x10 square...)
swfobject.embedSWF("JsDial.swf", "flashContent", 10, 10, "9.0.0");
But when I change the 'display size' to 0,0 using the command below,
my flex component stops working, and the 'alternate content' is
displayed in the browser page.
swfobject.embedSWF("JsDial.swf", "flashContent", 0, 0, "9.0.0");
Can anyone tell me what I should do to properly render a 'headless
component' ??
Thanks in advance!!
ps here is the source code for my flex component...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<fab:FABridge xmlns:fab="bridge.*" />
<mx:SoundEffect id="click_sound" source="@Embed(source='tones/
click_sound.mp3')"/>
</mx:Application>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---