Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519

    How to reformat PHP Flash Video

    Someone sent this to me...

    http://www.news3online.com/index.php...fM5PY636FaV990

    It looks like a javascript calls and embeds a persons name.....anyway to take the code and embed it into the flash file so I can embed it on my fav forums?

    They do not have an embed feature so I want to reformat to embed.

  2. #2
    Join Date
    Oct 2000
    Location
    Peoria, AZ USA
    Posts
    810

    Talking

    This is the flash movie.

    http://www.paltalk.com/marketing/media/vanksen/main.swf

    It is not a .flv. It is a .swf. This way they can add dynamic text fields in the movie where they want. If you copy and paste the link above the movie will play, after you push the play button, and the names will be "undefined".

    The way they get different names in the text fields is by using LOADVARS in the object tag in your html. You can view the code below.

    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="384" HEIGHT="304"><PARAM NAME=movie VALUE="http://www.paltalk.com/marketing/media/vanksen/main.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=flashvars VALUE="firstname=Eric&lastname=Bartlett&urlfin=http%3A%2F%2Fwww.news3online.com%2Fspread.php"><PARAM NAME="BGCOLOR" VALUE="#000000" /><PARAM NAME="allowScriptAccess" VALUE="always" /><EMBED src="http://www.paltalk.com/marketing/media/vanksen/main.swf" quality=high WIDTH="384" HEIGHT="304"  ALIGN="" TYPE="application/x-shockwave-flash" FLASHVARS="firstname=John&lastname=Doe&urlfin=http%3A%2F%2Fwww.news3online.com%2Fspread.php" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BGCOLOR="#000000" ALLOWSCRIPTACCESS="ALWAYS"></EMBED></OBJECT>
    Just change the FLASHVARS firstname and lastname to what ever you wish.

    ex: FLASHVARS="firstname=Indigorose&lastname=Autoplay

    If you need a little more help, watch the link with your name again and click the movie.

    http://www.news3online.com/index.php...fM5PY636FaV990

  3. #3
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    Thanks Eric for the help...perfect.

  4. #4
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    I don't really understand the difference in application of javascript and action script....is there a way to convert to AS so that all I have to do is embed the file and call the variables up?

    I tried your way on one of my motorcycle forums and it filters the javascript code....I am trying to basically use the same sort of text as YouTube but refer to the swf file on my server and then customize the text, etc.

    TIA.

  5. #5
    Join Date
    Oct 2000
    Location
    Peoria, AZ USA
    Posts
    810
    JavaScript is a scripting language most often used for client-side web development.

    ActionScript is used primarily for the development of websites and software using the Adobe Flash Player platform.

    I dont think there is a way to convert javascript to actionscript. They both have different functions.

    I have uploaded the .swf and a .html file I whipped together to show you what settings need to be done. You can download them here.

    You can click on the flashvarsSample.html and the name will be John Doe.

  6. #6
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    Thanks eric for the extra efforts.....that was great...now I can bypass their spam collector and still have some fun.

    "Baldy" is the creator of this motorcycle forum...

    http://advrider.com/forums/showthread.php?t=361643

  7. #7
    Join Date
    Oct 2000
    Location
    Peoria, AZ USA
    Posts
    810
    No problem at all.

  8. #8
    Join Date
    Nov 2000
    Location
    Las Vegas, Nevada
    Posts
    519
    Yo Eric,

    Thanks for the help with this....I have been customizing this for all my customers who I host their websites.....and, I did this mockup for a buddy of mine. LONG LIVE VIRIL MARKETING. LOL

    http://seanattebury.com/saprez.html

  9. #9
    Join Date
    Oct 2000
    Location
    Peoria, AZ USA
    Posts
    810
    Anytime!!

    Glad to hear your having fun with it.

Similar Threads

  1. Flash and Video
    By CelticDragon in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 09-15-2004, 07:02 AM
  2. Video Skipping over Flash
    By PMHopper in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 12-02-2002, 03:22 PM
  3. HOWTO: Install the Flash Player from a CD-ROM
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 04:05 PM

Posting Permissions

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