A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: swf code....

  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    91

    swf code....

    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="clsid27CDB6E-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
    we keep making fool proof systems, but the world keeps making better fools.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    So long as your textfield isn't HTML enabled, it should work fine for what you are doing. Yeah just tested it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center