Jump to content

  • Log In with Google      Sign In   
  • Create Account

codeBeast

Member Since 22 Aug 2009
Offline Last Active Jul 12 2013 12:11 AM

Topics I've Started

amfPHP + flex/flashbuilder + mysql db: For an online LMS virtual world

05 April 2013 - 11:51 AM

Hi.

I am coming over from flash and doing tuts on flex (using flashbuilder)

I want to connect a mysql database (online) with my flex/flashbuilder app using amfPHP as the preferred technology.

 

I have to code for the flex app and I was wondering if anybody would be kind enough to help me with the amfPHP classes that I have to use. I KNOW there are tuts online but there are SO MANY that I don't know which one is correct.

ie: I need:

1. The database password etc... in a separate file then I would include it in the other classes

2. The simple class to send back the dataset form the mysql database to the datagrid

3. Session perhaps (as I am creating a learning management system for children to learn English)

 

I am not looking to be spoon fed but I am a newbie - if you could point me to the best code via links etc...

 

Am I right in thinking that this is a HELL of a lot better than using my current design with flash(URLVariables) + with a php script etc...

especially if I have over a 100 - 1000 concurrent users which we will have by September.

 

CHEERS


How to force swf cache update to newer version without whole cache

06 February 2013 - 12:18 PM

Should say: without emptying WHOLE cache.

 

Hi I have an online elearning system with XMLs, swfs etc...

These are cached locally. When I have a new update the user used to clear their local cache otherwise they wouldn't receive it which is ridiculous.

Now we have a system that replaces EVERYTHING which we call "Break cache" BUT the problem is I don't want to clear the WHOLE cache just one or two file updates.

Is this possible? I have been told it is the html tags we write that operate in the browser that takes care of this but now I'm totally lost. There must be a solution it's only common sense.

Thaks in advance.


Adobe AIR installer error

31 January 2013 - 04:59 AM

AIR is all the rage for games BUT I can't get it to install on my netbooks.

 

I get the error (translated from Spanish) This file is not correctly configured, get in contact with the developer.

 

1. I have tried publishing the .air file on different computers to see if it was an issue with pc - same error

2. I tried versions 2.5 and 2.6 - same

3. I used one of the old air installs and that works on all netbooks

4. The air isntaller DOES work on my desktops but they have adobe flash Cs5.5 installed and I'm sure that helps.

5. My friend in Barcelona created an installer on his desktop and that doesn't work either.

 

All very strange.


basic flash MMo questions

12 May 2010 - 10:29 AM

Hi guys. I have games/activities built in flash to teach kids English. We want to move them to the web which is easy BUT I want to build an web where people can chat and interact their avatars. ie: Very basic stuff. You chat to other players and then you play games on you own. 1. Can the avatars be my simple flash characters. 30 avatars running around the screen talking to each other is OK isn't it. 2. I have seen some really technical posts on here - I take it thats for more intense head to head gaming which is not my case. Someone has mentioned smartfox - Aer me and my programmer in for rollercoaster ride of headaches or is my setup extrmeñy simple.

actionscript: sound object. Event complete doesn't work

10 April 2010 - 05:12 AM

OK That's at least an hour again so I do google around. function init() { this.soundsArray[i-1].addEventListener(Event.COMPLETE, completeSoundHandler); this.soundsArray[i-1].play(); this.blHit=false; } function completeSoundHandler():void { this.timerForSounds=new Timer(500,1); timerForSounds.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerCompleteEvalTimer); timerForSounds.start(); } function onTimerCompleteEvalTimer(e:Event) { this.soundsArray[i-1].play(); }

PARTNERS