flex support. What kind of wrapper around my swf?
Chris said
a long time ago | Post #2There should be no difference if you use flash or flex. I happen to know that Dots and Boxes are written in flex, and works just fine :)
rdz said
a long time ago | Post #3Hi there,
i guess my question is related to this.
...
guess not, i'll make a separate topic
i guess my question is related to this.
...
guess not, i'll make a separate topic
Last edited a long time ago
agahov said
a long time ago | Post #4Hi, Chris
Sorry for repeat, but it very impotent and I want to be sure that I understand all right.
>There should be no difference if you use flash or flex. I happen to know that >Dots and Boxes are written in flex, and works just fine :)
You mean I can use
Application as main class.
And type of my project is FlexProject, not ActionScriptProject?
How I can see in NonobaAPI there are some manipulations with stage
I guess that break my Application or will not work.
Application control all resize through SystemManager.
And no possible add MoveClip to the Stage in FlexApplication.
I can change this code but I am afraid that my application will be loaded to the another swf and it again will break my application.
questions:
my finished game swf is loaded to another swf wrapper or it live in html wrapper?
I suppose it loaded to swf wrapper. if I right can I get this swf wrapper for testing with my game swf?
Sorry for repeat, but it very impotent and I want to be sure that I understand all right.
>There should be no difference if you use flash or flex. I happen to know that >Dots and Boxes are written in flex, and works just fine :)
You mean I can use
Application as main class.
And type of my project is FlexProject, not ActionScriptProject?
How I can see in NonobaAPI there are some manipulations with stage
I guess that break my Application or will not work.
Application control all resize through SystemManager.
And no possible add MoveClip to the Stage in FlexApplication.
I can change this code but I am afraid that my application will be loaded to the another swf and it again will break my application.
questions:
my finished game swf is loaded to another swf wrapper or it live in html wrapper?
I suppose it loaded to swf wrapper. if I right can I get this swf wrapper for testing with my game swf?
Post #5 deleted
agahov said
a long time ago | Post #6Hi, Manoamano
Thanks for detailed answer.
I`ve checked your decision. It`s really work.
can suggest some improve, may be it`s help somebody:
1) In your decision own Canvas used such container for business logic.
suppose It better to do in some manager class. Only need send him stage instance, when applicationComplete event dispatch.
2) For game container may use such construction:
where gameParent will be parent for all visual game elements.
from right side free place for chat.
p.s
if you ask me I think I`is some trick use stage in flex application.
Swf which loaded to the stage.loaderObject consist own copy Nonoba API classes and this classes in the other ApplicationDomain.
This bring to the dynamic such as:
when we know type of this objects:
e:MessageEvent, message:Message
I guess, for flex better way it`s Module or SubApplication
p.s.s
That all a little problems but most impotent that I can develop on flex for this service. Thanks again.
Thanks for detailed answer.
I`ve checked your decision. It`s really work.
can suggest some improve, may be it`s help somebody:
1) In your decision own Canvas used such container for business logic.
suppose It better to do in some manager class. Only need send him stage instance, when applicationComplete event dispatch.
2) For game container may use such construction:
where gameParent will be parent for all visual game elements.
from right side free place for chat.
p.s
if you ask me I think I`is some trick use stage in flex application.
Swf which loaded to the stage.loaderObject consist own copy Nonoba API classes and this classes in the other ApplicationDomain.
This bring to the dynamic such as:
when we know type of this objects:
e:MessageEvent, message:Message
I guess, for flex better way it`s Module or SubApplication
p.s.s
That all a little problems but most impotent that I can develop on flex for this service. Thanks again.
Chris said
a long time ago | Post #7I see you solved the problem yourself among yourself!
Anyway we are looking to bundle a flex example with the API soon :)
Anyway we are looking to bundle a flex example with the API soon :)
Reply to thread
Sign up now to reply to threads
agahov said
a long time ago | Post #1Can I develop game for this service with flex framework?
I mean, Flex work wrong inside flash container.
Can I control wrapper of my swf file?
Thank for any suggestions.
agahov