;

PDA

Click to See Complete Forum and Search --> : swf code....


jbongo
01-11-2006, 08:10 AM
i have been working on this project and i need it so that the person can copy (ctrl+c) the text from a source (dynamic text box is what i have tried). i can do it with normal text, but this isnt normal text. problem is that it has code in it! Its the code that is to put swf files on a webpage. the code that koolmoves has.(this code).
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=~player width=422 height=238 codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="movie.swf" />
<param name="quality" value="high" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="bgcolor" value="#ffffff" />
<embed src="movie.swf" width=200height=100 bgcolor="#ffffff" quality="high" loop="true"
type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" />
</object>

i used this code that way so i can specify the background color and size, then they can copy it. i specify it through the action script (when they click the button it addes the color and size they wanted)
so if anyone has anyideas let me know.

and if i didnt explain myself well enough let me know!

thanks :thumbsup:

blanius
01-11-2006, 08:21 AM
So long as your textfield isn't HTML enabled, it should work fine for what you are doing. Yeah just tested it.