FLV with SWF trigger

Hi there,
i have read a few forums on how to do this but none seem to work for me.
I have created a SWF file with a button which is action scripted to load a FLV video.  However i am still not sure that i am filepathing the inserted FLV file correctly.
I have set the absolute file path including http://www.etc..com however the movie does not load
is the _root correct?
should this be cleared?
any other thoughts/ideas
Thanks

That would be correct were you loading a SWF file.
An FLV is a different type of file, and requires the use of the Video classes, or the FLVPlayback component to play it.
If you place an FLVPlayback component on the stage, and set its contentPath property to the absolute path when you click the button, it will load and play your video.

Similar Messages

  • Cannot associate media file types .swf .flv with Adobe Flash media player

    I have been trying to associate these media types ( .swf .flv ) with Adobe Flash media player (9.0.124 latest from Adobe site) but cannot see the program in the list (looked under Adobe, Flash, Macromedia, Common etc) after loading. I have repeated the process, rebooted, and no luck.
    Any ideas why a new program should not show in the Programs list ? 
    thanks
    Simon 
    X300 Vista  

    kevpatts wrote:
    Hey sdalek,
    It's actually not all sites. I've found a few that work. I'll have a look for any difference in implementation to try to narrow down the issue.
    Regards,
    Kevin
    Thanks, I'm curious to find out what's different. I've repair disk permissions again using the one in Disk Utility instead of Cocktail with not luck As far as I can tell, all my issues seem to be occurring solely on www.adultswim.com and is sill happening with Camino, Firefox, Safari, and SWF & FLV Player. I'll keep checking other sites to see if the problem manifests itself elsewhere and I'll post any other changes I make to my system that might appear to help.
    Regards
    Message was edited by: [email protected]

  • Converting swf to flv with flash video encoder

    Hi...
    I have a couple of questions please... I have managed to put some captions on a video file and would now need to get this video back into flv format to put it online;..I tried with the cs3 video encoder but it wouldn't let me.... So my questions are:
    1. Is it actually possible to convert my swf file into flv with cs3 video encoder ...which would be logical as it is a flash file...
    2. What is the best option I Have to convert my swf file with captions without losing the captions...
    Many thans for any clear help as I am not a code guru....
    Regards
    Flav

    Hi Vlaf (Flav),
    the main thing for converting a flash swf into a flv is to make sure that the timeline is not embeded inside a moveclip (meaning that the timeline of the movie is on the MAIN timeline....and not nested somewhere else.
    if this is right, then it should export correctly. If it still fails with the Encoder....try an alterative encoder caller "Super"(its free)...and does a great job!
    unless specified by your client or target advert host, always try to use a minimum of 30 frames per second and you should be good to go.

  • Flv or swf

    Could someone please explain the differences, advantages,
    disagvantages of using either flv or swf.
    is there a site with a comparison chart of the two
    formats?

    Close...
    You can convert avi to flv, if you are using Flash 8 Media
    Encoder you can also add cue points to the video. You can then use
    these cue points to trigger events in flash, like starting a new
    animation, making buttons or text appear, really anything you want.
    The flv file then gets placed on the stage of a .fla file,
    which is a flash file. When you add all the elements and code that
    you want in flash you publish the swf file. Then you have a
    webpage, an swf file, and a flv file that need to be uploaded to a
    server.
    If you are a beginner to flash and video I suggest going to
    www.gotoandlearn.com and watching some of Lee's video
    tutorials.

  • How do I convert from AVI or FLV to SWF file?

    First, I'm a complete Flash novice...this is the first time
    I've dealt with any FLV or SWF files. So, please forgive my
    ignorance on these topics. I have several small AVI files and have
    successfully converted them to FLV format via Premiere Pro CS3 and
    Adobe Media Encoder. But the client is also asking for SWF files of
    the same videos. I've looked and looked for a way to save SWF
    files. I tried pulling the video into Flash CS3, and saving as SWF,
    but since I know nothing about using Flash, I don't seem to be
    doing it correctly...seems like I'm getting just a single blank
    frame. I've looked at the dozens of third party programs that claim
    to be able to convert FLV to SWF, but the one I downloaded "Free
    Video to Flash Converter" generated an SWF file that doesn't seem
    to be playable anywhere. If there is a click-by-click method for
    using Flash to perform the conversion, I'd be ever so grateful.
    Again, please forgive my Flash-ignorance. Thanks for your help.

    Why doesn't Flash have a built-in capability to convert FLV
    to SWF? It's an obvious need and there are 3rd party programs of
    varying quality that do it. Why should people who have already
    purchased Flash need to look for something that handles this OK and
    then install it on their machines?

  • FLV to SWF to embed in a PDF?

    Hi All,
    I have been given a pdf (possibly built with InDesign?) and
    two flv files. I have to embed the video into the PDF. How do I do
    this, or more accurately, what is the best way to do this.
    I have Acrobat Professional 8 and the Professional Studio
    suite, including Flash Pro 8, at my disposal. I think I need to
    convert the flv to swf (how is this best achieved) and then embed
    the swf into the PDF using Acrobat Pro 8 (how is that best
    achieved)?
    The video's are no longer than 1.30 minutes, fairly static
    (man speaking at a desk and woman cooking).
    Thanks for any pointers.
    Nick Barling

    With the link tool of Adobe Acrobat you can overlay a link which does nothing.

  • Importing flv with external playback.. loop?!

    Hi!
    I'm trying to create google ads under the 50kb limit which is causing some headaches...anyway! I've noticed something. If I import my flv (which I've created in after effects) into adobe flash CS5.5 with "load external video with playback component" and then export the whole thing out as a SWF the file size is really small. 50 kb's compared to 795.6 kb's if the "embed flv in SWF" option is used.
    So my problem is this, I want to use the option of "load external video with playback component" but I want the video to loop when it's exported out as an SWF. Is this actually possible?
    I've tried some scripts which I've found, but I cant get it to work.
    Any help or advice would be very much appreciated.
    Many thanks!
    M

    Well yes, you can loop the video using the FLVPlayback, but I think you are missing the point of the 50kb google ad limit.
    When you use FLVPlayback, you must also use an external .flv file. So besides the <50kb .swf file, you will also have the >700kb .flv file. You cannot just use the .swf. So together, those two files put you way over the 50kb limit.
    Best wishes,
    Adninjastrator

  • Adobe Cap 5.5 on Moodle - publish without SCORM, with .swf files

    Hi,
    My agency is using Moodle as a training platform and I need to publish my captivate training files to Moodle.    We track training completion through assessment reports.   I upload two different Adobe Captivate 5.5 training files.
    (1)   the training portion with .swf (Raptivity) interactivity
    (2)   the assessment portion - published in SCORM
    I am able to successfully publish the assessment portion of the Adobe Captivate 5.5 in SCORM to Moodle.     However I am unable to successfully publish the training file.  
    I do not need to publish the training portion in SCORM so am open to suggesions of the best method to get the training file with Raptivity .swf files working on Moodle.  When I publish the file it will work perfectly on our local network but does not work in Moodle.  I have tried publishing the training portion (1) with and without SCORM without success.
    Thank you for your help.  
    Note:   Please see my post 4-12-11.   I was unable to list files in the imsmanifest.xml as suggested in the response - and wonder if someone could provide further detail/ support with this suggestion.   How do I add the other tags?   Would someone be able to provide a screen shot of these steps?     Thank you.
    Sandra

    In the dialog inside Captivate where you set up the path to find the video file.  By default, Captivate sets an absolute link, however, this path will be invalid if your video will be moved to another system (e.g. the LMS).  You have to alter the default path to make it a relative path.  The usual method is to copy the video file into the same publish folder as the Captivate SWF.  (By default, Captivate doesn't move your video file for you at publish time.)  If your FLV or F4V file is sitting in the same folder as your SWF, then you can just use the filename of the video file as your relative path when setting up the link in the dialog. 
    I also recommend you ONLY use lowercase filenames at all times for Captivate projects, including the published file and folders, and that you NEVER have spaces in files or folder names.  These precautions will eliminate many baffling link failures when projects are moved from a Windows development environment to another webserver environment.

  • Timer over flv or swf

    Is it possible to put a flv or swf on a frame and in a frame above or below or for that matter on the frame itself have a timer that I could time to be the same as the flv or swf.  I would like to do the in actionscript 2.  The idea behind this would be if I had a 30 second video I could set the timer for 30 seconds so upon completion, or in other words after the 30 seconds it would gotoAndPlay the frame requested.  If so, would you have the command to do so?
    Thanks,
    mark

    I have initially loaded it as an flv using the file/import/import video.  I don't know how else to load it, but if there is a better way, I am certainly willing to learn.  I am making a quiz with video answers so I would like to keep this is AS2 since I know how to do this.  My initial thought was to create a timer that would keep the frame with the video open long enough for it to play then specify a frame to go to.  I have looked online and found alot of code to do this, but I haven't found anything that works.  I realize that I am new and probably don't have the knowledge, so I am looking for a simple solution if possible. 
    Mark.

  • FLV with two sound

    Hi my friends
    I need a flv with two sound. I want to load load two different sound for one flv file. for example I want to load my flv file in frame 1 with sound 1 then I want to load my flv file in frame 2 with sound 2. How can I do it?
    Best regards
    Hanif

    you should use two flvs that contain the two sounds if sync'g is an issue.  if it's not an issue, then use two sound class instances to play your two sounds.
    you can improve your current sync'g by disabling the autoPlay of your flv and starting by the flv and your timeline after the flv completely downloads and your swf completely downloads.

  • How to Create a table with numeric trigger for INSERT

    Let me start off by saying that I am very new to DBMS.
    I need to create a Table with INSERT Trigger. I am not exactly sure if I need to have a BEFORE ot AFTER insert trigger but leanning towards AFTER.
    I have a Java code that will need insert a row each time that piece of code is executed. I would also like an oracle trigger to insert a unique numeric value (REC_ID) for that that record.
    I am totally lost and I am not sure how to go about it. Can you point me to the right direction?
    Basically my table will have the following 3 columns
    REC_ID NUMBER NOT NULL (uniquie value inserted by the trigger)
    PROPERTY_NAME VARCHAR2(100 BYTE)
    PROPERTY_VAL VARCHAR2(100 BYTE)
    Thank you in advance
    Eric

    Take a look at the following: Also please do a search in this forum.
    http://infolab.stanford.edu/~ullman/fcdb/oracle/or-jdbc.html

  • Who can help me with a trigger?

    Hi, I've got a little problem with my database that can be solved, or so I think, with a trigger. First of all, here it is.
    create table utente
    (id_utente number(5) Primary Key,
    nome varchar2(40),
    sexo varchar2(1) check (sexo='M' or sexo='F'),
    morada varchar2(60),
         data_nascimento date,
         contacto number(10),
         numero_BI number(9)
    create table servico
    (id_servico number(5) Primary Key,
         descricao varchar2(40),
         valor number(5),
         data_inicio date,
    data_fim date,
    check (data_fim>=data_inicio)
    create table modalidade
    (id_modalidade number(5) Primary Key,
         descricao varchar2(40),
         valor number(5)
    create table quarto
    (id_quarto number(5) Primary Key,
         descricao varchar2(40)
    create table inscricao_servico
    (id_inscricao_servico number(5) Primary Key,
         id_servico number(5) references servico(id_servico),
         id_utente number(5) references utente(id_utente),
         data_pagamento date
    create table inscricao_mod
    (id_inscricao_mod number(5) Primary Key,
         id_modalidade number(5) references modalidade(id_modalidade),
         id_utente number(5) references utente(id_utente),
         data_inscricao date,
         data_cessacao date,
    check (data_cessacao>data_inscricao)
    create table estadia
    (id_estadia number(5) Primary Key,
         id_utente number(5) references utente(id_utente),
         id_quarto number(5) references quarto(id_quarto),
         data_entrada date,
         data_saida date,
    check (data_saida>data_entrada)
    create table pag_mensalidade
         (id_pag_mensalidade number(5) Primary Key,
         id_inscricao_mod number(5) references inscricao_mod(id_inscricao_mod),
         mes_mensalidade number(6),
         data_pagamento date,
         unique (id_inscricao_mod,mes_mensalidade)
    insert into utente values (1, 'Manel', 'M', 'Rua grande', to_date('80.02.02','yy.mm.dd'), 123456789, 687654321);
    insert into utente values (2, 'Artur', 'M', 'Rua pequena', to_date('81.03.04', 'yy.mm.dd'), 223456789, 587654321);
    insert into utente values (3, 'Cardoso', 'M', 'Rua estreita', to_date('82.04.05', 'yy.mm.dd'), 323456789, 487654321);
    insert into utente values (4, 'Abílio', 'M', 'Rua larga', to_date('79.07.06', 'yy.mm.dd'), 423456789, 787654321);
    insert into utente values (5, 'Antunes', 'M', 'Rua nova', to_date('79.06.01', 'yy.mm.dd'), 423557982, 387654822);
    insert into modalidade values (1, 'Total', 800);
    insert into modalidade values (2, 'Diurno ate 18', 600);
    insert into modalidade values (3, 'Diurno ate 22', 700);
    insert into quarto values (1, '412');
    insert into quarto values (2, '413');
    insert into quarto values (3, '414');
    insert into quarto values (4, '415');
    insert into quarto values (5, '416');
    insert into servico values (1, 'Excursao a Fatima', 150, to_date('11.05.13', 'yy.mm.dd'), to_date('11.05.13', 'yy.mm.dd'));
    insert into servico values (2, 'Ida ao cinema', 10, to_date('11.08.22', 'yy.mm.dd'), to_date('11.08.22', 'yy.mm.dd'));
    insert into servico values (3, 'Apoio domiciliario', 100, to_date('11.07.01', 'yy.mm.dd'), to_date('11.07.31', 'yy.mm.dd'));
    insert into estadia values (1, 1, 1, to_date('11.05.05', 'yy.mm.dd'), null);
    insert into estadia values (2, 2, 2, to_date('10.01.02', 'yy.mm.dd'), null);
    insert into estadia values (3, 3, 3, to_date('09.12.15', 'yy.mm.dd'), to_date('10.02.25', 'yy.mm.dd'));
    insert into inscricao_mod values (1, 1, 1, to_date('09.12.15', 'yy.mm.dd'), null);
    insert into inscricao_mod values (2, 2, 2, to_date('11.11.11', 'yy.mm.dd'), null);
    insert into inscricao_mod values (3, 1, 3, to_date('10.04.10', 'yy.mm.dd'), to_date('11.09.21', 'yy.mm.dd'));
    insert into inscricao_servico values (1, 1, 1, null);
    insert into inscricao_servico values (2, 1, 2, to_date('11.10.01', 'yy.mm.dd'));
    insert into inscricao_servico values (3, 2, 4, null);
    insert into inscricao_servico values (4, 3, 5, to_date('10.12.12', 'yy.mm.dd'));
    insert into pag_mensalidade values (1, 1, 201110, to_date('11.10.23', 'yy.mm.dd'));
    insert into pag_mensalidade values (2, 2, 201111, to_date('11.11.27', 'yy.mm.dd'));
    insert into pag_mensalidade values (3, 3, 201112, NULL);
    insert into pag_mensalidade values (4, 1, 201111, NULL);
    drop table estadia;
    drop table inscricao_servico;
    drop table quarto;
    drop table pag_mensalidade;
    drop table inscricao_mod;
    drop table modalidade;
    drop table servico;
    drop table utente;
    Ok, the problem is: the table 'estadia' means 'stay' and 'quarto' means 'room'. I need to, before inserting on 'estadia', to check if that room is available or not.
    I may do this:
    insert into estadia values (4, 3, *3*, to_date('09.12.15', 'yy.mm.dd'), to_date('10.02.25', 'yy.mm.dd'));
    but if, after this command, i do this:
    insert into estadia values (5, 4, *3*, to_date('09.12.15', 'yy.mm.dd'), to_date('10.02.25', 'yy.mm.dd'));
    it accepts and it shouldn't, because I'm putting users 3 and 4 in the same room at the same time.
    the 3rd field is the room id and the next two fields are the entry date (data_entrada) and the exit date (data_saida). If a room is related to a specific stay in which the exit date hasn't gone by, that room shouldn't be available. Also, the exit date may be null, meaning that the exit date is unknown.
    I hope to have been clear about my question.
    Thanks, Chiapa

    This is a fairly easy business rule which can be implemented using triggers. Here goes.
    Tables (my version):
    drop table stay;
    drop table room;
    create table room
    (room_id     number not null primary key
    ,other_col     varchar2(10) not null)
    create table stay
    (stay_id     number not null primary key
    ,room_id     number not null references room(room_id)
    ,arrive          date not null check(trunc(arrive)=arrive)
    ,depart          date          check(trunc(depart)=depart)
    ,unique (room_id,arrive)
    ,check(arrive <= depart))
    /The rule you are trying to implement is this one:
    create or replace assertion no_overlap as
    check(not exists
            (select 'two overlapping stays for a room'
             from stay s1
                 ,stay s2
             where s1.room_id = s2.room_id
               and s1.stay_id != s2.stay_id
               and (s1.arrive between s2.arrive and nvl(s2.depart,s1.arrive) or
                    s1.depart between s2.arrive and nvl(s2.depart,s1.depart))
    /Sometime in a far far away future, we may be done now. That future has still to arrive though.
    So here's the trigger-code and supporting objects:
    create or replace procedure p_get_Lock(p_lockname    in varchar2) as
    pl_id number(38);
    pl_return number;
    pl_timeout number := 0;
    begin
      -- Go get a unique lockhandle for this lockname.
      pl_id := dbms_utility.get_hash_value(name      => p_lockname
                                          ,base      => 1
                                          ,hash_size => power(2,30));
      -- Request the application lock in X-mode.
      pl_return :=
      dbms_lock.request(id                => pl_id
                       ,lockmode          => dbms_lock.ssx_mode
                       ,timeout           => pl_timeout
                       ,release_on_commit => true);
      if pl_return not in (0,4)
      then
        raise_application_error(-20000,'Could not serialize for business rule.');
      end if;
    end;
    create global temporary table stay_te
    (room_id     number not null)
    create or replace trigger stay_aiur
    after insert or update on stay
    for each row
    begin
      if inserting or
         (updating and (:new.room_id != :old.room_id or
                        :new.arrive < :old.arrive or
                        :new.depart > :old.depart))
      then
        insert into stay_te(room_id) values(:new.room_id);
      end if;
    end;
    create or replace trigger stay_aius
    after insert or update on stay
    begin
      for r in (select distinct room_id
                from stay_te)
      loop
        p_get_lock(to_char(r.room_id));
        declare
          p_error varchar2(80);
        begin
          select 'Overlapping stays for room '||to_char(r.room_id)||'.'
          into p_error
          from dual
          where exists
            (select 'two overlapping stays for a room'
             from stay s1
                 ,stay s2
             where s1.room_id = s2.room_id
               and s1.room_id = r.room_id
               and s1.stay_id != s2.stay_id
               and (s1.arrive between s2.arrive and nvl(s2.depart,s1.arrive) or
                    s1.depart between s2.arrive and nvl(s2.depart,s1.depart))
          raise_application_error(-20000,p_error);
        exception when no_data_found then
          null;
        end;
      end loop;
      delete from stay_te;
    end;
    /Haven't tested it, but I think it's all okay.

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • White border problem when zooming with SWF in PDF

    Hi Everyone,
    I have posted my original querry in the Indesign forum:
    http://forums.adobe.com/message/5176893#5176893
    I'm having problems with zooming whedn trying to create a PDF with SWF inserted.. at certain levels of zoom I get a white border on the left and right of the document which squashes the content into the middle and makes it a little pixelated.  I also get a thin white border on the right when zooming out.  Does anyone have any ideas where I might be going wrong?
    Thanks,
    Em

    Not wishing to be rude, but that workflow is not supposed to be used that way.
    InDesign's ability to export SWFs is intended for showing the file in a Web page, and Acrobat's ability to embed SWFs is only intended for small annotations placed within the pages of a conventional PDF file. By placing the entire Layout as a SWF you are in effect playing the entire thing as a movie in Flash Player - all the advantages of the PDF format are completely lost, there is no vector-rendering of any content or text, and users will find it very hard to understand what's going on (the navigation buttons in Acrobat or Reader will not work, text is not searchable or accessible, multiple pages cannot be printed, etc.).
    It's not entirely trivial to do this 'correctly', as at the moment we don't have full support in the PDF standard for all the interactive features that InDesign can apply to page objects - that's why they are grouped into PDF and non-PDF in the various selection menus in InDesign. Rather than saving as a SWF you should be using Export to Interactive PDF, and ensuring that the various interactive items and media are all selected on the export dialog.
    Basic stuff such as links and video will export just fine that way, and the PDF will preserve everything else in the Layout as native text or graphics so it'll look fine, navigate properly and be searchable. Animations and buttons will not work as expected, so you may have to revise their behavior if PDF is your intended output destination.

  • Problem with this trigger

    Hello, I am new to Oracle and I am having problems with this trigger:
    CREATE OR REPLACE TRIGGER myTrigger
    AFTER INSERT OR UPDATE OF aField ON myTable
    DECLARE
    myVariable NUMBER(2);
    BEGIN
    SELECT COUNT(keyColumn) INTO myVariable
    FROM myTable
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);
    IF myVariable > 4 THEN
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')
    END IF;
    END;
    Every time the trigger is executed, this error happens:
    ORA-06502: PL/SQL: numeric or value error: number precision too large
    ORA-06512: at line 10
    How do I resolve this problem?
    Thank you.

    Hi,
    user12120979 wrote:
    Hello, I am new to Oracle and I am having problems with this trigger:
    CREATE OR REPLACE TRIGGER myTrigger
    AFTER INSERT OR UPDATE OF aField ON myTable
    DECLARE
    myVariable NUMBER(2);
    BEGIN
    SELECT COUNT(keyColumn) INTO myVariable
    FROM myTable
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);
    IF myVariable > 4 THEN
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')
    END IF;
    END;
    Every time the trigger is executed, this error happens:
    ORA-06502: PL/SQL: numeric or value error: number precision too large
    ORA-06512: at line 10
    How do I resolve this problem?
    Thank you.Are you sure the code you posted is what's actually running?
    I would expect the missing semicolon after:
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')to keep this from even compiling.
    Error numbers are supposed to be negative. That will cause a run-time error when you try to raise the error.
    This isn't actually an error, but there's rarely a need to use dual in PL/SQL.
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);can also be done this way:
    WHERE TO_CHAR(myTableDate,'mm') = TO_CHAR(SYSDATE,'mm');Actually, the condition above would work even outside of PL/SQL.

Maybe you are looking for