Skip to main content
Known Participant
December 5, 2007
Question

Adding an API to Flash File

  • December 5, 2007
  • 7 replies
  • 646 views
Hello,

I am working on an online poker game for a client. I am in charge of the design phase and somebody else is involved with the back end. He sent me an group of API formated to fit in to Action Script. I am not sure how to proceed. What would you need from me on this post to see what is going on?

Thanks
This topic has been closed for replies.

7 replies

kglad
Community Expert
Community Expert
December 6, 2007
you need to talk to the guy that created those files. he's the only one that can tell you what you need to do unless you can find someone willing to study those files (and that seems unlikely).
Known Participant
December 5, 2007
Both. The back end guy created it in Flex and exported it to ActionScript files which I have. It is all the info to make the game work but obviously I need to put the right info from flash, like button names things like that to make it work. I just don't know how to do that. I have a ton of code but I don't want to post all of it here. Sorry if I am vague or incoherent but this is somewhat new for me and they say it is a simple process so I might just be missing something and then I can get it.
kglad
Community Expert
Community Expert
December 5, 2007
inputting what stuff into flash? the mxml data? the back-end scripting?
kglad
Community Expert
Community Expert
December 5, 2007
mxml files are used in flex, not flash.

and if you've never used flash to interface with back-end scripting, you might want to hire someone to help you.
Known Participant
December 5, 2007
I have Flex, it is a matter of inputting that stuff into Flash. It is stuff that controls card disbursement, who's deal it is, game play pretty much. I just need to know what to add to make it recognize the flash designs because it works on its own but has no visual demonstration besides some generic program codes.
kglad
Community Expert
Community Expert
December 5, 2007
in the help files: as3 lang. and comp reference/classes/urlloader class.
Known Participant
December 5, 2007
I have all this code that is saved in .as but I am not sure what to do with it. I have the poker table set up with all the elements but I am not sure how to make the two work together. I have a game server mxml files and such but how do I put it into flash and make it work?
Known Participant
December 5, 2007
where do I find that?
kglad
Community Expert
Community Expert
December 5, 2007
you should use the urlloader class to interface with the backend script.