Flash Video Gallery Problem

Hi All
I am developing a video Gallery in AS 3.0.
* I am providing thumbnails and XML is loading external FLvs
in those thumbnails .
* The user can either double click or click and drag
thumbnail to play the main video above the particular line.
* I am calling external SWFs in the UIloader component for
playing the main video. That UIloader will be called when the user
either double clicks on thumbnail or click and drag the thumbnail.
* Also user can drag the main video wherever he wants, and
he can drop the main back to the thumbnails too( which will unload
the video player).
My problem is that everything is working fine when i run the FLA
file, but when i closed my application and try to run the
individual SWF file, the file does not work ( its just
crashing).
There are no frames I am using so that's for sure that i did
not forget to put stop frame.
All of my code is in the main time line and I haven't used
any custom classes yet, which means everything is in the actions
window.
Am i using the right tool for such a big application? Should I
switch to FLEX for compiling this file. i am not that familiar with
FLEX working environment too.
Please help me out what i am doing wrong and i apologize that
I could not mail you the code because the file is very very big.
Also if any better tool is available for this please let me
know.
Any kind of help will be highly appreciated.
Thanks a lot
Anuj

Interesting problem.
I thought initially that this could be easily solved with Action Sequences on the imported SWF file.   Action Sequences will control the visibility, play(), stop() and go to frame, it doesn't stop the audio that has already started playing in the imported SWF.
I worked around this by
placing an empty frame "0" in my Flash .fla with SoundMixer.stopAll(); in the ActionScript - then reoutput the SWF
Imported the SWF and then set an ActionSequence to go to Frame 0 and Stop when I exited the state where I wanted my SWF playing
Also set an ActionSequence to go to Frame 0 and Play when I wanted my SWF to start playing again
See the source .fla and .fxp here: TestingSwfSoundStopStart.zip
Best wishes,
Tanya

