Urgent-loading sound and setting cue point

I'm trying to load an mps into a mediaDisplay component as i
need to set cue points on the MP3, when i play the file there is a
blip and the beginning:
_root.createClassObject(MediaDisplay, "mdAudio",
_global.intMovieDepth);
_root.["mdAudio"].autoPlay = true;
_root["mdAudio" + _global.intMovieDepth].setMedia(strMedia,
"MP3");
any ideas what i'm doing wrong?

anyone?

Similar Messages

  • Premiere, Media Encoder and Flash Cue Points - bug?

    I've been encoding a number of FLV On2 VP6 videos recently and using the new Media Encoder. For this project we need flash cue points (nav and event). I've discovered some weird things in Media Encoder - it's been duplicating cue points (or maybe the export from Premiere is buggy with cue points?).
    I've seen the first couple of cue points getting duplicated with the first letter of the name capitalised and moved a frame on in time - very weird.
    Anyone else seen this behaviour?
    Paul.

    OK, I think I've found out why - not a bug - user misunderstanding!!!  (although tricky to find!)
    Some of my source footage was created in After Effects. It turns out that there were a couple of cue points in the AE comp that had similar names to the cue points in Premiere - the AE comp was saved out to an AVI (with metadata enabled I think).
    Premiere wasn't seeing this metadata and the cue points, but Media Encoder was (and it couldn't be deleted in ME - just kept coming back).
    So - moral of the story - be careful with metadata!!!
    I guess that Premiere should really show this embedded data though?
    Paul.

  • Final Cut Pro to Flash  -- Inserting and Using Cue Points

    I want to export a flash video using File - Export - Using Quick Time Conversion and selecting Flash. Under options for Flash, I see something about "Cue Points".
    My assumption is that these would be points that you can insert that are similar to chapter markers and that you could have the Flash player on a web page jump back and forth between them.
    Does anyone know of any documentation on inserting these points in Final Cut export? I couldn't figure it out. It looks like you give them a name and a timecode. I could not enter the timecode.
    How about over on the player side? I assume some sort ActionScript in Flash is required. Has anyone seen a simple example/tutorial of these capabilities?

    Apart from disabling time machine, iCal and any other programs or applications from taking focus. Time machine and software updates can certainly be told not to try as far as I recall.

  • FLV and Event Cue Points

    Hi,
    I am streaming and flv file with numerous event cue points.
    When each cue point is reached I attach different movie clips. The
    problem is I need to add custom fast forward and rewind buttons to
    the video. I tried using netStream.seek(netStream.time +5) which
    works, but it skips over the event cue points. So when you stop
    fast forwarding the wrong movie clip is attached.
    Is there another way to fast forward the video and still have
    the event cue points recognized?
    Thanks,
    Caroline

    if (index="introductionText")
    I think you need double =, like this:
    if (index=="introductionText")
    -rich

  • Set cue point problem

    In csc5.5, with flvplayback select onthe stage,
    I can't switch cue point between  "navigation",  "event" "ationscript",
    the only cue that I can insert is "actionscript", why?
    I need to set to "navigation".
    Can you help me?
    Thank you.

    We have the following three situations 1, 2 3.
    In a help there was the possibility of chenge cue pointi through the properties panel (maybe image 2 below), perhaps no longer available in last versions (3 below). Is this right?
    Or is it still possible to change through the panel?
    1 Media Encoder
    2  property pannel
    3 property panel
    Thank you.

  • Director and viedo cue points

    In what formats After Effects can export cue points recognized by director?
    Thanks.

    Richard,
    Thanks for your reply. I know I need a listener to activate
    something when a cue point in my FLV is reached, it's just that
    I've never written the code for a listener before!
    If I can explain further what I intend to do...
    I will have an FLV called "advert01.flv" with a cue point at
    the very beginning called "start" being played in a FLVPlayback
    component with the instance name "ad_playback" . When the cue point
    "start" is reached (straight away) I want a dynamic text field with
    the var name "ad_description" to display some descriptive text.
    Would my code go along the lines of...
    ad_playback.onCuePointListener = function(){
    if cuePoint = "start"{
    ad_description="The advert is playing and is funny";
    ...or am I a million miles from getting it right?
    Thanks for your help.

  • VideoPlayer and adding Cue Points

    I'm having a tough time getting cue points to work with the new sparks VideoPlayer. In the documentation, it states that VideoDisplay has been replaced with VideoPlayer, but most of the examples on the web are for VideoDisplay.
    I'm calling the usual 2 classes from the mx namespace.
         import mx.events.CuePointEvent;
         import mx.controls.videoClasses.CuePointManager;
    then trying to dynamically add cue points like this:
    I then create an instance of the CuePointManager, with myVid [type sparks VideoPlayer]
         cuePointManager = new CuePointManager(myVid);
    then create a new cuePt Objectwith name and time properties and try to add it as a cue point:
         myVid.myCuePointManager.addCuePoint(cuePt);
    where
    - myVid is the VideoPlayer instance
    - myCuePointManager is an instance of CuePointManage
    - cuePt is an Object with name and time
    I get errors about cooercing myVid [type sparks VideoPlayer]
    1067: Implicit coercion of a value of type spark.components:VideoPlayer to an unrelated type mx.controls.videoClasses:VideoPlayer
    1119: Access of possibly undefined property cuePointManager through a reference with static type spark.components:VideoPlayer
    Can someone please be very kind and give me a nudge in the right direction. I've been pulling my hair on it for a day now, and couldn't find any tutorials specifically on the new sparks VideoPlayer and how to add dynamic cue points to it.
    Thanks,
    David
    P.S. Video is big on the web. I would say that sorting out the VideoPlayer should be one of the top priorities in the new version of the SDK.

    The short answer (and the official one) is that our new Spark VideoPlayer doens't support cuePoints.
    The longer answer is that as OSMF (Open Source Media Framework, which is what the Spark VideoDisplay/VideoPlayer components ship with) adds cue point support, you might be able to take a newer build of OSMF and start using cue points.  Here's some info on OSMF and cuePoints: http://blogs.adobe.com/osmf/2009/11/cue_point_support_in_osmf.html .  You could try taking one of their recent builds and playing around with it.  In order to bring those classes in to Flex, I'd probably reccomend monkey-patching on top of spark.components.VideoDisplay and changing a few things as some of the underlying OSMF APIs that Flex is dependent on have probably changed.  Then, you'd have to look at how to expose cuePoints from the spark VideoDisplay component.
    -Ryan

  • Read and use cue point in mp3 file

    Hallo,
    it's possible to handle cue point in mp3 file with as3.
    If yes, any hint?
    Thank you.

    Thank you Ned,
    I've seen several exemple, the best I've found at: http://www.adobe.com/devnet/actionscript/articles/cue_points_audio.html
    return this error:
    Scene 1, layer 'scripts', Frame 1, Line 33 1046: Type was not found or was not a compile-time constant: CuePointEvent.
    Thanks again.

  • Urgent : Loading WRL and X3D with embedded textures

    Hey, I am creating a program to load buildings in .wrl format with texture references into a Java applet. I am experiencing one major problem in that I cannot even load a building.
    I am using the xj3d loaders to do so, and have tried converting the WRL files to embed textures into a single file in both X3D and WRL format. When loading these into an X3D viewer, such as Octaga, I have no problem seeing them. When I try to load in Java, I get null pointer exceptions.
    Here is the code I am using to load. Am I missing something?
    Loader loader = new X3DLoader();
    Canv canvas3D = new Canv(config);
    add("Center", canvas3D);
    Scene x3dscene = null;
    x3dscene = loader.load("102_SPARKS.x3d");
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objTransform = new TransformGroup();
    objTransform.setCapability (TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objRoot.addChild(objTransform);
    objTransform.addChild(x3dscene.getSceneGroup());
    I have also tried loading without the embedded textures. I get no errors, but in the System output screen I get :
    Rescaling file:///C/window_brown_wood_color.jpg to: 512 x 256
    Rescaling file:///C:/aj_sign.jpg to: 1024 x 128
    ... etc.
    But nothing shows up in the applet.
    PLEASE HELP!

    i had the same problem and i have solved this problem.
    u're getting null pointer exception, because the loader are looking for the texture file and don't find. so try to copy the texture file to the same folder of your model.
    if not work, open the x3d file and modify the url attribute on that line:
    <ImageTexture DEF="uvCubo_png" url="../maps/uvCubo.png" />
    to
    <ImageTexture DEF="uvCubo_png" url="uvCubo.png" />
    after u should to copy the texture file to the same folder of the model x3d.
    i hope to have helped you.
    Message was edited by:
    thalesboss

  • Loading SWFs and setting z-index

    I have a project that involves 10 SWFs files. I know how to load them using one container. The problem I have is that when a new SWF loads, it covers the main navigation's drop menus from main container. The navigation bar on main container is a movie clip labeled nav_btns.
    Can someone help me set the z-index of main container and other SWFs as they load?
    Here is my code, which works when loading SWFs
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    var Xpos:Number=10;
    var Ypos:Number=115;
    var swf:MovieClip;
    var loader:Loader=new Loader();
    var loader1:Loader= new Loader();
    var defaultSWF:URLRequest = new URLRequest("homePage.swf");
    loader.load(defaultSWF);
    loader.x=Xpos;
    loader.y=Ypos;
    addChild(loader);
    function buttonClick(event:MouseEvent):void {
    removeChild(loader);
    var newSWFRequest:URLRequest= new URLRequest("Movies/"+ event.target.name+".swf");
    loader.load(newSWFRequest);
    loader.x=Xpos;
    loader.y=Ypos;
    setChildIndex(this, -1);
    addChild(loader);
    nav_btns.homePage.addEventListener(MouseEvent.CLICK, buttonClick);
    nav_btns.homePage.txt.text="HOME";

    add (or re-add) the menu to the display list after you add the loader.

  • I am new to firefox. when i loaded firefox and set my home page," mozilla opening page" always opens as well. how do i stop that? in English"

    it opens in another tab. is this an automaticv process or can it be turned off?

    After starting go to the tab you don't want for home page and delete. When in your proper home page selection goto tools..options and select current. Restart. You should be ok. BTW this will happen with all upgrades and updates.

  • Flash and SoundBooth Cue Points

    I'm creating a swf with the lyrics to a native song. I used
    Soundbooth to edit the song and add markers, now I want Flash to
    take those markers to play a certain frame until the next marker is
    reached. What type of parameters (ie examples) are used in SB for
    the markers to be used in Flash.

    pisare az diar ghorbat

  • Using external XML to add and set parameters for AS cue points.

    Hi there. I am trying to use external xml to set cue point
    times (for video), titles, and other parameters. I have everything
    set up, except getting the proper data from the xml file to set the
    parameters for my cue points. I am researching hard and learning
    quickly - at this point, I need help. Thanks!

    Anyone?
    Still working on this if anyone has advice. Still haven't
    been able to figure out how to put xml data in the right place:
    addASCuePoint(//data from xml here to set name and time of
    cue point - HOW??//);
    Thanks!

  • Loading External SWF and setting variables

    Hello Everyone.
    I'm sure you are all a where of the FlashVars attribute for
    Flash embeds which holds variables for SWF's when they are
    rendered. I'm attempting to load an External SWF dynamically
    from within my own SWF and need to provide it with the values
    normally stored in the FlashVars. For the example below I
    wait until the External SWF is completely loaded using the
    onLoadInit event from moviecliploader and then i attempt to
    set the required variables that the loaded SWF needs. This works
    great in test and debug mode (ie. Test Movie and Debug Movie
    from the Control menu), but when i publish my FLA to SWF and run
    the SWF the variables will NOT get set in the loaded External SWF.
    From my readings ive people have mentioned that the player is only
    able to access Methods of an External SWF. If this is the case then
    how do they expect people to set the FlashVars of dynamically
    loaded SWFs? I investigated the loadVariables procedure as well and
    had the same results in test mode and was wasn't reliable because
    of timing issues.
    The sample source is below... if anyone has any ideas or has
    come across this issue before, I would really appreciate some
    insight.
    Thank you in advance for your time.
    var loader_mc:MovieClipLoader = new MovieClipLoader();
    var mclListener:Object = new Object();
    loader_mc.addListener(mclListener);
    mclListener.onLoadProgress = function(target_mc:MovieClip,
    numBytesLoaded:Number, numBytesTotal:Number) {
    // DO NOTHING
    mclListener.onLoadComplete = function(target_mc:MovieClip) {
    // DO NOTHING
    mclListener.onLoadInit = function(target_mc:MovieClip) {
    // WORKS IN TEST MODE NOT IN PUBLISH/SWF MODE
    target_mc._root.param1 = "value1";
    // WORKS IN TEST MODE NOT IN PUBLISH/SWF MODE
    _level0.container_mc.param1 = "value1";
    this.createEmptyMovieClip("container_mc",
    this.getNextHighestDepth());
    container_mc._lockroot = true;
    loader_mc.loadClip("somecoolflash.swf", container_mc);

    I've tried that as well and it behaves the same as onLoadInit
    ... Works when i test but doesnt when i publish to a swf. I think
    this is security related and the flash player just cant write to a
    loaded swf and set variables.

  • Synchronizing sound and animation

    Hi All..
    I have an animation of a swinging sign that is accompanied by a squeaking/swinging sound that is loaded externaly.. What I would like to do is go a step further and synchrinize the sound with the swinging sign.. Can someone please point me in a direction of where I should look? I've seen some tutorials about synking imported sound with animation - but is there a way to also synk an external sound? Thanks so much ahead of time!

    you can't sync a loaded sound and animation unless you load your sound BEFORE your animation appears.  or, at least, before the part of the animation that needs sound appears.
    so, either don't load a sound that needs to be sync'd or use code to ensure loading is complete before the corresponding animation is displayed.

Maybe you are looking for

  • Global Creation with Input args

    I create a Global Creation activity with a screenflow task. The screenflow has both a integer input argument (call it sfIntArg) and a output argument (of BPM object). When I right-click on the Global creation activity and go to argument mapping, I ha

  • AQ troubleshooting doc

    Hi All, I came across this good article on AQ troubleshooting. Thought of sharing it with all, hence, this post. Out of things mentioned in article, I have outlined a few steps, that helped me in our environment while troubleshooting AQ issues. How t

  • Have a problem while installing Asmlib packages

    hi all I have some problem while installing ASMlib packages. my OS=Redhat linux 5.3 kenel version using this command uname -r=2.6.18-128.el5 I have downloaded packages and successfully installed following 4 oracleasm-support-2.1.7-1.el5.i386.rpm orac

  • How can I get my Time Capsule to show up in finder?

    How can I get my Time Capsule to show up in finder?

  • "XNetwork.osax declares no loadable handlers" error in Mountain Lion?

    I'm attempting to make a simple bash osascript to communicate with the user of a 2012 Mac Mini running Mountain Lion 10.8.4. This is what I have so far: #!/bin/bash printf "> " read USER_TEXT /usr/bin/osascript << EOF set user_text to do shell script