AS3 Mobile Splash Screen Sound - actionscript-3

Creating a project using AS3, have my splash screen files set up. Curious to know if it's possible to play a sound while the splash screen is up?
Cheers.

Related

Actionscript 3.0 Preloader Instantly Finishes

I have had a lot of trouble trying to make a preloader work in Actionscript 3.0. I'm also using Animate CC.
So to try to figure out how to even make it work, I downloaded Simple NG Loader from Newgrounds https://www.newgrounds.com/downloads/preloaders/ , to make sure I had a working preloader. Then I got 4 high res images from google, around 10000x10000 pixels each, adding up to 85MB, to make sure there was more than enough to load.
I placed the preloader on the first frame, and put all the images on the second along with "stop();".
When I play, the preloader instantly finishes, but it leaves me with a white screen for a while before the images eventually shows up.
If I play it using a standalone flash player, it instantly crashes.
I would really appreciate some help with this!
The issue is probably that the game will already be fully loaded when you launch the swf in flash. You need to set your flash player to "Simulate Download". Do the following:
Hit ctrl+enter in your ide to launch the swf
Hit view on the menu of the swf and click simulate download.
The swf will now restart and pretend it's downloading. If you open view again, you can select the download speed by going to "Download Settings"

Getting little play controls over my flash video?

I have an .swf that plays a small flash video on a website, and I can't for the life of me figure out how to get little controls similar to this virtual spokesperson on this website.
http://washerwizards.com/
I'm not flash savvy, but I keep reading about skin files etc. I'm unsure of how to make them work though.

Why does my AS3 Video scrubber work in Preview and FP10 but not when published to Air?

I have coded an as3 class in Flash Pro to make an flv video pan backwards and forwards as the user drags the mouse left and right over the video sprite. (The video is an orbit of a building so the effect is to spin the building around with the mouse). The video has been loaded to a DisplayObject using Greensock's LoaderMax.
It all works fine in Flash Player 10 and the preview, but won't pan when published to Air 2 for desktop on windows. Video just jumps to the final position on mouseUp. Would this most likely be a limitation of Air? if so, why does the preview work? Any suggestions greatly appreciated.

StageVideo landscape on portrait screen with autoOrients = false

I am trying to display landscape in adobe air (ios/android) stage video when the screen is portrait and the autoOrients = false
Can I rotate the video?
Or do other manipulation that will case the video to rotate?
This is surprisingly easy. Before you encode the video just turn it on its side.Then encode it. So that when it opens it will open like this in your portrait-mode app:
Then just add it to your media assets in the usual way. When it plays just turn your phone 90 degrees! When finished, turn back to the rest of your portrait-mode material.
If your video already exists and you don't have access to, say, Adobe After Effects in order to make the rotation, you can rotate it with iMovie on a Mac, Windows Live Movie Maker on Windows, or even through some web sites that do this as a service.
When you locked autoOrients (false) - you can't receive StageOrientationEvent event so you can't change/read current orientation and this is fully correct.
I can assume that you can using Accelerometer detect angle of your device and emulate orientation changing. In this case you can update stageVideo viewPort frame and video may automatically fits to the frame. But you can't rotate it. Just change width/height depending for pseudo-orientation.

Actionscript Screen Idle

I made a small flash program to help me with my workouts but because of the length the computer screen goes idle. It looks like there is a solution for this on android but is there one just for regular flash programs?
If this is an AIR app, to disable screen timeout set:
NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
If this is Flash running in a browser, I do not believe it is possible.