Similar Messages

  • Flash Video Gallery – link to specific video upon launch

    I saw this question asked before when first doing a search on
    this topic, but have yet to see any replies, let alone any that
    work.
    How can I link from within a web page to a specific video
    that is contained within a modified version of
    Adobe's
    Flash video Gallery tutorial?
    When a user clicks on a link that says "View Dr. Jones
    Lecture", I want the Flash Video Gallery to launch with Dr. Jones'
    video loading and playing immediately. As it stands now, the video
    player just wants to wait until someone locates and then clicks on
    the video of their choice WITHIN the video player itself. That is
    fine if a generic "Launch our Video Gallery" link is clicked, but
    not if the user is expecting a specific video to play.
    Any help is very much appreciated.
    Cheers!

    I normally don't like "bumping," but I am still looking for a
    solution to this problem. Thank you in advance.

  • Flash Video Gallery Add more thumbnails

    referring to the Flash Video Gallery , If I had more than 36
    thumbnails and did not want to increase the space marked out for
    the
    thumbnails.. and Instead wanted to have a new set of images
    load, jus like in a picture gallery when we click on more... What
    would I do?? The ability to have next and prev to load the
    thumbnails is what I am tryin to achieve. I have gone through all
    of the .as files.. but how to I integrate this feature??
    I am a beginner and and need help.

    Here is a good round up of video galleries:
    http://www.lemlinh.com/as3-video-player-tutorials-roundup/
    Also google it for more.

  • ActionScript 3.0 Flash video gallery Tweak

    Hi,
    Is there a way to remove the 2nd filter option on the
    ActionScript 3.0 Flash video gallery ?
    Sadly our coding guru is away on holiday and we need to try
    and find a solution asap.
    (commenting section out etc just makes it fall over)
    Any help would be most appreciated.
    Cheers,
    Andrew

    To do it in AS2 you need just install the remoting classes again. You can either copy them fro your old install or get them:
    http://drupal.org/node/258605
    Scroll down a bit and you'll see a link to the as2 remoting classes: Remoting_FlashCS3.zip
    In AS3 there are a few ways. Some people have made classes for it, or you can use the built in methods of NetConnection. Here's a couple examples of that:
    http://www.oscartrelles.com/archives/as3_flash_remoting_example
    http://www.flash-db.com/Tutorials/helloAS3/

  • Flash Video Gallery

    Hi,does anyone know how to make a Flash Video Gallery that I can add new videos dynamically? just like how XML photo gallery works? Thanks.

    Here is a good round up of video galleries:
    http://www.lemlinh.com/as3-video-player-tutorials-roundup/
    Also google it for more.

  • Flash video image problem with newest nVidia driver

    I've got a very weird display error since the last update. Basically, whenever I play flash video and afterwards close the browser (chromium), any purely black surfaces will display the full flash player image. The effect is only visible in the "first" window of a xmonad tab, that means if I cycle the window positions it will be in a different window. The others are not affected. When I restart X, I can see the flash video image flashing up shortly on the black screen. Restarting X fixes the issue. I cannot take any screenshot of the problem because the error is NOT visible on the screenshot. Therefore I suspect that some frame buffer used for the flash player is not getting cleared properly after exiting the browser, but it's really little more than a wild guess.
    As there are multiple components involved, I'm at a loss of where this might be coming from. I hope someone might be able to shed some light on this situation. Please post here if you have the same problem or have any idea why this happens!
    My setup:
    -nvidia 260.19.36-2
    -flashplugin 10.2.152.27-1
    -chromium 9.0.597.94-1
    -xmonad 0.9.2-1
    -xmonad-contrib 0.9.2-1
    Last edited by Natanji (2011-02-15 11:33:11)

    Natanji wrote:Thanks, that seems like it helped. So this is a flashplayer bug? Was it already reported?
    if you asking about a bug reported on arch linux bugtracker, then you are doing it the wrong way.
    flash and nvidia are closed source, we can't do anything. A better place is to submit bugs to nvidia and adobe.
    Now i see that nvidia 270.26 was released. Maybe you want to check that out:
    http://www.nvnews.net/vbulletin/showthread.php?t=159683

  • Flash & xml gallery problem

    i have a flash & xml gallery source. whatever click the
    thumbnails, opening first image. where is the problem? i need help,
    please...
    Flash & Xml
    Gallery

    then that's a problem. sometimes your cookie may loaded
    sooner than the needed frame in your swf and when you try to go to
    a frame that hasn't been downloaded, the swf will stay on frame 1.
    i assume you already have a stop() on frame 1 and you check
    the cookie's value before proceeding. in addition to waiting for
    the cookie to load, you should wait for the needed frame of your
    swf to load.
    so, if you're not using a loop now to check for your cookie,
    you'll need one for your swf to check its _framesloaded property
    before advancing the timeline.

  • Snapz Pro to Final Cut to Flash Video - Resolution Problems

    For my student job I'm supposed to make web video and I have a guidebook that explains how to do it. However, I have found some problems that have screwed up some things.
    So I have captured video from Snapz Pro and I did this by setting the display resolution at 800x600 so that text can be readable. Now I set my selection capture at the same setting so that my final .mov file is 800x600 with good readable text.
    The issue is when I get into FCP HD 4.5!
    My final output is 480x320 MPEG-4 for flash video.
    My guidebook tells me to set the sequence setting to 480x320, square pixels and MPEG-4 Video.
    The problem is that when I bring in the 800x600 .mov file, I have pixelation problems and the video quality is markedly decreased.
    I haven't been able to figure out the best approach but I need to change something for sure.
    Any tips or ideas?

    You in the same class with Timothy Mosbach by any chance?
    Anyway, Timothy and I went through this exact issue in this thread:
    http://discussions.apple.com/message.jspa?messageID=3493859#3493859

  • Flash Video Playback problem in CS4/CS5

    I need to put a Flash Video on my website, embedded in one of the existing html pages.
    When my developer puts together a Flash Video in Flash CS4 or CS5 using ActionScript 3, the video does not play - t just keeps buffering (showing a striped appearance on the seek bar) and will not play unless I refresh the browser.
    I've tried copying the code from the html page that came with the set of swf and flv files and that doesn't work either.
    Just inserting the swf file into the web page like we used to do in CS3 and earlier does not wor.
    I noticed that now with ActionScript 3 there is no ACRunActiveContent.js file.
    Videos created using CS3 and ActionScript 2 seem to work just fine on web pages.
    Wonder what i can do to use CS4 and CS5 videos and have them play on html pages?
    Any ideas anyone?

    Just to clarify:
    Creating a Flash Video swf in CS5 (or even CS4) with ActionScript 3 requires the video to be embedded in the web page a bit differently than we were used to with CS3 and AS2.
    While the newer versions of Flash do use a different method (using swfobject) when "Publishing" a Flash .swf, it is NOT required to do so. In fact neither swfobject nor ACRun... are required to display Flash of any version (AS1, 2, or 3) on a Web page. The simple single object method will work just fine:
    <object data="path_to_file/file.swf" type="application/x-shockwave-flash" width="insert_width_of_movie" height="insert_height_of_movie">
      <param name="movie" value="path_to_file/file.swf">
      <param name="SomeOtherParam" value="ParamValue">
    </object>
    Both ACRun and swfobject are "Flash Detection" methods used to display some alternative content if Flash is not detected... they are NOT needed to simply display the Flash .swf.
    However, you can't use half ACRun code and half swfobject code....it must be either one or the other... and either would display AS3 players just fine.... as would the single object method.
    Best wishes,
    Adninjastrator

  • I'm sooo close I can feel it: Flash Video upload problem

    Hello all,
    I searched this topic and found plenty of articles but most were unanswered.
    Issue: I can play a flash video locally in dreamweaver MX by pressing F12 but not when I upload it to the server.
              The site below shows that only the player controls show but nothing else.
    Here's the Site:
    http://www.servicetoself.com/landing_pages/itsnotweightloss/itsnotweightloss.htm
    Note: I uploaded all files that were created with Adobe flash into the site folder of the specific page  (not the root directory of my site) including
            1. The swf (which works fine when i double click on it)
            2. The AC run active file
            3. the fla file
            4. the htm (created by adobe flash)
            5. the flv file
            6. the skin control file
    These files are all in the path servicetoself/landing_pages/itsnotweightloss both locally and on the server
    My Idea: It seems as the the swf file may not be pointing correctly to the flv. I found in other posts that I have to put the URL into the swf but have no idea how to do that. I don't see a "content path" parameter in the component inspector and have no idea how to get to it. but maybe this isn't what I need to do to fix it.
    Any help would be greatly appreciated

    Select the FLVPlayer component on the stage. Open the Component Inspector window.  In the Parameters tab the Content Path will be the fifth item down the list. Alternately, in versions before CS4, you can use the Parameters tab in the Properties window and find the same Content Path.

  • Flash Video Framerate Problem in CS5

    I just upgraded from DW CS3 to CS5.
    After inserting an .flv on a page, on previewing the page with IE, it looks like the framerate is about 15 fps instead of 30 fps.
    If I open the page in CS3 and insert the video, it previews at the normal frame rate and looks great.
    I am, unfortunately, an HTML illiterate, and have scraped by for years using only design mode.
    I would definitely appreciate any thoughts on this problem.
    This particular site has a lot of video content, so I need to solve this or it's back to CS3 for me

    How do you know that the fps is 15?
    As for a 40 min video being 600MB, that means that "roughly" the video bitrate is 2000kbps (2Mb/sec).
    Unless you are just targeting very high-speed Internet connected viewers, that's WAY out of the ballpark for many viewers.
    I'd suggest testing first at a much lower video bitrate (500-1000kbps).
    Typically Web video problems are related first to too high a video bitrate and only under certain situation, the length of the video. Non the less, it's still a good practice to keep the videos at a reasonable length. It's also important that your media player be able to stop the video file download if you "stop" the video, to prevent the viewer from having to (unwittingly) downloading the entire video file, even if the viewer does not view the entire video. Test some of the players suggested.. but use THEIR suggested code for placing on the page.. not DW.
    There should be nothing in DW that changes the fps of a video....period. If there is, then it's because something is broken.
    So skip the DW supposedly automagic insert code and code it in by hand, which is probably a better idea anyway (and this comes from a dedicated DW user!)
    I'd suggest using swfobject to place your Flash on the page instead of any code that DW suggests. swfobject not only provides for Flash detection, but allows you to provide alternate content for viewers that may not have the Flash pluggin... like the iPhone.:
    http://code.google.com/p/swfobject/
    so you can play Flash on the iPhone....well sort of...
    http://www.cidigitalmedia.com/tutorials/qt/play_qt.html
    Best wishes on your project!
    Adninjastrator

  • Flash video component problem

    I used Flash CS3 to create an .swf that links to a .flv and
    plays in a video component. When I upload it to my website created
    in Dreamweaver MX, the video plays, put the component does not
    appear.
    My question is this: Is the Flash CS3 video component
    compatible with Dreamweaver MX?
    thanks,
    JMH

    Have you tried adding a "trace" message to let you know when cue point is reached?
    Have you tested the functions separately to varify that they work?
    Also I wonder about using
    if(evt.info.name == "01CreditIn")
    The .info part...
    Here's a working example that on a certain "event" type cue point, fires a trace message and then loads a second movie
    ns.onCuePoint = function(evt:Object){
        trace(evt.name);
        trace(evt.time);
        if(evt.name == "play_vid1") {
            trace("YO!Loading wide_holder!");
            wide_holder.loadMovie("rm/images/black_bear.swf");
        if(evt.name == "play_vid2") {
      trace("YO!Loading standard_holder!");
            standard_holder.loadMovie("rm/images/sqis.swf");
    Perhaps you can glean something from this.
    Best wishes,
    Adninjastrator

  • Flash & Dreamweaver gallery problem

    Hey guys,
    I am helping out a friend that I can't let down and I am afraid I may of bitten off more then I can chew.
    He wanted me to put up all his fashion shots on a webpage and it is proven harder to combine the flash gallery with html then I thought.
    Take a look at : http://williamvintage.atwebpages.com/site/
    I want to center the gallery in the middle and have it so that it looks like one white square, which will be centred in the middle of the page.
    I sliced up the white background and deleted the middle part thinking it would work, but it has not. I tried placing the gallery on top of the white background with a table, but that didn't work and because the flash gallery enlarges the pictures when clicked it needs more room then the size of the galley it's self.
    I used this Gallery and modified the code to suit my needs. I have included the link if that helps : http://www.freeflashcomponents.net/flash-galleries-slideshows/html-xml-image-grid-as2.html
    I have to have this completed and uploaded by this monday so if you could help me out asap that would be great.
    Cheers.
    Dale.

    You need to specify the correct path/name for the swf file...
    fl_Loader_2.load(new URLRequest("player_black"));
    does not do that.  As a minimum it should have an ".swf" at the end of the file name, as in "player_back.swf".
    Any time you get error messages, you should include both the complete error messages and the relevant code in your initial posting.   It can help get to solving think more readily.

  • Flash cs5 gallery problem...

    Hello I have made a website and a gallery both in seperate files. I made the gallery in fireworks cs 4 (as2), and the website in flash cs5 (as3).  When I imported the gallery.swf to the library it just shows the outline of the gallery (picture1) with no pictures or even the menu just the outline. Could anyone please help me out in this matter?

    You need to specify the correct path/name for the swf file...
    fl_Loader_2.load(new URLRequest("player_black"));
    does not do that.  As a minimum it should have an ".swf" at the end of the file name, as in "player_back.swf".
    Any time you get error messages, you should include both the complete error messages and the relevant code in your initial posting.   It can help get to solving think more readily.

  • AS 3.0 Video Gallery adaptation

    I'm creating a site which utilizes an adaptation of Dan
    Carr's Flash Video Gallery (AS 3.0). And it functions properly when
    I test it locally on my machine, but once I upload it to our server
    it doesn't load the video galleries. ...well, it appears to load
    the galleries, because it goes to the second frame of the Flash
    Video Gallery SWF where the video application is, but it won't load
    my thumbnails or video and the loader stays on screen.
    The site consists of:
    1- main SWF that is my interface
    1 - dynamically loaded SWF digital clock (uses AS 2.0)
    4 - dynamically loaded SWFs that are each separate instances
    of the Flash Video Gallery
    Like I said it works fine when testing it locally, but it
    doesn't seem to work online.
    The file structure remains the same on the server as it was
    on my local machine, so I don't think it's a problem of finding
    files and I don't receive any errors when testing.
    Any help would be great.
    The other problem that I'm having is that when I test the
    application locally the fullscreen button on my videos won't work.
    Is this because it is a dynamicaly loaded SWF nested into the main
    SWF? If I load the Gallery SWF into it's own browser by itself the
    fullscreen function works fine, but not when it's loaded into my
    main SWF.
    Can somebody help with this as well?
    Thanks,
    Matt

    I had the same problem. Dan Carr was kind enough to send a
    reply. Here it is:
    quote:
    Getting stuck on the loading screen is a symptom that may
    happen for a number of reasons.
    The loading screen sits above the gallery and obscures the
    screen while the thumbnails and screen assets are loading. The
    loading screen stays in place until all the video thumbnails have
    loaded - so what you're seeing is an issue where 1 or more of your
    videos isn't loading.
    Most commonly this is because the server isn't recognizing
    the FLV mime type or one or more videos didn't get uploaded to the
    path listed in the XMLfile. (Actually, the first time I saw
    something like this it was because there were spaces in the video
    file names - local playback worked as expected, but my server was
    URL-encoding the file names which replaced the spaces with
    different characters and broke the expected paths...)
    I'd recommend that you do the following... In the FLA file,
    select the white rectangle graphic on the "Preloading" layer and
    make it invisible by turning its alpha to 0. This will allow you to
    see which videos are not loading on the server. If none of the
    videos load, this would hint that either the server isn't seeing
    the FLV mime type, the XML file isn't loading, or there is a global
    problem with file naming. (If you see all the labels on the
    filters, you know the XML file loaded.) If most of the videos are
    loading, look for the specific problem videos and check to see that
    the naming is correct and that the files were uploaded to the
    correct location.
    My own issue, as Dan suggested, was that FLV wasn't
    registered on the server.
    Hope this helps others.
    Paul

Maybe you are looking for