Need help with Flash Action Scripting...what did I do wrong? ( 2 Views )

no kitty!
  1. SOLVED - Turns out it had to do with relativity of files referenced within the action script itself...whoops :)

    So I'm trying to put together a self contained video player/video library for my daughters website so that family far and wide can easily watch video clips that I have taken with my digital HDD camcorder and I figured that Flash would probably be the best way to do it for me. I have a little prior knowledge in basic Flash animation and stuff but nothing much in action scripting so I went to the web for help.

    I found THIS TUTORIAL for pretty much exactly what I was hoping to build for my own site so I used it and built the exact thing the tutorial walks you through. It was glorious...behaved exactly the way I wanted with the open ended capabilities that would make it extremely easy to maintain and update and add videos to the site without continually having to work in Flash and recompile my swf file over and over.

    Problem is, when I uploaded it to the web server the "playlist" that I had built into player according to the tutorial doesn't show up...which means the only video you can watch is the first in my playlist with no hope of watching any others. The thing I'm not understanding is that when I access the exact same files on my local hard drive the player works perfectly! Why is it that on the remote server it can't load the playlist?

    Is anyone familiar enough with action scripting to give me some ideas? I'm actually very excited about action scripting now that I've got my feet wet but while I'm trying to learn it myself I would at least like for this example to work properly in the meantime...

    BTW for sake of argument the page I uploaded the player to is at SOLVED REMOVED

    (ramazan, Djibouti)

  2. Can't offer too much help without seeing some code. The only thing I can think of right now is the XML file path is incorrect. (Although that wouldn't explain why the first video shows unless you imported that in the AS prior)

    If you post the XML and AS code, I can help you better.


    *Also, another way is to use SWFObject (http://blog.deconcept.com/swfobject/) to manually pass in the file path as a variable into contentPath from a href onclick event. This requires use of Javascript however.*

    (fatih, Serbia and Montenegro)



Related Topics ... (or search in 1.720.883 topics !)

need help with flash action scripting...what did i do wrong? (2)
flash action scripting (7)
flash action scripting, php and mysql (3)
getting to the next level of action scripting (3)
3ds max action scripting (4)
my1stpost...action scripting question:how to play 52 frames then gotoandplay an item (4)
linux shell scripting (sorry if wrong forum) (5)
scripting in flash (2)
flash and scripting?? (8)




copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
1.4523