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
Cant get this to work. just comes up with error!
Copy link to clipboard
Copied
you need to assign the linkage id to your library sound.
Copy link to clipboard
Copied
That stopped the error message, loading up ok. But still not playing sound.
Copy link to clipboard
Copied
are you calling start_soundF()?
Copy link to clipboard
Copied
Hello again
Does Air for desk top do any kind of transitions between frames?
Copy link to clipboard
Copied
is it capable of transitions (tweens)? yes, all 3 tweens are supported
Copy link to clipboard
Copied
I would like to have one frame morph into the next frame can I do this with tweening?
Copy link to clipboard
Copied
frames don't morph/tween. the contents of frames (which consist of layers), can be tweened.
a typical workflow (for me) would be to click a frame (selecting everything on-stage in that frame), right click over the on-stage contents and click distribute to layers. then tween each layer.
Copy link to clipboard
Copied
Hi again
Decided to drop the idea of frame transtions. So now my project is complete. I'm happy about that and all the help you have provided,thanks again! Now I would like to know the easy way, if possible on how to publish. I have tried and got nowhere. Need help!
Copy link to clipboard
Copied
just click file>publish.
Copy link to clipboard
Copied
Tried that just comes up with this!
I would like to make it into .exe file.
Copy link to clipboard
Copied
then change your publish settings (file>publish settings) to create a win projector file
Copy link to clipboard
Copied
Still keeps coming up with-
Copy link to clipboard
Copied
check the publish folder. there's probably an exe.
if not, change your target, too.
Copy link to clipboard
Copied
Dont know where the publish folder is located!
Copy link to clipboard
Copied
it's in the output name field path which in your screenshot is the same as the folder where you're saving your fla.
Copy link to clipboard
Copied
Found it! cheers
Copy link to clipboard
Copied
excellent.
Copy link to clipboard
Copied
Hello again
Trying to make stand alone version of my application, without the flash menu on top!
Copy link to clipboard
Copied
experiment with the various air/projector file options to see if you can get what you want.
Copy link to clipboard
Copied
Hi again
tried experimenting with various air/project file options still cant get the one I want. Made some progress with changing the Icon to the one I want but still cant make it a stand along .exe. Keeps putting it in a folder with all its bits and will only give me a short cut to the application!
The one with the flash symble is sand along .exe but I want the other symble on my poject.
Copy link to clipboard
Copied
what happens if you move the exe to a new folder and click it?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
no, move the exe. then click/double click the moved exe.
Copy link to clipboard
Copied
Moved .exe to desktop!
After double click this message popped up!