How about a shortcut to embedding Flash?

1 view
Skip to first unread message

ern0

unread,
May 22, 2009, 3:09:58 AM5/22/09
to domass...@googlegroups.com
What about this little thing which makes the html code a bit shorter by
a small js script yo embed Flash? Should DomAss - or any - js framework
contain it? http://teethgrinder.co.uk/open-flash-chart-2/tutorial-2.php

pro:
- readable code
- shorter code
con:
- it's a pseudo-problem
--
ern0.scene.plus4.amiga.code.muzak
Haben Sie Fragen?
____________________________________________________________
Gondoljon a környezetre, mielott kinyomtatja ezt az e-mailt.
A nyomtató messze van, nincs benne papír, a driver lefagy.

Chris

unread,
May 22, 2009, 6:45:32 AM5/22/09
to DOMAssistant
Could you clarify your suggestion? What is it exactly you would like
to be added to DOMassistant?

On 22 mei, 09:09, ern0 <e...@linkbroker.hu> wrote:
> What about this little thing which makes the html code a bit shorter by
> a small js script yo embed Flash? Should DomAss - or any - js framework
> contain it?http://teethgrinder.co.uk/open-flash-chart-2/tutorial-2.php

ern0

unread,
May 22, 2009, 8:28:14 AM5/22/09
to domass...@googlegroups.com
> Could you clarify your suggestion? What is it exactly you would like
> to be added to DOMassistant?

replacing

////////
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="500"
height="250" id="graph-2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="open-flash-chart.swf" />
<param name="quality" value="high" />
<embed src="open-flash-chart.swf"
quality="high"
bgcolor="#FFFFFF"
width="500"
height="250"
name="open-flash-chart"
align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
//////////

with

////////
swfobject.embedSWF("open-flash-chart.swf","my_chart","250","200", "9.0.0");
[...]
<div id="my_chart"></div>
////////


>> pro:
>> - readable code
>> - shorter code
>> con:
>> - it's a pseudo-problem

Maybe, it's out-of-scope of a JS framework, maybe not.

wormboy

unread,
Jun 23, 2009, 8:22:25 PM6/23/09
to DOMAssistant
see http://code.google.com/p/flashreplace/

On May 22, 5:28 am, ern0 <e...@linkbroker.hu> wrote:
> > Could you clarify your suggestion? What is it exactly you would like
> > to be added to DOMassistant?
>
> replacing
>
> ////////
> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab..."
Reply all
Reply to author
Forward
0 new messages