Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 ViewsHi, guys, my game need to set the 'wmode=direct", Otherwise my game cann't run.
Please tell me ,where to set 'wmode=direct"?
At 6/19/13 04:37 AM, YFC wrote: Please tell me ,where to set 'wmode=direct"?
In your HTML page, in the tag where you embed the swf
At 6/19/13 07:01 AM, kkots wrote:At 6/19/13 04:37 AM, YFC wrote: Please tell me ,where to set 'wmode=direct"?In your HTML page, in the tag where you embed the swf
Thank you
but my url is http://www.newgrounds.com/projects/games/687854/preview
not in my site.
At 6/19/13 04:37 AM, YFC wrote: Hi, guys, my game need to set the 'wmode=direct", Otherwise my game cann't run.
Please tell me ,where to set 'wmode=direct"?
your game runs fine, only its white screen for some time, probably loader is not well implemented. spartans au au au
RangeError: Error #1125: The index 4 is out of range 4.
http://www.newgrounds.com/bbs/topic/1259855
http://www.newgrounds.com/bbs/topic/1318156?footer_feature=a rt
http://forum.starling-framework.org/topic/portals-that-suppo rt-wmode-starling
Newgrounds supports wmode=direct
Why are you asking your question in the first place? Let's get to the core of your problem.
At 6/19/13 09:13 AM, kkots wrote: http://www.newgrounds.com/bbs/topic/1259855
http://www.newgrounds.com/bbs/topic/1318156?footer_feature=a rt
http://forum.starling-framework.org/topic/portals-that-suppo rt-wmode-starling
Newgrounds supports wmode=direct
Why are you asking your question in the first place? Let's get to the core of your problem.
Thanks a lot, but my game is still blank screen.
A great action/strategy/defense/ game
I don't konw why.
At 6/20/13 12:45 AM, YFC wrote: Thanks a lot, but my game is still blank screen.
I don't konw why.
At 6/19/13 07:54 AM, nitokov wrote: your game runs fine, only its white screen for some time, probably loader is not well implemented.
.
At 6/20/13 05:08 AM, milchreis wrote:At 6/20/13 12:45 AM, YFC wrote: Thanks a lot, but my game is still blank screen.
I don't konw why.At 6/19/13 07:54 AM, nitokov wrote: your game runs fine, only its white screen for some time, probably loader is not well implemented.
I guess maybe he means that he wants his preloader to show up instead of a white screen while loading?
If so, this link might be useful. Quote from the answer:
You might need to set the actionscript settings' export frame to 2, depending on what classes/components you're using.
This is what you might want to try. A white screen shows up because it tries to load all the assets in the first frame, which defeats the purpose of the preloader. Try having the assets that are dynamically linked from the library to "Export on Frame 2" instead of on Frame 1.
Speaking of wmode=direct, I'm coding in FD and I've been getting the 'This application is not correctly embedded (wrong wmode value)' line error CTRl+ENTER. (The SWF works fine.) I know that means I have to set wmode=direct, but I have no idea where the .html file is located. My bin folder is empty except for the SWF.
Can anyone tell me where the html file is? Thanks.
At 6/20/13 09:54 AM, FlyingColours wrote: Can anyone tell me where the html file is? Thanks.
You need to go to 'File'-->'Publish Settings...' and publish the application as html. Once you get the generated html page, you need to inject wmode="direct" code into it. Keep the html and swf in same folder. Then you only need to update the swf, and not change html page every time. After updating the swf (by pressing Ctrl+Enter) you need to open html page in your browser.
At 6/20/13 09:54 AM, FlyingColours wrote: Can anyone tell me where the html file is? Thanks.
bin -> index.html
RangeError: Error #1125: The index 4 is out of range 4.
At 6/20/13 02:32 PM, kkots wrote: You need to go to 'File'-->'Publish Settings...' and publish the application as html. Once you get the generated html page, you need to inject wmode="direct" code into it. Keep the html and swf in same folder. Then you only need to update the swf, and not change html page every time. After updating the swf (by pressing Ctrl+Enter) you need to open html page in your browser.
I'm using FD...
At 6/20/13 02:35 PM, nitokov wrote: bin -> index.html
I figured the bin folder was the logical place to look, too, but it wasn't there; only the SWF was there...
Try this html page generated by Flash CS4. It's sort of insanely complex, try to find where SWF is embedded. My SWF is called MadnessDayFighter.swf.
Download it, edit it, run it in browser, and then simply keep updating the SWF and keep testing the html+swf in browser.
At 6/20/13 07:05 PM, kkots wrote: Try this html page generated by Flash CS4. It's sort of insanely complex, try to find where SWF is embedded. My SWF is called MadnessDayFighter.swf.
Download it, edit it, run it in browser, and then simply keep updating the SWF and keep testing the html+swf in browser.
Never mind; Mint's helped me with it. Thanks anyway! :)