actionscript 3 - HTML embeded swf behaving awkwardly -


I have recently completed a Flash Website and have tested it offline on the local host, and it is completely work done. I uploaded the website: and this happens when things get weird

When offline, I put the music of the website in the loop. It works very well, the song will reach the end, play again.

But online, it reaches halfway through the song, "It assumes" that it is finished, and loops Not all this, though, there are countless other problems, and they point to all the fact that Flash Website / Songs are not being fully loaded.

I'm small and simple: I want swf and song to start playing after and they while They are loading how do I do this?

In this way I am loading SDF at this time:

  & lt; Html & gt; & Lt; Body marginwidth = "0" margin-light = "0" bg paint = "# 000000" & gt; & Lt; Embed width = "100%" height = "100%" name = "plugin" src = "RPG 33.swf" type = "application / x-shock-v-flash" & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

I think what you need preloader
There are lots of good examples for flash already available online, so I will not try to extend it here, but the general idea is that the app should start in any other 'state' / screen where it is all Waiting for the necessary resources to load, after which it should do so go to the rest of your application.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -