Loader Component SWF Audio

How can I regulate the volume of an SWF that I load through a
loader component? I am loading several SWFs, each has its own
audio, so it's producing a cacophony of sound. I've already tried
stopAllSounds(); and no luck.
Any ideas? Thanks!

Hi,
Goto following link, will help you
http://ryangoodman.net/blog/index.php/2008/02/14/adding_a_pre_loader_in_xcelsius_dashboar
http://help.sap.com/businessobject/product_guides/xcelsius2008SP3/en/Xcelsius2008_FP3.1_release_notes_en.pdf
http://saptechblogsxcelsius.blogspot.com/
-Obaid

Similar Messages

  • Is this a bug? loading component swf with MovieClipLoader

    Guys, one wierdarse 'bug?' for you.
    I have a swf created in Flash 8 Pro, published to Flash 7
    with AS2.0 which contains just a selection of components dragged
    from the standard library (date chooser, date field, combo bog,
    radio button ,number list etc)
    This swf is then loaded dynamically into a second fairly
    straight foward swf - created in Flash 8 Pro, published for Flash 8
    with AS2.0 using MovieClipLoader
    The error:
    When the first component is run on it's own, in flash, in
    html etcetc all components work fine.
    But when loaded into the 2nd swf all components work fine
    APART from those containing some type of popup class (i'm guessing
    here as don't know the inside of the components)
    The two i've encountered which don't work are : Date field -
    the click of the button, and comboBox
    boxth of which ar eactive as they highlight in the standard
    Flash green - so are active but do nothing when clicked.
    so HELP, anyone know why, know a fix, has any idea what's
    going on.
    regards, Rich

    The components you're having trouble with create their popup
    ui in _root.
    For example, the list part of the ComboBox is created in
    _root. But if _root
    doesn't have the necessary assets in its library, that part
    of the component
    cannot be created. In your case, you can either add all the
    components to
    library in your topmost movie or use _lockroot to force the
    popup parts to
    be created in the loaded movie.
    Example:
    this.createEmptyMovieClip("components_mc",
    this.getNextHighestDepth());
    var lo:Object = new Object();
    lo.onLoadInit = function(target_mc){
    target_mc._lockroot = true;
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(lo);
    mcl.loadClip("components_mc.swf", components_mc);

  • Loader component loading swf bigger as it is?

    Im loading second.swf in main swf using a loader component,
    second swf is has a stage size of 800*85, i load it in a
    component with the same size, and scaleContent = true
    This goes wrong, after investigating second.swf it actualy
    has a stage size but some components on the size like a textfield
    goes beyond the stage (which is necesarry to be able to load enough
    text in it (it starts scrolling then to be visible on stage), when
    i test second.swf, i get a 800*85 swf.
    But when i include it in an other swf and autoscale it, it
    seems like flas includes the objects outside the stage from
    second.swf to do the scaling.
    Ideas to avoid this fenomenon ?

    the loaded swf will include objects that are off-stage. it
    wouldn't be satisfactory if those objects were "omitted".
    if you want second.swf to appear the same in main.swf,
    main.swf will need to have the same stage size as second.swf or
    you'll need to mask second.swf's target to make it appear the
    same.

  • .swf Loader component

    Could someone kindly explain to me how the swf loader component works? How can it be used?
    Thanks in advance for any help!

    Hi,
    Goto following link, will help you
    http://ryangoodman.net/blog/index.php/2008/02/14/adding_a_pre_loader_in_xcelsius_dashboar
    http://help.sap.com/businessobject/product_guides/xcelsius2008SP3/en/Xcelsius2008_FP3.1_release_notes_en.pdf
    http://saptechblogsxcelsius.blogspot.com/
    -Obaid

  • Loading a swf with FLVPlayback component, and the flv restarts playing by itself......

    Hi.
    i have an fla file with 5 keyframes. Each keyframe navigates forward to the following keyframe. On the fifth keyframe, a Loader loads an external swf. The external swf has an flv playback component with sound.
    The fifth keyframe, other than having a button to click to load the swf, has a movie clip that navigates you back to the first keyframe.
    The loaded swf, once loaded, may be removed using removeThis function which has removeChild code as well as a  _flv.stop(); which makes the flv stop when the swf is removed. So u're back on keyframe 5, no sound - good!.
    ASo, all is well and the user can navigate back to the first keyframe (from keyframe 5), and from there continue on to the 2nd, 3rd, 4th and 5th keyframes again,  problems start though, when you get to that 5th keyframe again: that keyframe has an FLVPlayback component playing an flv, which at that point becomes very sluggish as all the mc animations on that 5th frame. And worse, i realize, the flv in the external swf that was previously loaded, starts playing by itself, which i know, because i hear its sound track.
    I tried putting a conditional statement to tell the _flv to stop on keyframes 1 and 5, but that causes errors, considering that the flv is an undefined property from the perspective of those keyframes.
    Any help would be very appreciated:)
    thanks.

    var loader:Loader = new Loader();
    loader.load(new URLRequest("_.swf"));
    house.addEventListener(MouseEvent.CLICK, loadswf1);
    function loadswf1(event:MouseEvent):void
        addChild(loader);
    this is how i'm loading the swf. I tried using   Loader.unloadAndStop() inside that loadswf function but get an error -
    Scene 1, Layer 'a', Frame 75, Line 83
    1061: Call to a possibly undefined method unloadAndStop through a reference with static type Class.

  • Component loader & external swf : how send parameter ?

    hello all,
    I have a simple problem I have not been able to solve.
    I use a compnent loader to load an external swf.
    I need to pass a parameter to the swf to make it run
    properly, which I named 'url_xml' and in which I provide the name
    of an XML file.
    the component loader is named 'diaporama'.
    the following code works :
    _root.diaporama.contentPath = "my_swfplayer.swf";
    BUT I need to send a parameter, so I tried :
    _root.diaporama.contentPath =
    "my_swfplayer.swf?url_xml=filexml.xml";
    It does not work. It tries to load a file named
    my_swfplayer.swf?url_xml=filexml.xml
    instead of loading my_swfplayer.swf with the param url_xml
    whose value is filexml.xml.
    Can somebody help ?
    Many thanks.

    I would place some code in the loaded movie to look for the
    variable and then start.
    Cheers,
    Gorka
    www.AquiGorka.com

  • How to Load a SWF in Dynamically Loaded HTML

    Hello,
    I have a Flash movie with a multi-line text field that loads
    HTML text. As per the below Macromedia documentation I have swfs as
    images inside my HTML text.
    I'm trying to find a way to pre-load these swfs - if I do
    loadmovie to load the swf, when the html file is loaded will it
    need to reload the swf from scratch or will it take my loaded
    version? I'd love to show a "loading" message in the text as the
    swf was loading but am unsure how to do this now that I have the
    swf reference embedded in the html text.
    Any ideas?
    Thanks!
    Julia
    From the Macromedia documentation:
    Image tag (<img>
    The <img> tag lets you embed external JPEG files, SWF
    files, and movie clips inside text fields. The <img> tag has
    one required attribute, src, which specifies the path to a JPEG
    file, a SWF file, or the linkage identifier of a movie clip symbol.

    Thanks - your answer is exactly what I was looking for.
    I'm noticing that every swf I load via dynamic HTML is
    distorted - is there a way to prevent this? I can set the width and
    height of each swf in the HTML, which works ok, but then I run into
    a problem when I try and have a component item (like an accordion)
    included in the dynamic text field. It works properly, and the
    framing is sized correctly, but the guts are still skewed. I
    haven't been able to figure out why the swfs are being distorted in
    the first place.
    Any ideas?
    Thanks,
    Julia

  • AS 2.0 Loader component question

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

  • Loading external SWF with masked content - get size of masked area

    I am loading an external swf using the SWFLoader component. The swf that is being loaded is masked so that only a portion is being shown. However, when it's loaded the actual size of the swf (loader.content.width && loader.content.height) is the complete swf including the masked area. Therefore, the loaded swf does not display properly in the itemrenderer Is there a way to to grab the size of the just the masked area as opposed to getting the size of the entire swf's contents (area not masked)?
    One item to note that is complicating the issue, is that these are swf files that have already been created and there are many of them. In some instances, the size of the stage matches up with the size of the masked area. In other instances, the stage is larger (or possibly smaller) than the masked area movieclip as well as possibly the actual size of the movieclip (w/o the mask).
    I am currently loading the external swf in using a Loader. Once loaded, I make a copy (screen shot) of the swf by creating a bmp of the loader.content.This is done as I don't want to have any animations being shown on screen at this moment. I am setting the size of the bmp using using loader.content.width & loader.content.height. I then set the SWFLoader.source to the bitmap.

    Here's the code I am using to load the swf:
         <fx:Script>
                <![CDATA[
            protected  function application1_applicationCompleteHandler(event:FlexEvent):void {
                 loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onSWFLoaded);
                 loader.load(new URLRequest("c:\\Flex Testing\\FA warns Mr. Jones.swf"),  context);
            private function  onSWFLoaded(event:Event):void {
                bmData=new  BitmapData(loader.content.width, loader.content.height, true, 0x990000);
                 bmData.draw(loader.content, new Matrix());
                bmp=new  Bitmap(bmData);
                swfLoader.source=bmp;
                 addElement(swfLoader);
                with (swfLoader)
                    setStyle('verticalAlign', "middle");
                     setStyle('horizontalAlign', 'center');
                     verticalCenter=0;
                    horizontalCenter=0
                     scaleContent=true;
                    maintainAspectRatio=true;
                     addEventListener(MouseEvent.CLICK,onClick,false,0,true)
                     useHandCursor = true;
                    buttonMode = true;
                     width=200;
                    height=200;
                 loader.unload()
                loader=null;
               ]]>
    </fx:Script>

  • Loader Component in screens/app piece

    I have an e-learning shell set up using the apps template. I
    have several screens that have external swfs loading into the
    loader component. With the auto load on the component the swfs all
    automatically play upon load of the the app. If set to ffalse no
    load upon the app loading. I do not want them to load when the app
    loads only when you would move to the particular screen they are
    on. I can put a play and stop button in the external swf but I
    would rather that they play automatically when the user navigates
    to the screen they are sitting on. Any ideas on actionscript to
    control this?
    Thanks!

    I don't understand your explanation.
    Is the SWFLoader loading a full SWF or an embedded symbol?  What is an invisible mode and how do you know it is in that mode?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Loader Component Question

    Can I have two loader components in one flash file (my main web page)  I have a main loader for my pages to load into when the corresponding button is clicked.  I need to add a second one for a small .swf file of a interactive calendar.  So I guess I need another loader .  I tried to add another loader to my main flash page and it said something like this component is in use or has same name.  I looked in my library and changed the name of my other loader to myLoader and it is still giving this wierd error.  Is is possible to use the Loader component twice in one flash document?   I also don't have them in the first frame of my document because I have an animation that plays through first.

    I'm only trying to interpret what that message is telling me in this response.  It seems to be indicating that you have some object in the library that you have named "calLoader" and assigned it a linkage ID of Loader (possibly by default) as well as another object in the library named myLoader that has the same linkage ID (possibly by default).
    If these two objects are the same component type, then you only need one of them in the library.  The different naming of them can be managed on the stage.

  • Loader Component Trouble

    Hey guys...
    I'm back. I am still working on this site, and have worked
    through numerous challanges and gotten through, but I have now hit
    a roadblock that I cant seem to conquer... Here is the
    situation....I have a “main” file.... I am using the
    technique of loading external swf’s into a loader component
    on the main file. So each individual page is a different swf file.
    I have the navigation set up in a seperate swf file as well, and
    have the nav bar loading into another instance of the loader in the
    “main” file. The navigation has its own action
    scripting that animates it, and I have written action script so
    that when you click the buttons (I have attached the code that I
    wrote for the buttons), the other loader on the main page should
    load the corresponding swf... (still with me?) well I preview the
    “main” page and it runs great and the home.swf
    automatically loads and the nav loads (and animates), but when you
    click the buttons nothing happens... I hope someone can help me
    through this problem.... Thanks so much in advance....

    .......Doesnt anyone know how to help me with this issue?
    Best,
    Ken

  • Loader Component IE7 Scaling Content Issue

    Hello,
    I have an image gallery that is using Loader components to
    pull in the thumbnails and i have the scaling set to true, but in
    IE7 it is very inconsistent in scaling... IE6 and Mozilla work
    great, but IE7 is inconsistent... click on the top left to view
    image galleries, then select Family or Weddings and you can see
    what i mean..
    http://www.gummyinteractive.com/projects/infinite/
    thanks in advance!

    Yes, because of the size of the stage being larger than that
    of the Loader and loaded SWF, you will see it rendered 'outside'
    the Loader component.
    Simply mask the area of the Loader Component, in the loading
    SWF.

  • Loader component not scaling content

    I am using a loader component to load an external swf into
    main movie. As swf plays, content that should be off stage is
    showing outside the box of the loader. Scale content is set to true
    and swf is sized down, but will not stay within loader.

    Yes, because of the size of the stage being larger than that
    of the Loader and loaded SWF, you will see it rendered 'outside'
    the Loader component.
    Simply mask the area of the Loader Component, in the loading
    SWF.

  • Externally loading a SWF

    Okay, I am making my portfolio and I am having problems
    loading the galleries into the main index/main page.
    I am using the "loader" component, and telling it to load the
    EXACT file name of the SWF.
    This is the error I get:
    Error opening URL
    'file:///Macintosh%20HD/Users/ARP/Library/Caches/TemporaryItems/index_graphic.swf'
    I have an index_graphic.fla & index_graphic.swf
    WHY IS THIS NOT LOADING?!
    I am a newbie at flash, so I need it to be straight forward.
    THANKS A MILLION. I really need to finish this
    tonight!!!!!!!!

    Save your Flash movie to a specific location, maybe a folder
    on your desktop. Then put the .swf into that folder.
    If you have not saved the file that you are currently working
    on, then Flash has no idea what the relative path for that file.
    What you are seeing in the error is the Mac default working file
    path.

Maybe you are looking for

  • Is there a way of remote accessing 'Games and More' on a mobile?

    I am new to the forum, please excuse me if I am in the wrong space! Is there a way of remotely accessing/executing Java applications that are residing in the 'Games and More.' folder on a mobile device? e.g. Java application is downloaded into 'Games

  • Why do I keep having an app that fails to install, after syncing with iTunes on my computer?

    One or two months ago, I purchased EA's game 'Need for Speed Most Wanted', when it was on special for $1.29 NZ. I downloaded the app onto my iPod touch (4th generation 8GB), and later synced the app with my computer. A few weeks later I deleted this

  • Error in Good Movement

    Hi SAP Gurus, I have got a error in Goods Movement. For Production Order no.xxxxxxxxx, there is no error in the COGI report, but if we check it in one of the customized report called Valuated Goods movement failure there is a error for the said Order

  • How to bind manually created recordsets in DW bindings tab..??

    I've got a little problem where I'm working with XML web services to get product data to my web site. I'm actually parsing all of the XML data and feeding it into an ASP recordset in my page manually. I have a 3rd party shopping cart (Web Assist eCar

  • Audio Channel Mapping in Premiere Pro CS6

    I am using Premiere Pro CS6 6.0.5. Double clicking on an imported 5.1 ac3 file in my bin brings up the 6 channels in waveform in Source panel. The channels are mapped L,R,Ls,Rs,C,LFE. This does not conform to Dolby Digital standard L,R,C,LFE,LS,RS. I