Problem to import my file swf in my librairy

Hi,
I have a probleme. I am using flash cs5
and I created a file called : animation.swf (his weight is 880 ko)
My goal is to create a loading barr for my file (animation.swf)
but when I want to import my file animation.swf in my library
it doesn t work.
Someone could explain me why it is not working?
thanks in advance

thanks klad
I find this code but it is not working when I write : adresse.url = "animation.swf";
var adresse = new URLRequest();
var chargeur = new Loader();
var part_mc:Part_mc = new Part_mc;
var barre_mc:Barre_mc = new Barre_mc;
addChild(chargeur);
chargeur.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,miseAjour);
chargeur.contentLoaderInfo.addEventListener(Event.COMPLETE,chargeTerminee);
bt1.addEventListener(MouseEvent.MOUSE_DOWN,chargerImage)
function chargerImage (evt:MouseEvent) {
addChild(part_mc);
addChild(barre_mc);
part_mc.y = 420;
barre_mc.y = 400;
adresse.url = "animation.swf";
chargeur.load(adresse);
function miseAjour(evt:ProgressEvent) {
barre_mc.scaleX = evt.currentTarget.bytesLoaded/evt.currentTarget.bytesTotal;
var pourcentage =(evt.currentTarget.bytesLoaded/evt.currentTarget.bytesTotal)*100;
part_mc.etiquette.text = Math.round(pourcentage)+"%";
function chargeTerminee(evt:Event) {
removeChild(part_mc);
removeChild(barre_mc);

Similar Messages

  • Tempo problems with imported wav files

    Hey everyone, sorry if there's a quick fix for this in the forums that I couldn't find, but I've been having some tempo problems with imported .wav files.
    Long story short, my system couldn't handle playing all the tracks for a song while recording drums, so I bounced out an mp3 of the song and put it in a new Logic file so my drummer could just play along to that as I recorded him. Unfortunately, the original song is at 167 bpm, but I forgot to change the bpm in the new Logic file with the .mp3 file of the song to 167 bpm, so it was left at the default 120 bpm.
    So, the drums were recorded at the correct 167 bpm, but Logic thinks that those new drum .wav files should be played at 120 bpm, so when I import my drum tracks back into the original file, they do not play correctly at all.
    I could get record it all again, but I wanted to check if there was a way I could salvage what I already have, since my drummer lives about an hour away right now and can't just come over whenever he wants.
    Thanks for the help! I really appreciate it.

    Hi,
    First, do not use MP3 in Logic, the sound quality is less than AIFF, WAV or CAF, and Logic has to decode it for playback, making it a heavier burden on the CPU than an uncoded audiofile, such as AIFF, WAV or CAF.
    Secondly, audio files are independent of Logic's tempo. If you bounce down an audio file in any format (other than Apple Loop), it will play back at the same speed, +regardless of Logics' tempo setting+, either at recording or playback. Logic doesn't 'think' anything. The BPM is only important to MIDI tracks, or to the spacing between audio files. The audio files themselves *are not affected* by the tempo setting. If you import an audio file of tempo 167 into a 120 BPM project, the file will still play at 167, only Logic will indicate the wrong bar positions.
    regards, Erik.

  • Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    haben
    From looking at the specifications of your camera (SJCam 4000), we know already what video compression your camera is using. It is H.264.
    A H.264.mov file should be supported by Premiere Elements 11. On what computer operating system is your Premiere Elements 11 running?
    Do you have the latest version of QuickTime installed on your computer? And, are you running QuickTime and Premiere Elements 11 from a
    User Account with administrative privileges? Please go to Premiere Elements 11 Publish+Share/Computer/QuickTime to confirm that you find
    presets there for the QuickTime choice there.
    What are the properties of these H.264.mov files - is it 1080p30 (1920 x 1080p30)  or something else? Do you know if this camera is recording with a variable or
    a constant frame rate?
    Please review and consider and then we will decide what next.
    Thank you.
    ATR

  • Problems in importing avi file

    I have problems\ in importing avi file..
    when i try to import an avi file,, it is written that there is a message "unsupported format or damaged file"..
    What should I do then?
    I use Windows Vista Ultimate..

    Welcome to the forum. As Harm points out, AVI is but a wrapper, and can contain all sorts of data inside. This ARTICLE might give you some insight into working with AVI's.
    Good luck,
    Hunt

  • Problem to import MOV files

    Hi,
    I have a problem to import mov files from my hard disk (coming from a Casio Exelim ZR100 @ 1920x1080, 30 pic/sec. 44kHz, codec: H.264/AVC ). I tried different project setups - doesn`t work . I get a common failure message. MTS file import works...
    System Win 8
    Premiere Elements last version, all updates done
    Error Message:
    nase30

    Media import
    A Google Translate of your error message says that you are experiencing a generic importer error; consequently, not an editing nor exporting issue.
    If you are using the Casio ZR 100, the video involved would be characterized as
    1920 x 1080 @ 30 frames per second (progressive)
    Video compression = AVCHD (MPEG4 AVC/H.264)
    Audio compression = IMA-ADPCM (stereo)
    File Extension = .mov
    On the Premiere Elements side you have Premiere Elements 11 on Windows 8 (assumed 64 bit).
    I have downloaded one of these files from your camera brand/model from an online source.
    Windows 7 64 bit Premiere Elements 11. No importing or other problem with video or audio components of the file.
    Windows 8 64 bit Premiere Elements 11. No importing or other problem with video or audio components of the file.
    Based on my findings, I have no evidence to make a generalization that there is a problem with this Casio video and Premiere Elements 11 on Windows 7 64 bit or Windows 8 64 bit.
    So that leads us to look for other factors. Top of the list is the version of QuickTime that you have installed on your computer. (As John T. Smith has already asked and is awaiting a reply on that. If you have the latest version of QuickTime installed, then I would uninstall it and then reinstall it.
    What type of problem are you report
    "it worked before but not now"
    or
    "it never worked before"
    What might be interesting to look at. If you rename just the file extension of your Casio AVCHD.mov from .mov to .mts, .m2t, or .m2ts can you then import the problem file?
    We will be watching for your results.
    Thank you.
    ATR

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Problems with importing .MP4 file and the audio in FCP 6

    Hi all,
    I am pretty new to Final Cut Pro and have just approached my first project.
    I have a Samsung VP-MX20
    http://www.samsung.com/uk/consumer/detail/spec.do?group=cameracamcorder&type=cam corder&subtype=flashcamcorder&model_cd=VP-MX20/XEU&fullspec=F
    *Codecs H.264, AAC.*
    I needed some space on the camera so halfway through a holiday i transfered all the video files from the camera to my Laptop.
    I have imported these files from the hardrive
    Vid rate - 25 fps
    compressor - H.264
    Pixel Aspect - PAL - CCIR 601
    What seems to be the problem is ok when i drag the clip from the viewer to the canvas and apply insert, i get the box that says 'Change Sequence settings to match the clip settings?
    i click yes and when the clip is layed out on the timeline there is a red line above the timeline, when i play the clip i only get bleeps as audio and not the original sound.
    If i drag the playhead i can hear the audio but if i try to play all i hear us bleeps plus if i import an mp3 the red line appears above the timeline and the same applies
    can anyone help me here.
    Thanks
    Elles

    Hi Zak,
    many thanks for your reply, i have contacted Apple and taking your advice and using compressor i have converted the codec H.264 to Apple Pro Res 422 for interlaced material.
    I have imported this file and when i drag once again from the viewer to canvas i get the standard box asking to change the sequence to match the clip.
    I am still getting the red line above the timeline and bleeping as audio.
    any idea?

  • Problem in importing XML file

    good morning, 
    i've a problem when i try to import an XML file to SQL.
    In my particular case i've an xml file structured like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Flussi xmlns="http://indennitario.acquirenteunico.it/Semplificato/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Flusso xsi:type="FlussoSI1.1150Type" COD_FLUSSO="1150" COD_SERVIZIO="SI1">
    <IdentificativiRichiesta>
    <CodPratGestore>688628</CodPratGestore>
    </IdentificativiRichiesta>
    </Flusso>
    </Flussi>
     I managed to import that file in that way:
    DECLARE @XML AS XML, @hDoc AS INT, @SQL NVARCHAR (MAX)
    SELECT @XML = '<Flussi
    >
    <Flusso COD_FLUSSO="1150" COD_SERVIZIO="SI1">
    <IdentificativiRichiesta>
    <CodPratGestore>688628</CodPratGestore>
    </IdentificativiRichiesta>
    </Flusso>
    </Flussi>'
    EXEC sp_xml_preparedocument @hDoc OUTPUT, @XML
    SELECT
        Cod_flusso = Events.value('@COD_FLUSSO', 'int'),
        Cod_servizio = Events.value('@COD_SERVIZIO', 'varchar(20)'),
        --EventIsFixed = Events.value('(IsFixed)[1]', 'varchar(20)'),
        --EventKind = Events.value('(EventKind)[1]', 'varchar(20)'),
        PIVAUtenteUscente = Events.value('(IdentificativiRichiesta/PIVAUtenteUscente)[1]', 'varchar(20)'),
        CodPratUtente=Events.value('(IdentificativiRichiesta/CodPratUtente)[1]', 'varchar(20)'),
        CodPOD=Events.value('(DatiTecnici/CodPOD)[1]', 'varchar(20)'),
        Cf=Events.value('(AnagraficaClienteFinale/CF)[1]', 'varchar(20)'),
        Cmor=Events.value('(DefinizioneIndennizzo/Cmor)[1]', 'float'),
        Credito=Events.value('(DefinizioneIndennizzo/Credito)[1]', 'float'),
        DataSwitching=Events.value('(DefinizioneIndennizzo/DataSwitching)[1]', 'varchar(20)'),
        DataEmissione=Events.value('(FattureIndennizzo/DataEmissione)[1]', 'varchar(20)'),
        TipoFattura=Events.value('(FattureIndennizzo/TipoFattura)[1]', 'varchar(20)'),
        DataScadenza=Events.value('(FattureIndennizzo/DataScadenza)[1]', 'varchar(20)'),
        IdentificativoFattura=Events.value('(FattureIndennizzo/IdentificativoFattura)[1]', 'varchar(20)'),
        NumeroGiorniErogazione=Events.value('(FattureIndennizzo/NumeroGiorniErogazione)[1]', 'int')
        --ParameterName = Events.value('(Fields/Parameter[@Name="Name"]/@Value)[1]', 'varchar(20)'),
        --ParameterDuration = Events.value('(Fields/Parameter[@Name="Duration"]/@Value)[1]',
    'varchar(20)')
    FROM
        @XML.nodes('/Flussi/Flusso') AS XTbl(Events)
    EXEC sp_xml_removedocument @hDoc
    The problem is that when i try to import the initial file with this kind of attributes: xsi:type="FlussoSI1.1150Type" i can't get the data.
    does anyone know how to solve the problem? thank you 

    declare @x xml='<?xml version="1.0" encoding="UTF-8"?>
    <Flussi xmlns="http://indennitario.acquirenteunico.it/Semplificato/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Flusso xsi:type="FlussoSI1.1150Type" COD_FLUSSO="1150" COD_SERVIZIO="SI1">
    <IdentificativiRichiesta>
    <CodPratGestore>688628</CodPratGestore>
    </IdentificativiRichiesta>
    </Flusso>
    </Flussi>'
    ;WITH XMLNAMESPACES(default 'http://indennitario.acquirenteunico.it/Semplificato/1.0')
    select p.q.value('@COD_FLUSSO','int'),
    p.q.value('@xsi:type[1]','varchar(100)'),
    p.q.value('@COD_SERVIZIO','varchar(10)'),
    p.q.value('(IdentificativiRichiesta/CodPratGestore)[1]','int')
    from @x.nodes('/Flussi/Flusso')p(q)
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Big problem, cant import RAW files.

    Ok so I have a Canon 20D, and Ive been shooting all my photos in RAW format, and was hoping that LR can read it. On my homePC I have a card reader, so it sees the files as RAW, and .jpg and Ive got no problems. But when I try doing this on my laptop which has no card reader, every program including LR only import .jpeg files. The RAW files are nowhere to be seen. Is this something I can fix? is the camera at fault? Will it be possible to import RAW files only if I get a card reader for my laptop?
    All help is greatly appreciated.

    Are you connecting the camera directly to your laptop? I believe there is an issue with Canon cameras and Lr. Check Adobe's documentation.
    Also are you using Canon software to download from the camera?

  • Problem for import dmp file

    Hi,
    I had installed both oracle 8i and 11g, I'm trying to import my dmp file in oracle 8i, but that query will shift to 11g environment.
    How can i import my dmp file in 8i.
    eg:
    host imp sys/sys@ora file='D:\Ven_Excercise\hlw_demo\koow.dmp' ignore=y
    fromuser=trainee
    regards
    venki

    Already some references had been provided in ur previous post itself. Refer the
    link been provided there.
    Ur Orginal post:
      problem of import file
    Regards
    Nirmal

  • Problem with importing RAW files from camera

    LR 1.3 refuses to import raw files from my camera. Only JPEG's are imported. Got a Canon 350D/Rebel XT. Once I copied the raw files to disk (using Camera Window) Import from disk works fine and converts the CR2 to DNG without a problem. The preference "Treat JPEG files next to..." makes no difference. Anybody a clue what's wrong?
    Thanks, Edwin

    Yeah this is a known bug with Canon cameras in general (not just using Lightroom!). If you use the camera to download your images anyway, I believe the trick is to set the camera to mass storage mode and you'll also get the RAWs. Lightroom's import from camera is very buggy though, hence it is a better idea to use a reader, or to manually copy the files to your harddisk first and import from there.

  • Problem to import wmv files into imovie 08

    I have big problems to import my wmv files into imovie on my brand new imac24"
    have installed flipmac pro , and they can not help me on help desk.
    I have also upgraded Quicktime to Pro.
    Files look grey so can not highlight .
    Trieed to open in Qicktime and save as Mov. Stil could not have Imovie accept it when i draged or tried to import
    Flipmac suggested i also download imovie 0.6 but cant find it on apples support page. only 06 updates.
    Any one who can help?
    opb

    have installed flipmac pro
    Do you have the latest Flip4Mac update installed with the QT 7.2 fix?
    Trieed to open in Qicktime and save as Mov.
    The "Save As..." QT Pro File menu option only places the current audio and video compressed data in an MOV file container. It does not re-compress the data to a fully support QT compression format. Try converting the file to DV, MJPEG, H.264, etc. instead.
    Stil could not have Imovie accept it when i draged or tried to import
    Use the "Import Movie File" to "Move" a copy of your file into iMovie '08.
    Flipmac suggested i also download imovie 0.6 but cant find it on apples support page.
    iMovie HD v6.0.4 download for iMovie '08 purchasers

  • Audio problem when importing video files.

    Hello everyone,
    I just started using FCP X a few days ago for a university project and I seem to encounter an audio problem when importing videos in .mp4, .mov format or via the import from camera option.
    Indeed I need to import videos in .mp4 and .mov format into FCP X. The import in itself is normal I can see my videos into the events/clips library and if I play them from the library I can hear the sound quite perfectly.
    However, when I want to edit my videos and put it in the timeline, there is no audio. As a result I started to think that my videos could be the problem so I tried the option "import from camera" option using the Isight camera of my macbook pro but the same things happened. I could hear the sound from the events/clips library but not from the timeline (I can't see any audiowaves in the timeline).
    I found a solution using quicktime and extracting the audio of the video in .m4a then importing the videos files and the audi files corresponding but it's a long process and a waste of time  as FCP X should be able to import the audio of my video into the timeline directly. Especially if it can read it from events/clips library.
    I hope I explained myself clearly and you could help me resolve my problem.
    Cheers
    Christophe
    PS: I'm using FCP X version 10.0

    Update to 10.0.5.
    You have an incorrect setting when you edit. Try trashing your preferences. Post screen shots of your timeline and toolbar.

  • NullPointerException problem while importing MDL file......

    Hi OWB Gurus,
    I am getting java.lang.NullPointerException error while importing MDL file.Please let me know the solution if any one had experience the same problem in the past
    Thank in advance
    Best Regards
    kumar

    Where there any errors during the import? If so, what were the errors?

  • Sudden problem with importing tiff files with alpha channel (CS5)

    OK this is driving me nuts. For years I have been importing image files that have an alpha channel  into FCP as.tiff files. I use Photoshop files only when I want to use the layers as they are too cumbersome otherwise). I have recent upgraded Photoshop, etc. to CS5 and now FCP won't import them anymore. I get a message saying: "File error: 1 file(s) recognized, 0 access denied, 1 unknown"
    I am not doing anything different and tiff files created in just the same way in an earlier version of Photoshop import and work just fine. Is this a CS5 bug? Does anyone know of a work around. I want to keep using tiff files as they seem to work best for me with alpha channel work (and I don't see why I need to reinvent the wheel).
    Thanks
    A

    I've had a similar issue recently. Same TIFF files downloaded from the same server, different FCP project, new error. I either see"File error: 1 file(s) recognized, 0 access denied, 1 unknown" or I get the even stranger, "Unrecognized file type."
    I can open them in PS and save them again as TIF, same results. I know these are not CMYK files but even if resave the TIF as RGB, I get the same results, they are not recognized by FCP.
    But if I open them in PS and save them as PNG with alpha, they improt fine.
    I have no idea what's going on.
    bogiesan
    Message was edited by: David Bogie Chq-1

Maybe you are looking for

  • Passing a user-entered value of one variable to other.

    Hi Experts, I am writing an exit for a variable 'Ref. Date' which is the FROM value of 'Cal. Week' variable. Code works fine when written in CASE I_STEP = 2 of 'Ref. Date' . But errs when "Ready for input" condition is unticked. ('Ref. Date' is used

  • No export in 9.1.3 - a big warning!

    I've just updated to iPhoto 9.1.3. I cannot export photos as an error message says 'Unable to create [pathname]'. I've also just tried to drag the photos out to a folder and that does not work either! Also, you cannot drag photos to Apple Mail!!! Thi

  • Real Player & Windows Media Player don't play a sound

    Hi, all of a sudden I cannot play Real or WMA streams anymore. I have the official Real player as well as the Microsoft player installed to use this nice widget for radio streams (http://radiotuner.wuersch.net/). It has worked all the time quite well

  • JText Area( mixing colors and fonts)

    Hi, I`m trying to implement a JTextArea that allows the user to type away quite happilly in a default font and color, but if needed they can click a button, and then when they resume typing it will display the new text in a different font and color.

  • Setting up sounds on SB Live

    Hi, I am completely new to using midi and would really appreciate some advice. I have installed Band in a Box but the played sounds are really poor, each guitar sound is just like a toy keyboard sound. I have gone into Creative HQ on my PC and tried