TwelvestoneFlash

loading mp3's and an image into the same flash player


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
derrickito
 
2008-09-23

this may be an easy one... but im having a fuck all of a time finding some documentation on how to (or if it's possible) do this. i have a flash video player playing a video. fine, no problem there. and i have it playing audio only mp3's, fine as well.

trouble im having is that i want to specify an image to be played if an mp3 file type is selected so that the user can see something in my dual use playback window when they are listening to audio. better yet, i want a specific image to be called with each audio file called

anyone point me in the direction of somewhere filling in the blanks on this issue for me? using AS3, but willing to look at as2 examples if you know of any

my search strings so far have been less than helpful

Storm
 
2008-09-23

are you calling the video or the mp3 from different sources or are they all mashed as one list in one UI element?

my thoughts are if you are calling mp3s specifically, load an empty MC above the video player and attach the JPEG into that and clear it when you load a video file.

got the UI online we can check out?

ideally, you'd have everything listed in XML and could send different attributes right in the xml file that your code could call an image from the xml or bypass it if your video node had no image listed.

derrickito
 
2008-09-23

i always seem to solve these problems by the time i come back and reload twelvestone.

im feeding the info in via xml, into a tilelist component (which my next thread will be about)... i was hesitant to put the image in a clip above the player because i have some ui buttons and descriptions loading up on top of the player (much like vimeo.com does)... i think i just got a working solution to put the image in a clip behind the player, and have the bulk of the player transparent on top of it.

thanks for the quick reply storm.

im going to have another related question about some tilelist component problems in a minute, ill make another thread about that. ill post files and urls and better details on it.

thanks

Storm
 
2008-09-23

obviously I was too damned slow......

glad you got it fixxered

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

loading mp3's and an image into the same flash player