collapse content

Forum: bugs and problems

Subject: Help

Comment:

whawhawhat (Author) 1 year ago
I'm just learning Flex,Can someone teach me how to use Platogo Components in Flex,such as Preloader,High Score.I can't find any example here.
Thanks

Comment:

christoph (Staff) 1 year ago
Quote: originally posted by whawhawhat (11.03.2010 14:37)

I'm just learning Flex,Can someone teach me how to use Platogo Components in Flex,such as Preloader,High Score.I can't find any example here.
Thanks

Hi whawhawhat,
right now we don't offer a wrapper around our components so you can easily use them within flex.
But I'll have a look at it, if I'm able to provide you with an easy solution until we have a proper integration ready.
What component did you want to use?
If you just want to use our API to submit highscores, achievments,.. you can do this in Flex already.

Actually I use a Flex 4 dummy game for testing purpose.

Happy coding,

Christoph

Comment:

whawhawhat (Author) 1 year ago
I want to use like this

var highScoreBoard:Highscore = new Highscore();
this.addchild(highScoreBoard);

can i do it in this simple way?

Comment:

christoph (Staff) 1 year ago
Quote: originally posted by whawhawhat (11.03.2010 17:03)

I want to use like this

var highScoreBoard:Highscore = new Highscore();
this.addchild(highScoreBoard);

can i do it in this simple way?

Are you using Flex 3 or Flex 4?

Comment:

christoph (Staff) 1 year ago
Flex 3 version (creating wrapper around component class):

http://userflex.wordpress.com/2008/06/12/sprite-uicomponent/

Flex 4 version (using SpriteVisualElement):
http://blog.flexexamples.com/2009/11/20/adding-a-sprite-to-the-display-list-in-flex-4/

The integration wouldn't be a big issue, but to have a proper communication with the components I'd like to create wrapped Flex components out of our Flash components.
I'll have a look at this beginning of next week. Until then you could use e.g. a Flex List component for rendering the highscore within your game.

Sorry that I don't have an easy solution ready for flex right now :-(

cheers,

Christoph

nurolhaida 3 months ago
I'm not a programmer , but then I need some help. where suppost I need to paste these code actually more...
mikebelotti 4 months ago
Right. The game is "Vowel Movements", and it's normally fine--but I haven't been able to isolate thi more...
Bram Schoonhoven 4 months ago
If you try to invite friends on facebook you get a popup/layer where you can invite friends. This po more...