fscommand within onSoundComplete does not

Hello

I build a flash animation that must perform a function javascript reading afer ends a particular sound.

Here is the code that I currently use:

var som:Sound = new Sound();
som.attachSound ("1_07_8.mp3");
SOM. Start (0,0);

som.onSoundComplete = function() {}
fscommand ("animation", "ready");
}

I publish the HTML code as a template for Flash with FSCommand, and I have the following code on the HTML code inside the javascript DoFSCommand function:

If (command == 'animation') {}

Alert ("this slide is" + args);

}

It is placed within an IIS application, so that no problem of security prevents the comm between SWF and HTML/Javascript file

I did it successfully on a test SWF, but here, the fscommand was triggered by a delivery from a button event. Is it not possible to trigger the onSoundComplete event?

THX

You must have the use of the class ExternalInterface instead of FSCommand?

This is the most modern method for communication between Flash and the web page.  You should be able to find some useful information if you are using Google.  Here is a link to an article that covers many forms of communications, including the ExternalInterface approach.

http://www.Adobe.com/devnet/flash/articles/External_interface.html

If going in this way does not appeal to you, divert your attention from the problem that you thought you had and try to recreate what you say, you got the job at the end of the html.

Tags: Adobe Animate

Similar Questions

  • Search within documents does not work

    Hi all

    I'm a technical support engineer in a company and we are facing following problem.

    For some users the windows search returns no results when you search for specific words that are written in a PDF (windows search) file is stored locally or on a network drive.

    We have already tried

    1. we checked the parameters of indexation (search is enabled for files indexed and non-indexed) in the Index options = > Advanced Options = > file types = > pdf filter is indicated in the description of filter and we scored "properties of the index and contents of the folder.

    2 installed Adobe iFilter

    3 remove a path from the register which is also responsible for this question http://support.microsoft.com/en-us/kb/977380

    4 recreated Index

    Information System

    Windows 7 SP1 Enterprise x 64

    Adobe Acrobat Reader 11.0.0

    If you need other information. Please let me know and I apologize for my bad English.

    Best regards

    This problem is not really related to Adobe Reader. It's a matter of Windows.

  • How to select multiple lines of text (without selecting all the text) within a title? (Holding Cmd does not work)

    I need to select several lines of text (in the various sections of the text) within a title without selecting any text. Holding Cmd like you would in other applications does not work, and now Shift selects all. Does anyone have a solution?

    Thank you.

    YYou cannot select several segments of text in a text block.

  • ATL-TAB within the APPLICATION does not work

    I'm a convert from windows and love the mac but Alt - Tab within the application does not work - very annoying. I often have multiple windows in the same application, and if the only way to go is to use 4 fingers Mission control, it's terrible because Mission control lists all windows in a small size and pain to know that you want to go. While with alt - tab, I can quickly cycle or just go to the last which is often I want to go to.

    It is one of the major issues Mac usability for me.

    Any tips? or addons?

    Thank you.

    Cmd -'

    Curiously, this document has the wrong shortcut. Keyboard shortcuts in Mac - Apple Support

    They have to move to the next application window is to go to the previous application window.

  • Sliders on my muse adobe site are visible when I discovered the site in the browser within the program, but does not show up on published site

    Sliders on my muse adobe site are visible when I discovered the site in the browser within the program, but does not show up on the published site.

    explorersglobalfineart.com

    How can I rectify this?

    Thank you

    A large number of files in your site seems not to be on the server. If you use file > upload to FTP host, please repeat the process and select Download all files. If you use file > export as HTML and download with an FTP external program, please repeat the export process in an EMPTY FOLDER and then download everything that has been exported to your server.

  • "Navto" command within the overlay network does not not in Windows

    We have exactly the same problem as in this thread, just for Windows: "Navto" command within the overlay network does not not in Android

    There is some code in an overlay of web which should "navto" one other article, if there is no interaction with the screen after a defined period of time.


    But unfortunately our folio of test does not work on Windows. There is an error message indicating that no application is defined for navto links. Shouldn't the Viewer for content Windows catch these links?

    I have confirmed with our engineers navto in the meta tag is not supported on Windows. It will work in a , or via window.location in JavaScript, but not in the meta tag.

    Neil

  • "Navto" command within the overlay network does not not in Android

    We are building an Android app for the native Viewer. We placed another article of the code within a web overlay which should "navto" If there is no interaction with the screen after a defined period of time.

    We used a piece of code, saved to a file .html, in an iPad app and works great. Import the html file in a box with Web content overlay. However, the same code and the process does not work in Android - we've even created a test iPad Folio (who worked on the iPad) and downloaded the same folio on our Android device in the content viewer - which did not work.

    Instead, what is happening, it's the box that we have placed our code in "Web Page not available" poster in the desired space after the end of our timer.

    It seems that he cannot understand the URL navto. Instead, it looks like an external web page. Whereas the iPad include cela and redirects to the section of the screen saver.


    We use a Samsung Galaxy S Tab.

    We expect a response from Adobe Support on this, but our time is fast approaching, so any help would be welcome please

    He broke. We have a bug fix in the process, and it should be available Monday.

    Neil

  • While the loop does not stop within a structure of business

    Hi all

    I have a business structure that works an engine to a certain PWM when my metal detector does not give an amount greater than the threshold that is ' false '. The motor is controlled by a PI controller so a while loop is used inside the false state. When my metal detector exceeds the threshold I want the "true state" to perform but which does not occur. the entire program is a while loop which aims essentially to maintain the operation of the metal detector. How can I make the State of the switch works.

    Once you get the code is trapped inside the inside while loop, it will never be a Boolean wire change because change is outside. All you need is a loop that contains a structure of housing. Run your program with execution highlighting to get a better understanding of the flow of data.

  • HTML5 does not not within player Oracle LMS

    I use Adobe Captivate 8.1 to develop sensitive (HTML5) courses and publication on Oracle EBS LMS 12.1.

    I can see the course at IE11 browser without problem (with verified compatibility view).

    But when running courses in the LMS (Oracle LMS) drive I get the following error:

    "The content you are trying to view is not supported in the current Mode of Internet Explorer Document. Change the Document Mode on Internet Explorer 9 standards and try to view the content again. To change the Document Mode, press F12, click on Document Mode:, and then select Internet Explorer 9 standards. "

    Verified settings compatibility mode is the default for all users of our IT, and we cannot change it.

    I tried all modes of document of F12. did not help.

    I tried to add the following to the index_SCORM.html header (first line meta), but that didn't work either:

    < meta http-equiv = "X-UA-Compatible" content = "IE = EDGE" / >


    This line supposed to override the default setting of the browser to display compatible and let the browser act like IE11 (later).


    but I guess that since OLM player is a frame based player it does not allow the substitution.



    Can anyone help?  I need of course HTML5 on OLM.


    After a tedious search and Discovery mission, I found the following solutions:

    1. do not user the player PROTEUS to run the course, use rather a popup window that directs the user to another window where HTML5 is supported. Here, the obstacle is to keep track with the LMS.

    2 - upgrade your OLM Oracle 12.2.4 which supports HTML5.

  • Align layers to the selection within the artboard does not not in 20151114.r.301 x 64

    A very annoying bug has been introduced since the last update:

    If you perform the following steps in a work plan

    (1) make a selection

    (2) select a layer in the layers panel

    (3) layer > align layers to selection > (al six options)

    The layer is not aligned to the selection, but to the artboard instead! Is anyone have a work around?

    By aligning the selection is essential for the harmonization of layers in a drawing or model. I hope that Adobe will solve this ASAP!

    Screen Shot 2015-12-02 at 16.03.07.png

    This is a bug.

    It's a side effect of change where we allowed layers be aligned with work plans parent; We does not check for an existing selection mask before allowing the artboard to be a widening of the entire alignment.

    Fix is in preparation. Can't comment on the ETA for you, unfortunately. Just know that it is in the pipeline.

    My apologies for the inconvenience.

  • I placed a photoshop within a new image file and it does not display

    I placed a psd file in a new psd file and it does not display.  He scored on the screen for a while and then disappeared, and no matter how many times I try, it will not show

    I have started a new file, placed the picture and the screen became a weird pattern. I ended up closing the program and nine and it worked correctly.  Something went wobbly at the session, I guess.

  • Dose homepage does not access it from a web browser, completely very well traveled so where else within the site?

    Hello

    My site in general works perfectly fine, but when you access from the site via a browser to move the object of home pages and the dose of text does not show.  When you navigate to another page, and then return to the home page, it works fine.

    My site is: www.dallyhenderson.co.uk

    All solutions?

    Here, everything is absolutely perfect! (Mac, Safari version 7.0.5)

  • Button within a code of cutting of the film does not.

    I have an instantiated "howto_weblink_btn" button that is inside a MC instantiated "HowTo_maininfo_mc."

    I want to write a code allowing me to access this button in the main navigation menu. Here's what I come up with:

    ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ -------------------------------------------------

    HowTo_maininfo_mc.howto_weblink_btn.addEventListener (MouseEvent.CLICK, onClick_openJTV);

    function onClick_openJTV(event:MouseEvent): void {}

    HowTo_maininfo_mc.navigateToURL (new URLRequest ("http://www.ubloom.com/index.php?option=com_content & task = view & id = 718 & Itemid = 152"));

    }

    ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ -------------------------------------------------
    However, I get an error:
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    to acolyte24A_fla::mainsite_mc_2/frame30() [acolyte24A_fla.mainsite_mc_2::frame30:4]
    any ideas what could be the problem?

    HowTo_maininfo_mc.howto_weblink_btn

    does not exist when this line of code is run.  check for faults of strikes, in particular, if you use

    HowTo_maininfo_mc. HowTo_weblink_btn

  • Sum within the xdofx:Abs does not work

    I try this
    <? xdofx:ABS (sum (OLD_EXT_PRICE) - sum (EXT_PRICE))? >

    but it's not working.

    All the suggestions here.

    Thank you
    Mouly

    Glad it worked for you :) and I have been useful for you.
    No credits and closed it ;)

    If this does not work, let me know, I can give another too ;)

  • iMessages group Conversation does not go in DND

    I've just updated to iOS 10 on my iPhone more than 6 and a group conversation in the Messages that I sometimes put on DND now does not recognize that the conversation has been implemented within DND.  Messages continues to inform me about all messages from anyone in the group.  Is there any solution for this?

    Thank you

    Brent

    Have what troubleshooting you tried? Troubleshooting user steps include reboot, reset, restore from backup, restore to factory; tests after each stage.

    If you return in the message after the ignition of the DND, does always show as it is turned on?

Maybe you are looking for

  • HP 8630: printer is not closed, stuck in print cancellation

    I was recently working with turbo tax.  My taxes of HP printer or turbo insisted on printing from an earlier version of my tax return, not the final one. This is true even when I printed from a PDF file which appeared perfectly fine. The program or t

  • malfunction of the iPad?

    My ipad has suddenly started to reverse the image on its screen, whenever I do another 'task' out there. Example, by tapping on the safari icon to access this Web site, it return the image on the screen completeky, completely reverse that, and as som

  • Create the screw terminals in Multisim

    Hello I am looking for a Terminal screw in Multisim to use for laying on a wiring diagram. These do not exist or would have to create it? If I create it, someone at - it a simple way to do it (I have never had one to create a component, etc. in Multi

  • Pavilion DM1: Stay before moving on to Windows 10 kl1.sys driver search

    Fault of kept my upgrade to Windows 10 and I found this driver kl1.sys had been let go a previous uninstallation.  He was not related to any process underway and once deleted my upgrade went smoothly.

  • Failure of Windows xp Setup

    I added a new disk on a Compaq Presario F700 (WD500Gig Scorpio SATA) I'm bombing setup of Windows XP in the same place and get the same error message. I was told to replace the HARD drive and do a clean install. Here is the error message "Data error