I just wonder if it possible to submit a flash game that requires multiple swfs files.
I just wonder if it possible to submit a flash game that requires multiple swfs files.
At 2/22/13 08:34 PM, nisitGamesStudio wrote: I just wonder if it possible to submit a flash game that requires multiple swfs files.
You would need a single swf that loads the other ones in somehow. If you can host the files, you can use the loader class to grab the swfs.
Thank you for your extremely quick reply
doesn't doing that violate the term that we cannot link to the external site? or are we allowed to do? if we are, that would be great.
suppose that if we can, what is the exact domain of our submit game (eg url such as www.newgrounds.com), so that I can set my crossdomain.xml in my server site.
Thank you in advance for your kindly reply
At 2/22/13 08:41 PM, nisitGamesStudio wrote: Thank you for your extremely quick reply
doesn't doing that violate the term that we cannot link to the external site? or are we allowed to do? if we are, that would be great.
suppose that if we can, what is the exact domain of our submit game (eg url such as www.newgrounds.com), so that I can set my crossdomain.xml in my server site.
Thank you in advance for your kindly reply
just extra info the word I "cannot link to external site" I meant load content info from external site
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="*" to-ports="80, 443" />
</cross-domain-policy>
that allows access from every ip to ports 80 and 443.
be aware of security risks with all of this.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 2/22/13 09:05 PM, egg82 wrote: <?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<a llow-access-from domain="*" to-ports="80, 443" />
</cross-domain-policy>
that allows access from every ip to ports 80 and 443.
be aware of security risks with all of this.
Thank you for your kind guide, but
My original question was "Are we actually allow to publish a game to newground that load other extra file from external site?" << will this one violate the term of newgrounds account usage.
And I don't want to permit every domain by setting to "all" so i want to know the specific domain that I can put it on.
Thank you very much for your kind answer, by the way
At 2/22/13 09:12 PM, nisitGamesStudio wrote: My original question was "Are we actually allow to publish a game to newground that load other extra file from external site?" << will this one violate the term of newgrounds account usage.
Its not against the rules. Lots of games do this, especially the multiplayer ones.
At 2/22/13 09:12 PM, nisitGamesStudio wrote: My original question was "Are we actually allow to publish a game to newground that load other extra file from external site?" << will this one violate the term of newgrounds account usage.
oh, I wasn't quite sure what you were asking so I took a shot.
4ur's right, it's not against anything that i'm aware of. Just watch your bandwidth, because it's going to skyrocket when you get thousands of people viewing your game.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 2/22/13 08:34 PM, nisitGamesStudio wrote: I just wonder if it possible to submit a flash game that requires multiple swfs files.
Hey, I wonder, do you manage to solve your problem? I have many URL's in my game, that are executed local (editing each url, by add to it domain prefix would kill me). Now i'm struggling the same problem, how to allow execute local files on my server from Newgrounds loader? I know i shoul change default domain, so local url's will know to load with proper prefix. Help!
You know how to concatenate strings?
Just use Ctrl+F in the code and replace URLRequest with CustomFunc.
function CustomFunc(str:String):URLRequest{
return new URLRequest("http://www.example.com/"+str);
}
What this does, is replacing URLRequest("resource1.wav") with CustomFunc("resource1.wav") and CustomFunc is some sort of a mdified URLRequest, if you could say that. Quick, easy and dirty code-patching, I know.
At 7/10/13 10:45 PM, kkots wrote: Just use Ctrl+F in the code and replace URLRequest with CustomFunc.
function CustomFunc(str:String):URLRequest{
return new URLRequest("http://www.example.com/"+str);
}
Wow, if this will work it would be great, thanks! I will post results.
Wait a sec, you mean I must replace every "URLRequest" to this pre defined string (modify each link)? Or I can modify URLRequest Class so every link will run with domain prefix (just one function)?