Existing 'load external .flv' code?

Recently, I found a great little Flash  project that acts like a jukebox for external mp3 song files, and am using it on my website to play my song demos.
I'm now trying to find if there is an existing solution like that for video.  I just need some way to progressively download video files from my webspace when the thumbnail is clicked... and am now looking into some sort of Flash jukebox.
I've tried just embedding the video files into HTML, but they don't progressively download for some reason (even though they are saved as Progressive With Compressed Header).  I've even tried using prettyPhoto (...a script that mimics a Lightbox like feature, where the whole page dims, and a floating window appears over your site, displaying any media, and allowing you to move back/forth through your list of media)..... works great, but again, not a progressive download, so you stare at a blank screen for a while.
Seems the only way it works is if I have the file on YouTube or some other site, then embed it or use the prettyPhoto app.
So, can someone either tell me how to make the embedded file download (OT, but I figured I'd ask), or point at some existing Flash file that serves as a video jukebox, showing all media on a common window?

Hi,
You can load external .flv files which is placed on your web server. You have to add a small amount of AS3 code into your flash document. Please click on the below link
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html
Please use the sample code which is provided in the bottom of the page. In the code, you will find a line
private var videoURL:String = "Video.flv";
In the above line, instead of "Video.flv", you have to give your webserver path like http://www.domainname.com/foldername/videofilename.flv
(The above code does the progressive download of an video)
You can play the video through progressive download, by click on an image. To achieve that, you need to place the above code inside the mouse click function of an image.
Thanks

Similar Messages

  • Load external FLV files?

    I would like my desktop AIR app (built in Flash CS3) to load
    and play external FLV files which are on the same computer/hard
    drive but are not packaged as part of the AIR app. Is there a way
    to do this with the sandbox restrictions AIR has? If so can you
    point me to a sample or documentation?
    Excuse me if this is an obvious subject but the information
    out there is incomplete and confusing.

    I'm still running into the following: As soon as I test the
    movie, I get the following in the area where the video should
    appear:
    status (0 seconds)
    Level: status
    Code: NetStream.Play.Start
    status (0.434 seconds)
    Level: status
    Code: NetStream.Buffer.Flush
    status (4.898 seconds)
    Level: status
    Code: NetStream.Play.Stop
    It doesn't matter if I click the button or not. The video is
    on my network.

  • NaN with loading external flv

    Hi all
    I'm having some strange diffulties which I can't solve.
    I'm starting off with a website.swf which loads different
    external swf's depending on the button that has been pressed.
    One of those swf's is a file with different buttons to load
    different external flv's.
    While loading a flv a progressbar shows the percentage of the
    loaded part of the flv
    Now: If I play the first video file everything works fine
    While switching to another button to load another flv during
    the loading of the first flv, My percentage says NaN. and stops
    loading.
    On each button I say:
    on (press) {
    stream_ns.close();
    connection_nc.close();
    _parent.videoloader_mc.unloadMovie();
    on (release) {
    _parent.videoloader_mc.loadMovie("movies/binnenkomers01.swf");
    This is the part I use for loading a flv in f.ex
    binnenkomers01.swf.
    stop();
    delete _global.loaded_interval;
    delete _global.connection_nc;
    delete _global.stream_ns;
    delete _global.pctLoaded;
    // video URL
    video1_url = "movies/binnenkomer06_Floriane.flv";
    _global.connection_nc = new NetConnection();
    connection_nc.connect(null);
    _global.stream_ns = new NetStream(connection_nc);
    videoholder_mc.video.attachVideo(stream_ns);
    stream_ns.play(video1_url);
    stream_ns.seek(0);
    // Zet de video op stop om te wachten tot hij volledig is
    ingeladen
    stream_ns.pause();
    _global.playstatus = "pauze";
    play_pauze_mc.gotoAndStop("pauze_lb");
    this.createEmptyMovieClip("progressBar_mc",
    this.getNextHighestDepth());
    progressBar_mc.createEmptyMovieClip("bar_mc",
    progressBar_mc.getNextHighestDepth());
    with (progressBar_mc.bar_mc) {
    beginFill(0xCCE6FF);
    moveTo(0, 0);
    lineTo(300, 0);
    lineTo(300, 23);
    lineTo(0, 23);
    lineTo(0, 0);
    endFill();
    _xscale = 0;
    progressBar_mc.createEmptyMovieClip("stroke_mc",
    progressBar_mc.getNextHighestDepth());
    with (progressBar_mc.stroke_mc) {
    lineStyle(0, 0xCCE6FF);
    moveTo(0, 0);
    lineTo(300, 0);
    lineTo(300, 23);
    lineTo(0, 23);
    lineTo(0, 0);
    progressBar_mc._x = 640;
    progressBar_mc._y = 400;
    this.createTextField("loaded_txt",
    this.getNextHighestDepth(), 0, 0, 200, 22);
    loaded_txt._x = 645;
    loaded_txt._y = 405;
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.color = 0x333333;
    my_fmt.font = "Verdana";
    my_fmt.size = 9;
    my_fmt.align = "left";
    _global.loaded_interval = setInterval(checkBytesLoaded, 500,
    stream_ns);
    function checkBytesLoaded(stream_ns) {
    trace("my_ns.bytesLoaded: "+stream_ns.bytesLoaded);
    trace("my_ns.bytesTotal: "+stream_ns.bytesTotal);
    _global.pctLoaded =
    Math.round(stream_ns.bytesLoaded/stream_ns.bytesTotal*100);
    trace("_global.pctLoaded: "+_global.pctLoaded);
    loaded_txt.text = "loading... "+pctLoaded+"%";
    loaded_txt.setTextFormat(my_fmt);
    progressBar_mc.bar_mc._xscale = pctLoaded;
    if (isNaN(pctLoaded)) {
    clearInterval(loaded_interval);
    } else {
    trace("OK");
    if (pctLoaded>=100) {
    clearInterval(loaded_interval);
    Hope you guys can help me....

    Maybe they have hotlink protection enabled
    "indierockmedia" <[email protected]> wrote
    in message
    news:f3c4mo$ddn$[email protected]..
    > Hi, I am having trouble with some loading issues. I
    design ecards for
    > bands and
    > their tour dates, bio, and video files all load external
    files (text files
    > for
    > bio/tour, flv files for the video, and an swf skin file
    for the video).
    > Its
    > only a problem when I have to embed those ecards into
    sites that don't
    > host the
    > ecard. I have used crossdomain.xml and every fix ive
    read about, and still
    > have
    > issues. Let me detail below:
    >
    > For example, I have an ecard for a band at
    >
    http://bandwebsite.com/ecard/ecard.swf
    > The tour and bio and video files load simply "tour.txt,
    bio.txt,
    > video.flv,
    > skin.swf"). Works great because no external servers are
    being called.
    >
    >
    But when I want to embed the file elsewhere, or use different
    domains,
    > I
    > have issues:
    > I want to embed the ecard on to
    http://www.otherwebsite.com,
    so I can't
    > have
    > it simply call "tour.txt" for example, the ecard will
    think the tour file
    > comes
    > from www.otherwebsite.com/tour.txt. So I call the full
    path
    >
    http://bandwebsite.com/ecard/tour.txt
    > I go to the ecard and click the button to load the tour
    dates. The text
    > box
    > that worked before says "undefined". So I put a cross
    domain file at the
    > root
    > of
    http://bandwebsite.com that
    allows access to files from
    > www.otherwebsite.com. Still getting undefined. I go to
    the embed code for
    > flashobject and have allowscript access to "always".
    Still undefined. I go
    > and
    > add System.security.allowDomain to my timeline and
    specify
    > www.otherwebsite.com. Still undefined. Still won't load
    my video or video
    > skin
    > and text files.
    >
    > Am I missing something?
    >
    > mikey
    >

  • Load external flv as background video and loop

    Hi, I want to have a subtle background video playing behind a slideshow. What's the code to attach a video and have it loop endlessly? Actionscript 3/AS3 only.
    Thanks,

    Updated Help
    My friend is using VB.net to code a koisk. We would like if
    possible to be able to set the background color using the VB.net
    program. to be able to change background to a RGB color using the
    external program. I do not know Flash coding, I only know how to do
    buttons. I am guessing i will need some sort of global varible to
    set this up. Any help would be great
    Thanks.

  • External flv help

    Hi..in the past I've used layers to load videos. On a button,
    one swf with
    embedded video would simply replace the previous one on the
    same level.
    Trying to enter the world of external FLV. I want to do the
    same thing. Load
    external FLV and when button is pushed, have that FLV be
    replaced with a new
    external FLV. I can load the first one but can't seem to find
    out how to
    unload that one and replace it with another when a new button
    is pushed?
    Here is normal code to load and control the first external
    flv off a button.
    Works fine. Now how can I have more buttons that simply
    unload the current
    FLV and replace it with another?
    Thanks so much.
    var my_nc = new NetConnection();
    my_nc.connect(null);
    var step2_ns = new NetStream(my_nc);
    step2_ns.onStatus = function (infoObject) {
    if(infoObject.level.toLowerCase() == "error") {
    // your own error handling code here
    trace(infoObject.code);
    holder_video.attachVideo(step2_ns);
    attachVideo_btn.onRelease = function () {
    step2_ns.play("ballys.flv");
    rewindVideo_btn.onRelease = function () {
    step2_ns.seek(0);
    step2_ns.pause(true);
    stopVideo_btn.onRelease = function () {
    step2_ns.pause(true);
    playVideo_btn.onRelease = function () {
    step2_ns.pause(false);
    close_btn.onRelease = function(){
    stream_ns.close();

    Thanks for the help. I'm not loading the flv into a premade
    component I'm
    loading it into a "holder" so it can appear on the stage as
    just the
    video...it plays in a graphic TV. I want to swap out the FLV
    on the stage.
    Can the
    "Nickels55" <[email protected]> wrote in message
    news:eifigl$rf7$[email protected]..
    > YOu don't have to unload flv's, you just change the
    content path of the
    > FLV
    > using actionscript. Lets say you gave an instance name
    to the FLVPlayback
    > component of vid. This would be the button code:
    >
    > on(release){
    > vid.contentPath = "newfile.flv"
    > vid.play(); //this may also be unnecessary
    > }
    >
    > That's all there is to it.
    >

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • Flash Player 9 pausing on intial load of external FLV

    After upgrading my Flash player to version 9, I get a very
    noticeable pause when loading an External FLV into a custom FLV
    player that doesn't happen on versions 7 and 8. There is a
    buffering/loading animation movie clip that also locks upafter the
    initial call to the NetStream.play method. The longer the video,
    the longer the pause. The video eventually plays but this initial
    behavior is definitely undesired.
    I also noticed that the browser (IE 6.0.2900) itself locks up
    (reports as Not Responding) if you try to resize,move or click on
    the address bar while the unexpected pause is taking place.

    Hi Stylianos!
    Navigate to
    HD > Library > Internet Plug-Ins: In here do you see a file named Flash Player.plugin?
    If so, click on it once to highlight it.
    Depress the Command + I keys, to get info.
    What version does it say it is?
    ali b

  • Will app store approve an app to load external swf containing actionscript code in it?

    Will app store approve an app to load external swf containing actionscript code in it?

    Hi...It is not in the application bundle...it will be hosted on a server and from there it will be loaded in the application. I had created one sample application where it is loading a swf which is hosted on different server. This swf contained some actionscript code on its timeline. This app was working on ipad. I just wanted to know whether App Store will approve this.

  • Loading external swf (no code)

    Hello
    i have a strange issue since update of my app for ios 8: my app is loading external swf (doesnt containing code, its just pdf converted to swf using swftools)
    while its working ok when debugging on device, these external swf don't show up since the app have been accepted on itunes. And i dont have any error message
    what i don't understand is why it's working good with the debug version and not the production version. they are supposed to be exactly the same, and i don't see why it would be a crossdomain or applicationdomain issue. Did somebody experienced the same problem ?
    the thing is its a bit hard to debug, as the prod version isnt firing any message, and the debug version is just fine...:/
    thanks !

    hello
    here is the command generated by flash builder 4.7 (flex 4.13, air 15.0.0.302)
    java.exe -jar D:\SDK\Flex4.13_air15beta\lib\adt.jar -package -target ipa-app-store -provisioning-profile C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\iConfDistri_09102014.mobileprovision -storetype pkcs12 -keystore C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\CertificatsProd_0910214.p12 -storepass <Value cannot be displayed> WeesooMobile3.ipa WeesooMobile3-app.xml assets [email protected] [email protected] Default-Landscape.png [email protected] [email protected] [email protected] Default-Portrait.png [email protected] Default.png [email protected] WeesooMobile3.swf
    i missed the "proloader" part...is it now mandatory to user proloader if loading external swf assets ? is it a normal behavior that the swf can be loaded with the debug version, and not the shop version ?
    thanks for your help. by the way, i'm making a small video to show you the problem,as i'm not 100% sure you understand it in my case

  • Var doesn't work if I load external swf.

    I have a set up with two pages or labeled sections on the main timeline. I brake the code corresponding to actions happening in each page/labeled section. On first page there is a var specified for each button
    var sourceVar:String;
    Then each button uses this var to load a video into FLV player (player itself is constructed in the second page/labeled section).
    function JTV_SatelliteCenterpiece_PlayVideoPopUp(event:MouseEvent): void {
        sourceVar="howto_popups/jtvs18w12_LG30.flv";
        gotoAndPlay("flv_pb");
    where "flv_pb" is the label for the second page/labeled section. On this second page/labeled section there is an FLVPlayback component named "SWF_flv2" which uses this var
    SWF_flv2.source = sourceVar;
    All above works. My problem is that I decided to load externally all the items (image buttons) into the first section. So I saved them as an external SWF file, with all the code in that external swf file.
    Then I link the buttons to section "flv_pb" this way:
    function JTV_SatelliteCenterpiece_PlayVideoPopUp(event:MouseEvent): void {
        MovieClip(parent.parent.parent).sourceVar="howto_popups/jtvs18w07_LG30.flv";
        MovieClip(parent.parent.parent).gotoAndPlay("flv_pb");
    The link to the "flv_pb" section works, which tells me that the set up with "MovieClip(parent.parent.parent)." is appropriate.
    However the code as before with the set up of (still being in the external swf file):
        sourceVar="howto_popups/jtvs18w12_LG30.flv";
        gotoAndPlay("flv_pb");
    works as well, I am not sure why?
    The problem seems to be in the var
    I have an error message 1120: Access of undefined property sourceVar
    It is referencing the code in the second page/labeled section "flv_pb"
    SWF_flv2.source = sourceVar;
    What are my actions?  I kept the code in the external swf file. Should I move it to the main timeline if it is possible? Should I only reference the var in the main time line?
    Should all the code be kept in the beginning of the time line, rather be sectioned into the sections?

    Thank you for your reply.
    Please let me know if all the animation code should be left in the external SWF file (which is being loaded) and all the linkage code on the main time line?
    If so then the code block specifying the link and loading on the botton:
    var sourceVar:String;
    //JTV_SatelliteCenterpiece_btn////////////////////////////////////////////////////
    //event listener//
    howTo_mainInfo.JTVs.JTV_SatelliteCenterpiece_btn.addEventListener(MouseEvent.CLICK, JTV_SatelliteCenterpiece_PlayVideoPopUp);
    function JTV_SatelliteCenterpiece_PlayVideoPopUp(event:MouseEvent): void {
        //MovieClip(parent.parent.parent).sourceVar="howto_popups/jtvs18w07_LG30.flv";
        sourceVar="howto_popups/jtvs18w07_LG30.flv";
        gotoAndPlay("flv_pb");
    Should be left as it is on the main time line or only the function part and event listener put in the external SWF file?
    I tried this way puttin the var and function on the main time line and it brings me to the proper page/labeled section but doesn't load the video.
    In the OUTPUT Panel I have an error message:
    VideoError: 1000: Unable to make connection to server or to find FLV on server
        at fl.video::VideoPlayer/stop()
        at fl.video::FLVPlayback/stop()
        at acolyte46_howTo_Loader_fla::mainsite_mc_2/stopF2()[acolyte46_howTo_Loader_fla.mainsite_mc _2::frame283:49]
        at flash.display::MovieClip/gotoAndPlay()
        at acolyte46_howTo_Loader_fla::mainsite_mc_2/onClick_closeXhowToVideos_btn()[acolyte46_howTo _Loader_fla.mainsite_mc_2::frame283:28]
    Frame 283 is "flv_pb" page/labeled section to where the links properly works but video is not being loaded?
    Same code perfectly worked without any error message before I moved things into an external SWF file.
    I am also confused why both ways are working out of the loaded SWF file:
        MovieClip(parent.parent.parent).sourceVar="howto_popups/jtvs18w07_LG30.flv";
    and
        sourceVar="howto_popups/jtvs18w07_LG30.flv";
    shouldn't only one be the correct one?

  • Loading from library conflicts with loading external swf

    I'm very new to ActionScript, so this might be incredibly basic. However, I've Googled and read myself into a coma and I'm not finding a solution.
    I have a movie with 6 navigation buttons.  Four of them load external .swf slideshows, and they work fine - as each file loads, the previous one clears the stage, etc.  The other button that I currently have set up is loading, from the library, an image.  The problem I'm having is that the slideshows replace each other on the stage - they're not stacking, they're replacing - but when the user selects the button that loads the image, the image overlays the last-selected slideshow.  If the user selects the image first, the image is visible when two of the external files transition.  Because of that 6th button, which is not yet even started, it's not desirable to me to simply set up the single image as another external file; if it's at all possible, I need to be able to pull from a library file when I build that last button.
    What I'd like to do - because there is no logical order that the buttons should be selected in - is figure out how to tell every button to remove the image file on click.  I've tried using this in the four buttons that link to the slideshows, to deal with the image (that's the one called quoteImage):
         if(myLoader != null && contains(quoteImage)){
            myLoader.removeChild(quoteImage);
    which has the advantage of not giving me any errors, but doesn't actually fix my problem.  I've tried many, many other things, and I'm just really stumped on what exactly I need to do to make this work the way I want it to.  Based on the fact that the books and online resources I've been using don't really cover this specific example, I suspect it might be an incredibly idiot thing to do, but I'd really like it to work this way if that's possible.
    The code as it stands, with the global variables and the first two buttons (the next three are identical to the second button and the sixth button doesn't exist) looks like this:
    var myLoader:Loader=new Loader(); 
    var quoteImage:Bitmap;
    stop();
    // Loads quoteImage from library
    btnQuotes.addEventListener(MouseEvent.CLICK, showquote);
    function showquote(event:MouseEvent):void {
    var myBitmapDataObject:myBitmapData = new myBitmapData(500, 350);
    var quoteImage:Bitmap = new Bitmap(myBitmapDataObject);
    quoteImage.x=150;
    quoteImage.y=180;
    addChild(quoteImage);
    // Loads industrial.swf from external file
    btnIndustrial.addEventListener(MouseEvent.CLICK, showindustrialcontent);
    function showindustrialcontent(event:MouseEvent):void {
    var myURL:URLRequest=new URLRequest("industrial.swf");
    myLoader.x=150;
    myLoader.y=180;
    myLoader.load(myURL);
    addChild(myLoader);
    Help is very much appreciated.

    I see now how to import and display a library class object
    using:
    var MovieClipClass:Class =
    Class(loader.contentLoaderInfo.applicationDomain.getDefinition("myLibraryAsset"))
    var movieClip:Sprite = new MovieClipClass();
    addChild(movieClip)
    But this seems to only work for SWF's published for AS3 Flash
    Player 9.
    I need to do the same for SWF's published with AS2 Flash
    Player 7.
    Any ideas?

  • Loading external video flash site bug

    I’m having issues with the loading external video method in acitonscript 3.0 book by todd perkin.  The issue is about the lesson on page 308 in ch 11.
    The above screenshot of the lesson file.
    My site:
    The following is the actionscript for controlling the flv(ignore my notes):
    /*code for putting external video on page*/
    var videoConnection:NetConnection = new NetConnection();
    videoConnection.connect(null);
    var videoStream:NetStream = new NetStream(videoConnection);
    /*comp vs abom video link*/
    videoStream.play("CompVsAbom.flv");
    var video:Video = new Video();
    video.attachNetStream(videoStream);
    addChild(video);
    var metaListener:Object = new Object();
    metaListener.onMetaData = onMetaData;
    videoStream.client = metaListener;
    function onMetaData(data:Object):void
                /*link funct*/
                play_cva_vid.addEventListener(MouseEvent.CLICK, play_Cva_vid);
                stop_cva_vid.addEventListener(MouseEvent.CLICK, stop_Cva_vid);
                /*btn backs up to techno toy sect*/
    back_techno_toy.addEventListener(MouseEvent.CLICK, techno_toy_back);
    function techno_toy_back(event:MouseEvent):void {
                gotoAndStop(36);
                /*back btn should be under function.*/
    /*link funct*/
    function play_Cva_vid(event:MouseEvent):void
                videoStream.play("CompVsAbom.flv");
    /*link funct*/
    function stop_Cva_vid(event:MouseEvent):void
                videoStream.pause();
    This is the only thing that crashing my site.  The load external video methods nice but if I can’t make practical use of it, its useless.  Any actionscript gurus out there know a solution to fix this problem?  Your help would be much appreciated.  Btw, the fla and the flv are in the same folder.

    To reposition video you just need to change its x and y:
    video.x = [Number];
    video.y = [Number];
    Also, you should take advantage of onMetaData and resize the video to it doesn't have black box around it.

  • Load external list

    Hi experts,
    I'm trying to load external list with web client marketing tool. I managed to load external partner but I have an error when I try to load a BP of an address that does not exist in the system.
    What can I do to load a BP without addresses verfication?
    Thank you.

    You have created one mapping format for loading the list.
    Implement the BADI: CRM_MKTLIST_BADI and it has got different methods to check and load for business partners.
    debug and change the code as per your requirement.

  • Someone have a working solution for external flvs?

    I've been going around in circles for a week on this one.... trying several different methods, all of which have issues.
    All I want is this....
    I have an HTML page that has movs or flvs embedded which don't load until you click on play... and when you do, it does a Fast Start type of thing, where it starts playing once it has enough of a head start....
    I've tried seemingly everything...
    -Mov files exported from AfterEffects (as Fast Start), embedded in the HTML....  Doesn't Fast Load for some unknown reason.
    -Using prettyPhoto (Lightbox-like app) with Fast Start mov's ...  Doesn't Fast Start.
    -Using prettyPhoto (Lightbox-like app) with flv's ...  Doesn't appear to do .flv's.... Only .swf's.
    -Using a variety of codes found online for embedded mov's....  Still doeesn't Fast Start.
    -Using a variety of codes found online for embedded flv's...  Either flat out doesn't work... has errors... or requires 'free' flv players that are not free if you use them commercially (as I would be).
    Lastly, I tried 'playing back external flv files dynamically' (from the Adobe Flash CS3 manual.... which I ended up getting to work (and although I can't tell if it's Fast Starting, it certainly loads and plays fast enough, and probably is.... You just don't see the load bar, so it's not entirely obvious if it is).
    That's all good... but the sample code from the manual has some issues...  Namely, no controls.  So, I put in a 'Play' button on frame one, and have it jump to the video object (frame 3) when you click the button.  That's fine.... but the problem now is that there is no way to restart the video once it's played (or pause it while it's playing, restart half way through, etc).  I can't just put in a 'Play Again' button at the end, since the FLV is loading externally, so I don't have an actual timeline for the movie clip to put any code on, to happen at the end of the video.
    Does anyone have ANY EASY, WORKING solution to give me a thumbnail gallery of videos which you can click on and view, where the clips do NOT load until you click play, and when they load, they play as soon as they have enough of a head start?  It can be .mov or .flv....
    Sorry, I've just spent a week going around in circles for what seems like a simple task here....  I need a complete, working solution.... code and explanation.
    Can anyone help out?  (I have the AfterEffectsCS3, FlashCS3, and Vegas running on an XP Pro PC)

    For those following along, I found that Adobe Flash CS3's FLV Player component works well, and is FAR less complicated than all the other solutions I found.  I'm still working on getting it to behave exactly as intended, but it's definitely the easiest and most successful solution so far.
    At this point, I have the embedded clips that display right away (despite not being fully loaded)... so you don't have blank spots, like non-progressive clips would do while they are loading.  They also allow you to hit play even while they are still loading.  So, all that is very good...  The only issue now is the clips download regardless of whether you hit play or not... so all clips on the page will be downloading when you enter the page (causing a possible bottleneck, plus downloading all that data, regardless of whether it's needed or not).

  • Unable to load external swf which has runtime sharing with another swf.

    Hi,
    I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like
    ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not be found.
    at global$init()
    In the external swf "importer.swf", i am trying to import the symbol "testSymbol" from another swf file say "exporter.swf", which exports through runtime sharing option for the symbols.
    I am having some buttons in loader.swf file and on each button click i am loading different swf files into the loader.swf after unloading the previous one.
    I am able to load and unload different swf files but unable to load the importer.swf file which is sharing symbols from external swf and that too for the second time i.e., when i click the button twice.
    When trying to debug with flash debugger, all the other swf files are being unloaded before loading of another swf but the swf which is sharing symbols/classes with another swf is not getting unloaded.
    Output when i am trying to load two files example and importer files into loader.swf file on two different button clicks. On first button click example.swf is loaded. On second button click , example.swf is unloaded and importer.swf is loaded which is successful. On first button click again importer.swf is unloaded and example.swf is loaded. On second button click again, example.swf is unloaded and importer.swf is loaded, here i am getting issues shown above.
    Attemping to launch and connect to Player using URL D:\runtime issue\loader.swf
    [SWF] D:\runtime issue\ loader.swf - 8181 bytes after decompression
    [SWF] D:\runtime issue\example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    [SWF] D:\runtime issue\importer.swf - 441708 bytes after decompression
    [SWF] D:\runtime issue\ example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\ example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    ReferenceError: Error #1065: Variable xxxxxx is not defined.
    Debug session terminated.
    Code i am using
    b1.addEventListener(MouseEvent.CLICK, b1Clicked);
    b2.addEventListener(MouseEvent.CLICK, b2Clicked);
    var ldr:Loader;
    function b2Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("importer.swf"));
        addChild(ldr);
    function b1Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("example.swf"));
        addChild(ldr);
    If i try to open the swf using IE, i am not getting any issues at all. But i need to open this loader.swf in a air application. Also when i use loaderContext for the loader instance i am able to get rid of this issue but i cant use it in my application.
    So, please help me in resolving this issue.
    Thanks

    I got my answer. I had to append the photo url to the 'movie' value of the javascript embed method. Like this:
    <script language="JavaScript" type="text/javascript">
       AC_FL_RunContent(
          'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
          'width', '550',
          'height', '400',
          'src', 'lesson2',
          'quality', 'high',
          'pluginspage', 'http://www.adobe.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'lesson2',
          'bgcolor', '#ffffff',
          'name', 'lesson2',
          'menu', 'true',
          'allowFullScreen', 'false',
          'allowScriptAccess','always',
          'movie', 'lesson2?photo=http://www.flash-mx.com/images/image1.jpg',
          'salign', ''
          ); //end AC code
    </script>
    Thanks,
    srb.

Maybe you are looking for

  • Greyed out edit commands

    I have Soundtrack (not Pro). I have split and deleted many segments of an interview (voice) recording and would like to "join" some segments back together. I've highlighted both segments but cannot get the Join command to turn black so I can execute

  • How do i import a PDF in to Pages to edit it

    Im running my business from my ipad now, and im wondering if there is anyway to import a PDF file that i have received via e-mail in to pages so i can edit it?

  • PDF to XML converter

    Hi, Can somebody pls provide me software for PDF to XML converter. Thanks, Nikesh Shah

  • XI Run Time Error

    Hello.. I'm getting error in SXI_cache Error is "error during last attempt to refresh cache" Can anybody help me..

  • Optimizing iTunes Sluggish Performance/Large Library...

    Is there any way to get better performance out of sluggish iTunes when it has a large library of 100+gigs? Everything is moving as slow as molasses. Even when updating/correcting text on song files. Could one use or create two libraries to optimize i