Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join the forums now, and start posting to receive access to our Scripts Vault!
Home
Forum
Help
Login
Register
BBGameZone.net
»
Webmasters
»
General Game Discussion
»
Flash Games
»
php and flash?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: php and flash? (Read 4033 times)
dvd871
Level 21
Posts: 238
Reputation: +7/-0
php and flash?
«
on:
October 12, 2006, 02:51:46 PM »
Anyone ever do any php and flash programming? I've seen some dynamic maps that are pretty awesome, but never had the time to really check it out.
Logged
Age of Lords
|
Medieval Empires
|
Dominion Siege
Zeggy
Global Moderator
Level 35
Posts: 1,187
Reputation: +13/-4
Re: php and flash?
«
Reply #1 on:
October 12, 2006, 03:23:00 PM »
PHP and flash are used together in a lot of pet games
The flash provides a mini-game for users, and php handles the scores nd updating the user accounts.
Logged
dvd871
Level 21
Posts: 238
Reputation: +7/-0
Re: php and flash?
«
Reply #2 on:
October 12, 2006, 05:10:48 PM »
Yea, aka neopets.
I saw some maps that were done in flash that had players pin-pointed on them and as the players moved around in the game, the map was updated with the co-ords in real time. It was pretty sweet. I'm not sure what the server overhead on somehting like that would be though. Might consume the entire cpu with a lot of players on at the same time.
Logged
Age of Lords
|
Medieval Empires
|
Dominion Siege
Zeggy
Global Moderator
Level 35
Posts: 1,187
Reputation: +13/-4
Re: php and flash?
«
Reply #3 on:
October 13, 2006, 04:04:07 AM »
Cool map feature
Is it really real-time, or does it only update when you refresh?
Logged
Cripple
Level 17
Posts: 170
Reputation: +10/-4
Re: php and flash?
«
Reply #4 on:
October 13, 2006, 08:40:14 AM »
yep - & depending on what it is u want to do exactly, flash & actionscript might cope.
i found
Kirupa
a pretty handy site for flash/php tutorials.
Logged
dvd871
Level 21
Posts: 238
Reputation: +7/-0
Re: php and flash?
«
Reply #5 on:
October 13, 2006, 05:28:59 PM »
I'll see if I can find the site again and post the link. It was cool, you could see the players moving on the map without refreshing the page because it was done in flash.
Logged
Age of Lords
|
Medieval Empires
|
Dominion Siege
toto
Level 12
Posts: 82
Reputation: +1/-0
Re: php and flash?
«
Reply #6 on:
December 09, 2006, 09:02:51 AM »
Whoah! I had forgotten about kirupa, it's a great site.
I know there's a book about PHP and flash: "php 5 for flash" is the title. I think there's an advanced version too.
Logged
Killer2
Level 4
Posts: 13
Reputation: +0/-0
Re: php and flash?
«
Reply #7 on:
August 01, 2007, 07:57:30 AM »
I am trying it myself. I already know the php. But I still got a lot to learn from flash. I am trying to make the battles in flash (once I know enough flash)
Logged
codestryke
Administrator
Level 33
Posts: 593
Reputation: +22/-0
Re: php and flash?
«
Reply #8 on:
August 25, 2007, 07:35:36 AM »
Last time I played with Flash it was very much like dealing with Ajax...
You posted / queried a PHP page and then the flash app would read the response in one of two ways depending on the action script function call. It's been far to long to remember what the function calls were but one you would call the PHP page, your php page would return the result in a query string format like:
var=value&var=value
When flash got the response it would automatically put the values of the vars into the action script. That worked nicely but sometimes it didn't work the way I needed it so I had to use another function call in action script that basically just "read" the return value from PHP as just a raw string.. I would then take that raw string value and throw it to a parsing routine.
Logged
Creating online addictions, one game at a time:
toto
Level 12
Posts: 82
Reputation: +1/-0
Re: php and flash?
«
Reply #9 on:
September 09, 2007, 04:57:23 AM »
I have coded many flash and php games - some are minigames (where you just send your score once you've finished, and the PHP script adds user money and score to the database), and others are just like php browser-based games, but instead of using HTML, I use flash. It looks nicer
The best part of flash is the user-friendly graphical interface.
Logged
Dasein Fiasco
Level 15
Posts: 132
Reputation: +2/-0
Re: php and flash?
«
Reply #10 on:
September 09, 2007, 10:36:24 AM »
As an alternative to Flash, Microsoft recently released
Silverlight
, a .NET-driven RIA plugin that appears to have some potential for penetration, and certainly must be easier to develop for than Flash. Anyway, that just goes to say that Flash isn't your only RIA choice around nowadays.
Logged
Personal Site:
www.travisdunn.com
There is neither speech nor language but their voice is heard among them
toto
Level 12
Posts: 82
Reputation: +1/-0
Re: php and flash?
«
Reply #11 on:
September 09, 2007, 12:00:29 PM »
Thank you for the information - I've have a look at the plugin. It looks great - especially some of the showcase items. And the compatibility with C and VB sounds great, too!
I doubt it's easier to use than Flash, though.
Besides, now that I've used 6 different Flash versions (since flash 4), I'd be a traitor if I switched to Silverlight
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
BBGameZone.net
»
Webmasters
»
General Game Discussion
»
Flash Games
»
php and flash?
SimplePortal 2.3.3 © 2008-2010, SimplePortal