Re: Flash XML help
Re: Flash XML help
- Subject: Re: Flash XML help
- From: James Cicenia <email@hidden>
- Date: Fri, 9 Dec 2005 20:41:23 -0600
Jerry -
I reviewed your code and then did something like it. However, I am a bit
confused on the xml embedded in the html. I have only worked with it
reading a file. You have the encoded xml actually in the html.
Thus I am unsure of the flash syntax. I notice you use &dataXML=(xml
goes here).
What does the & mean? Do I need in my flash action script something
like tnailer.loadXML(_root.dataXML); ??
Thanks again,
James
On Dec 9, 2005, at 9:52 AM, jerry porter wrote:
Hello,
I had similar problems getting flash to work too.
I have included a simple xcode project to show what I did.
I am sure you can use this to get things to work.
Jerry
--- James Cicenia <email@hidden> wrote:
Hello -
I have some html code for a flash component that loads the xml from
my wo application. It works fine.
However, when I embed it into a WOComponent it doesn't work. Is there
something obvious or subtle
I am missing?
Here it the html that works fine:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0" width="440" height="50"
id="propertylisting" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="scroller.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="scroller.swf" flashvars="file=http://www.mydomain.com/
cgi-bin/WebObjects/Orbus.woa/wa/setupScrollerXML?product=FLSH"
quality="high" bgcolor="#ffffff" width="440" height="50"
name="propertylisting" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://
www.macromedia.com/go/getflashplayer" />
</object>
here is my WOEmbedded code that doesn't work:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0" width="440" height="50" id="scroller"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="/orbus/scroller.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="/orbus/scroller.swf" flashvars="file=/cgi-bin/
WebObjects/Orbus.woa/wa/setupScrollerXML?product=<webobject
name="productCode"></webobject>" quality="high" bgcolor="#ffffff"
width="440" height="50" name="scroller" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Any thoughts?
Thanks,
James Cicenia> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40yahoo.com
This email sent to email@hidden
Jerry Porter
Senior Software Engineer
Universal Measurement Solutions, Ltd.
Unit 90, 2150-29th Street NE
Calgary, Alberta
Canada T1Y 7G4
http://www.umsltd.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
<FusionChartsTest.zip>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden