Copy link to clipboard
Copied
Hi Guys
I managed to get all my buttons work correctly. now i need some help with sound/music. I need the title music to play at the start of my project frames 1-28 where my first bit of frame by frame animation runs with it. But when I test project the animation runs ok but no music. But when i press button to go to another part of the project and return to home page the animation plays ok again and the music to but only for the duration of the short animation. I need the music the keep playing in that area 1/28 until the user press a button and move on.
Help! AlanY
put a stop() in your first frame and an intro message along with a button/movieclip to click to trigger your timeline to play().
(user's have to interact with browser files to permit sound to play.)
Hi I got the start button working ok.plays the animation to frame 28 and stop thats what I want. But I would like to have the musicto play at the same time and keep it confined inbetween frames 1 and 28 if that is possible!
it would be easier for you to add your start button to frame 1 and then put your sound on frame 2.
but you can start your sound with code on frame 1, if that's what you want to do.
That works to keep the sound in 1-28 but the sound now stops playing at 28. Would like the music to keep playing the hole music at 28 until the user clicks another button to take them out of that area.
yes, those are the sound functions. but you don't want to call start_soundF() until you want the sound to start and you don't call stop_soundF() until you want the sound to stop.
double click the linkage field > enter soundId (uppercase i, 9th letter in alphabet)
double click to the right of the highlighted box shown in your screenshot.
the listener function call and function name don't match. ie,
fl_ClickToGoToAndStopAtFrame_6
is not the same as
fl_ClickToGoToAndStopAtFrame6
ie, change one of them so they match.
excellent news!!!!
to close the browser tab, window.close();
NativeApplication.nativeApplication.exit();
you need to assign the linkage id to your library sound.
are you calling start_soundF()?
check the publish folder. there's probably an exe.
if not, change your target, too.
it's in the output name field path which in your screenshot is the same as the folder where you're saving your fla.
you have to use a non-self signed digital certificate, https://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html
the same code will work for all air (desktop, ios, android) versions.
nice. you're doing your own troubleshooting.
(it's definitely getting easier to help you.)
contact apple support for help.
p.s. did you pay the $100+?
Copy link to clipboard
Copied
upload your fla some place and post a link. i'll send you the exe.
Copy link to clipboard
Copied
Dont understand this.I dont want my project on the www at the moment!
Copy link to clipboard
Copied
i can't know how you can click an exe and see the screenshot you showed. afaik, it's not possible.
you will see what's at the top in the screenshot below:
Copy link to clipboard
Copied
When I drag and drop the exe back in the folder and double click, it comes up with the project and plays ok. This is what I want, But I want it to play on its own as stand alone exe on the desk top. but when it is outwith the folder it error message pops up but no program!
Copy link to clipboard
Copied
open your fla
change publush settings to exe only
select flash player 32
publish to a new folder
Copy link to clipboard
Copied
Cant find exe only in publish settings.
Copy link to clipboard
Copied
untick everything execpt win projector.
Copy link to clipboard
Copied
Tried with flash player 32 and win projector only. This makes air publish option unavailable. When published makes flash player.exe. With flash Icon/logo
Copy link to clipboard
Copied
we'll, what do you want?
Copy link to clipboard
Copied
What I have always wanted is a stand alone exe with my logo
on the exe
Copy link to clipboard
Copied
that's not doable with animate alone.
Copy link to clipboard
Copied
Whats the options?
Copy link to clipboard
Copied
shown in my last screenshot.
Copy link to clipboard
Copied
Hi again decided to go with air desktop! Thanks for all your help again. Before I send my project off for testing what can I do to protect it from being copied by other people?
Copy link to clipboard
Copied
you can obfuscate your code, but the more you do to obfuscate, the more likely you'll cause problems with your app.
Copy link to clipboard
Copied
I think I will leave that this time. Is there a way to change insallation popup, doesent look good!
Copy link to clipboard
Copied
you have to use a non-self signed digital certificate, https://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html
Copy link to clipboard
Copied
Hello again,
Thanks for all your help once more. Just waiting for a email back from DigiCert. Meantime I am converting project to Android. Think I need a new code for sound again can you help?
Copy link to clipboard
Copied
the same code will work for all air (desktop, ios, android) versions.
Copy link to clipboard
Copied
cant get the sound to play on android, must be doing something wrong! see screen shot.
Copy link to clipboard
Copied
Sound working fine now, reset linkage! all good.
Copy link to clipboard
Copied
nice. you're doing your own troubleshooting.
Copy link to clipboard
Copied
Hi again,
Cant get the exit button to work in Andoid!
Copy link to clipboard
Copied
Hi Fixed it! I had the wrong code in. Working ok now. No help needed till next time cheers.
Copy link to clipboard
Copied
(it's definitely getting easier to help you.)