Ebedded Flex app does not play automatically

I have a flex app that is embedded in a web page.
When the page loads for the first time the app does not run
automatically but is in "loop" mode.
In order to embed the application in the html page we have
copied the html and javascript files that the Flex builder
generates :
AC_OETags.js, history.htm, history.js etc.
This only happens the first time the page is loaded,
subsequently it loads and plays automatically.
I would be grateful is anyone has some insight here.

Thanks for your answer, we found a similar workaround.
We did the following:
1) disable automatic starting of the SWF in the script that
created the plugin by adding these parameters:
"play", "false",
"loop", "false",
2) adding some own javascript to the template-html:
var isMovieLoaded = false;
function setIsMovieLoaded(){
isMovieLoaded = true;
function start(id) {
var swf = document.getElementById(id);
if (swf) {
swf.Play();
function playMovie(){
if( !isMovieLoaded ){
start( "${application}" );
window.setTimeout("playMovie()", 3000);
3) calling setIsMovieLoaded() via ExternalInterface from the
loaded application when initializing:
if (ExternalInterface.available)
ExternalInterface.call("setIsMovieLoaded");
This way when the application loads and plays correctly, the
delayed call to playMovie in the html-template does nothing,
because the flag isMovieLoaded was already set by the application.
If that is not the case, the movie is explicitly startet via
the start function.
Thanky anyway :-)

Similar Messages

  • Animation does not play automatically when published

    I am having a problem with swf files that do not play automatically in my project. Actually some do and some do not. I have the properties set to no transition and rest of slide and even tried rest of animation. The slide works when I play it but when I preview the project the animation does not start. Sometimes I can click the play button and it will play but the other objects will have started so the timing is off.
    Does anyone have any suggestions to try?  Thanks Emily

    Welcome to our community, Emily.
    Usually things pause because there is a Button, Click Box or Text Entry Box object on the slide and these objects pause the slide waiting for user interaction.
    Do the slides where you are seeing animations stopping have any of these objects? If so, you may need to tweak the pause point. (indicated by the double bars ( || ).
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Flex 3.5 app does not play in FP 11?

    Plays fine in FP 10.xx but no luck with either of the FP 11 variants.  Has anyone else had this problem or any thoughts?
    Thanks.

    Does it load other SWFs?  Maybe it is tighter security rules?

  • Some apps does not start automatically at start up

    Hi guys.
    I've noticed a little problem with my automatical start up apps. I have a few there: Growl, Dropbox, Fantastical... and also Quicksilver, but it doesn't load as the others. I have to run it after the whole start up.
    I have the "Start at login" field marked in the Quicksilver preferences panel.
    Any ideas?
    Thanks!

    I think the problem is related to the quarantine bug in osx-lion.
    http://reviews.cnet.com/8301-13727_7-57374676-263/workarounds-for-quarantine-bug -in-os-x-lion/
    the developer of herald send me some code i had to enter in console, and it worked!

  • Video app does not play. Now goes to blank screen.

    Video app that comes with iPad has stopped playing videos. When sellected the screen goes to black.

    Quit the app and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or try this .....
    Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. when the movie appears in the search - tap on it and it should hopefully start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK.

  • When i plug my iphone 5 to the computer, it does not play any sound except the music app

    I need help to fix my iphone 5. i recently plug in my iphone 5 into the computer and tried to play music on youtube, or websites it does not play anysounds. but when i tried to play music on the music app it works normal. anyone knows please help me. thank you

    PrinceKavin wrote:
    I need help to fix my iphone 5. i recently plug in my iphone 5 into the computer and tried to play music on youtube, or websites it does not play anysounds....
    Perhaps you need to spend a little bit of time here...
    iPhone User Guide (For iOS 6 Software)

  • Ipod 4th gen does not play music from list automatically. just plays one and repeats it.

    ipod 4th gen does not play from list automatically. it just plays one at a time and then repeats it until i select another.
    how do i set it to play all on playlist?

    On the left side of the Now Playing screen right below the scrubber bar is the repeat control. It is the arrowed racetrack icon. Tap the icon until it is white for no repeat.

  • The ipad music app does not allow me to play certain tracks that i have synced via my itunes. The tracks are clearly visibly in the music app but when tap on them to play they wont play. help and advice will be much appreciated

    The ipad music app does not allow me to play certain tracks that i have synced via my itunes. The tracks are clearly visibly in the music app but when tap on them to play they wont play. what do i do?

    Agree about the disaster part. I haven't found a fix within iTunes.
    I gave up and switched to downcast 2 days ago. Even though it was a hassle to re-subscribe to all my podcasts, im so much happier.
    To make switching easier, I found that in iTunes you can "get info" on the podcast and copy the RSS address to the clipboard. Put all of these in a message note. When iCloud syncs the note to your phone, you can copy and paste the urls into downcast one at a time to subscribe.
    Downcast has crashed on me occassionally when I'm subscribing to feeds, but so far it has recovered gracefully each time and no data was lost.

  • The audio in app videos does not play.  It used to so I think it is an ios6 problem.

    Tha audio in app videos does not play.  It used to and works in Safari so my guess is it is an ios6 issue.  Any ideas?  Thanks.

    From Finder menu select Preferences -> Sidebar tab, and tick External disks

  • Safari 8.0.2 does not play any sound (but sound works in other apps).

    Safari 8.0.2 does not play any sound (but sound works in other apps).

    Hi Michaelgst,
    Welcome to the Apple Support Communities!
    I understand that you do not hear sound from Safari on your computer but you do hear sound in other applications. There may be several troubleshooting steps I would suggest to troubleshoot this situation. 
    The first troubleshooting steps I would recommend would be removing any unsupported third-party add-ons. Please use the information and instructions located in the attached article to complete this process. 
    Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues - Apple Support
    Best regards,
    Joe

  • TS2313 Recently downloaded the new podcast app, but does not play offline. Can anyone help.

    Recently downloaded the new podcast app, but does not play offline. Can anyone help? Thank you.

    Hey Karenfromanamosa,
    I fixed this problem by turning off the ipad and then turning it back on after 5-10 minutes.
    Hopefully then when you play a video it will start playing.

  • Android App does not work for me

    Hello:
    I have an Android Tablet with 2.3.3 version.
    The tablet has flash player 10.1 and  Adobe Air 3.0 installed.
    I have made a simple apk in flash CS5.5 iwith Adobe Air SDK 3.1.
    The application only has a frame with a "Welcome" label.
    When I install the application in the tablet is OK but when I run it I have no error only a black screen,
    Can you help me to solve this, Please?
    thank you very much.

    The device I run from is Android 4.1.  It does work but the screen ratio is wrong.  Not slating BT.  The app is brilliant but want to watch in full 16:9.  I think it's a slight oversite on there part which can be easily fixed.
    My device connects to the TV via HDMI so I suspect the BT sports apps does not recognise this and plays it in 4:3 left justified.
    Live screen shot courtesy of the BT Sport App.
    Playing stream before going full screen and preview stream is 16:9
    Playing full screen and ratio is 4:3

  • ORA-20001 FLEX-ID DOES NOT EXIST

    Hi Experts,
    Please am having this issue when running create Grade api for HCM of Oracle EBS.
    When i execute this script below to existing Business Group( Vision University 1759 or Vision Corporation 202 ) data is transferred to per_grades and per_grade_definitions tables
    But when i execute this same script pointing to a Business Group  (TEST  BG 7891) we created by ourself  it gives error code ORA-20001 FLEX-ID DOES NOT EXIST
    I have a strong feeling that creating our Business Group and setting up the Grade Flexfield has a problem, but i can 't trace the fault, am not EBS expert
    Please can you please advice where am going wrong !!
    Thanks,
    Kwesi
    SCRIPT BELOW:
    Procedure Create_Grade
    is
    l_Validate  Boolean := FALSE;
    l_Business_Group_id Number(15,2);
    l_Date_From Date;
    l_Sequence  Number(15,2);
    l_Grade_id  Number(15,2);
    l_Object_Version_Number Number(15,2);
    l_Grade_Definition_id Number(15,2);
    l_Name  Varchar2(100);
    l_OVN Number(15,2) := 1;
    i Number;
    Begin
    For Grad In (Select * from chr_Grades where OVN IN l_OVN) loop 
    Begin
    apps.hr_grade_api.Create_Grade(
    p_Validate => l_Validate,
    p_Business_Group_id =>7891,
    p_Date_From => to_Date(sysdate,'DD-MM-YYYY'),
    p_Sequence => 11,
    p_Grade_id => l_Grade_id,
    p_Object_Version_Number => l_Object_Version_Number,
    p_Grade_Definition_id => l_Grade_Definition_id,
    p_Name => l_Name,
    p_segment1 => Grad.Grade_id,
    p_segment2 => Grad.Grade_Name,
    p_segment3 => Grad.Grade_Description
    Update chr_Grades Set OVN = 2
       where Grade_id  = Grad.Grade_id;
          End;
    End loop;
    Commit;
    End Create_Grade;

    Well, i found the solution to my problem, and is just creating the segment you want to use in your flexfield without PASSING ANY VALUESET.

  • ITunes player does not play songs since upgrading to 10.5.1; not fixed with 10.5.2 upgrade. What now?

    After upgrading iTunes on my laptop to version 10.5.1, my player will NOT play any songs. My Library seems intact and no songs appear to be missing, but no song will play --not a song downloaded from iTunes Store, nor a song downloaded from a CD. I was hoping version 10.5.2 would fix this, but apparently not. Still not working. Songs do play on my iPod and on my iPhone and I can transfer songs from my laptop to my devices; I can also download Apps to my laptop through the iTunes Store, etc.--all other functions of iTunes seem to be okay, only the player is not working. (My laptop is an hp Probook with Intel i5 chip, Windows 7 Pro OS.)

    Does it look like the song is playing at the top of iTunes? Can you see the timer moving?
    Also, make sure the volume slider isn't all the way to the left (mute).
    This Apple document may help too -> iTunes and QuickTime for Windows: Audio does not play or plays incorrectly

  • I applied a template to a page with SWFs and now that page does not play the SWFs. Why?

    I applied a template to a page with SWFs and now that page does not play the SWFs (just a blank area where the SWF should be). When I detach the template it will play the flash file. This site will eventually be updated via Adobe Contribute. And I just discovered that when applying a template to a page that uses HTML datasets (Master/Detail),it no longer reads the Master/detail regions and displays a blank. Any thoughts?
    [Moved to Dreamweaver forum by moderator]

    Firstly, you shouldn't really 'apply' a template to a page, you should create a child page by going to FILE>NEW>Page from Template.  Too many things can happen when applying a template the way you are doing it. eg:; editable and non-editable regions not matching up and being asked where to place these regions and in all likelihood, you end up with 2 or more of the same region.
    When a swf file is inserted into a page, a corresponding Scripts folder is written automatically is stored in the root of the site - it is also linked to in the head of the document. What I believe is happening is that when you apply a template to the page, the Template has no idea that there is a swf file on the page and is not aware of the correct link to the Scripts folder.  If you do a test and add the swf file to the template page itself, I bet that the links to the swf and the scripts folder are correct - because DW knows the correct path to the script file.   Hence the reason the page probably works when you detach it from a template.

Maybe you are looking for