ActionScript 3.0 :: Integrate PhP Codes Into Flash?
Sep 16, 2010I have to connect my flash application with php+mysql .how can i integrate my php code into flash..?
View 1 RepliesI have to connect my flash application with php+mysql .how can i integrate my php code into flash..?
View 1 RepliesI'm making a Flash piece consisting of a few different pages and clicks to take you to different chapters. The company I'm making it for have sent me URL's of pages that will track the person on it - what page they're on, what chapters they view etc.
So, where do I put these url's?If I put them in a getURL won't that just redirect the person away from the page with the SWF in it?
I made a simple game and a simple scoring system. Player writes his/her name first then plays the game and gets the score. Score and name are variables and writes on the screen at the end of the game.The problem is ; i have to keep names and scores for every player who plays the game. I can save it with php or mysql but i have to do it offline ! The game will be played on computers without internet connection.I googled about my problem and get some answers about sharedObjects but all the samples i've found are so complex.
1. Is there any possible way to run php codes embedding in flash application ? ( maybe in a third party software ? ) or is there any "simple" way to save scores and names ?
2. I'm sending my php codes i'm using to write and read in flash. Is there a actionscript version of these codes ?
3. I'm using DataGrid for displaying scores and a php file as data source. Is there a way to use a txt file for data source ??
The thing is that once uploaded in DART, my ad is not transparent so we always see the white screen where the ad expands.I know this problem is normally solved with wmode=transparent but the thing is that the person can't have an html code to put the wmode code.I wonder how I can set my flash banner to be transparent without html codes..Using Flash CS4 with ACS2! Here's the fla file : http:[url]......
View 2 RepliesI have a static, UTF-8 encoded XML document that gets loaded by a custom movie clip class into an array and then items from the array are read and displayed in a dynamic text field that is attached to the movie clip,depending on which one is rolled over.Everything works perfectly except that an ampersand displays as & apostrophes display as ' and quotes display as ", even if I use the special character inside the XML.Higher level character codes actually display properly, so character codes for circle shaped bullets,registered trade mark symbol, Greek characters, etc, work! But a blessed ampersand does not.Setting the dynamic text field to either read as HTML or not read as HTML makes no difference.
Using CDATA tags in the XML makes no difference.In fact,when I use CDATA tags and enclose text containing a special character code, Flash goes the extra step of converting the ampersand in the special character code to &!! So" becomes "Using & just gets converted to &.So Flash's XML parser is parsing the & to an ampersand,which Flash's text parser then converts to &. WHY? And how do I stop it?
I found the function below to clean out the unwanted characters,and it works,but it seems a ridulous length to go to.And I probably have to extend it to accomodate whatever other characters don't work in Flash, but I don't know what those might be until I encounter them. Also,the function works whether I use a special character in the XML or not. ie, if I put an actual "&" into the XML, this function will display "&" and if I put & into the XML,it will still display as "&".
In AS2 you had the functions ord() and chr() which specifically converted ASCII codes to their string equivalents.
However in AS3, String.charCodeAt() and String.fromCharCode() work with Unicode values.
Is there any way to convert a string character to its ASCII equivalent and back?
Or maybe I should ask "how the MainTimeline class is composed"?How exactly are the codes in frame scripts organized into a class?
View 3 RepliesI am trying to convert the longer code i have below into shorter codes, the codes that i have is for Actionscript 2, while i am using as2 debugger, trace(), its getting the loop, however it will not recognize that is a movieclip (button1 - button3 are 3 different movie clips that i assigned).
[CODE]...
Is there a library for SSH in ActionScript 3? If not, how to have Flash integrate with SSH.I have a Flash prototype programmed out, and my client wants to see some minimal integration with an SSH server. What is needed is basically: connectauthenticate send a few basic commands I can't just have these commands be sent out blindly, as I need Flash to be aware of the SSH feedback and let the user know if the authentication, commands, etc were successful.
View 1 Repliestutorials (e.g. ) show how to integrate Flash and MySQL. Also Flash can manipulate and sent this back to serverTo integrate flash and MySQL one can do the following:(1) MySQL -> php -> Flash (e.g. What is the most robust way to set up (1) and (2) to work at scale - as quickly as possible? What are the server loading implications? Is there any other way to do (1) and (2) more effectively?
View 2 RepliesI'm building a portfolio website for my design work. The whole website is Flash based. I have a Flash banner that I would like to add to the website but I can't seem to place it on stage. Is there a way to stream the banner? If I do that, how do I place it's location on stage?
View 13 RepliesHere's what I am trying to do: I am working on a flash site and I want it to start out with a bang so I've made a intro clip in After Effects in 1920x1080. I want this intro to start by you clicking a button. So when you first see the screen you are going to see the paused video (In my case the earth from outer space) and a big red button which you can click to start this video. Since I am working in 1080p I won't be able to use FLV so we are talking about the embeded video function. My problem: I want the video to stop or go to the next frame after playback it only loops as of now.
View 7 RepliesI want to make a Flash or Flex front end for my R code, I want to call an R function from a website (using Flash) what is the best way to go about connecting Flash and R?
View 2 RepliesI want to integrate flash in my iPhone application so is it possible to integrate?
View 4 RepliesI'm trying to integrate the Google Map Api into my flash site. Ive managed to display the map, but there is no marker, also, my map flashes frantically and wont stay stable. This is the AS im using.
Code: Select allimport com.google.maps.*;
import com.google.maps.overlays.*;
import com.google.maps.controls.*;
var map:Map = new Map();
map.key = "ABQIAAAAVa81BaFuAYp7h1sySsII5xSoR_2O1uVIgKyXCqNwBvI_ph4EiRStHK79ILIE2AoBfDjHAk1cTe5htg";
map.setSize(new Point(550,450));
[Code]...
How to integrate the open source library "Open Flash Chart" into Flash CS4. If you don't know what Open Flash Chart is you are missing one of the best RIA at world, please invest 10 seconds going to [URL] to discover it!
View 1 RepliesI have couple of interactive media pieces created in Director MX 2004. I would like to know if the latest Flash CS5 can handleDirector Movies. st way to creat a portfolio (consisting of Dorector and Flash Movies) that can be showcased in a websiteas well as in a CD-R.Also, a tutorial or direction to creating an Adobe Director website whereby the swf movies can be integrated would be useful.
View 1 RepliesJust wondering how do i integrate a php file with flash to get and recieve variables through the php file from as3?
I would like to start off by putting as3 variables into php database. Then i would like to connect with an as3 variable from php to change the variable to something from the database.
I have previous experience with AS3, but not so much in web development. now I want to install a game in facebook, but since im very uninformed,i'm having a bad time chossing the best option. I have three alternatives to integrate my flash app in facebook.Adobe actionscript API: Until now, I tried it and worked for me to log in , get friends, and that kinda of basic. Has a ton of problems and bugs, and i decided to switch.
FMBS seems to be the best option, according to most people feedback in forums, but it's going to be deprecated and i don't want to invert effort and time in an option that is going to be dipossed.What do i have left ?, iframe ? Javascript ?
I tried to implement this captcha [URL]. But It seems really hard I wasn't able to do it. I tried to make a test php page but it wasn't successful either.
session_start();
# ~~~ CAPTCHA Form Submit ~~~~~~~~~~ #
if ($_SERVER['QUERY_STRING'] == 'final') {
if ($_SESSION['secCode_ok'] === true) {
$_SESSION['secCode_ok'] = false; // reset old results
Then pass and execute query.
<input id="sec_code" class="input_captcha" maxlength="5" />
How to get a working example file?
I'm trying to integrate a Flash Professional/AS3 game into Facebook. The swf is hosted on a secure (https) server. The swf has to connect to a SmartFoxPro socket server on another domain.I'm using the Facebook Actionscript API to interface with Facebook. (Should I use PHP, instead? I read an article that recommends using PHP, because the Actionsrcipt API may not be kept up to date.) When I fire up my app, I get a "Security Information" pop-up box saying that the page contains both secure and nonsecure items. I click "yes" to all the display of the nonsecure items.
Then, I get an "XD Proxy blah-blah-blah" popup. This pop-up goes away, and then my app logs in to my SmartFox server.So... What is this "XD Proxy" window? I think it looks unprofessional, and users may think there's an error with the app. Also, can I block or hide the "Security Information" pop-up? Why don't I see this in other FB apps?
simple way to integrate flash forms with any database,without using ASP or any other scary programming.All I want is to insert & retrieve data from a database directly from my flash movie.
View 5 RepliesHow to integrate PHP contact us form in FLASH website. Any example .fla file and website links
View 1 RepliesI'm trying to find a way to integrate google map in my flash project. I've tried several components that i found on the web, but non of them works properly. The only one that did some kind of work was this:[url]...The problem with it is that when i test the flash on my pc it works fine, but when i upload the flash on the net the map doesn't show. There is instead a sign "We are sorry, but we don't have imagery for this zoom" or something like that.
View 3 RepliesI am a DBA and I provide data to the developers at my companyin XML format. The developers create Flash graphics and use the XMLto populate data variables. I want to start requiring thedevelopers to make calls directly to my MySQL databases so anytimei have to make a change to the underlying data, I don't get stuckgenerating an updated XML file for the developers.My developers tell me a Flash graphic cannot make a calldirectly to a mySQL database. They say Flash has to reference apage in which variables are defined, such as an XML, PHP, ASP pageetc. This page, they say, is generated from database info, butFlash does not directly make the call to the database ... thatanother programming technology (XML, PHP, etc.) does and has toparse the information, making it available to Flash.
View 3 Repliesi hired a designer who knows flash but not flex, is there a way to properly integrate a flash design into a flex application?
can i load the swf and connect to specific events in specific elements of the swf ?
Is-there a joomla compenent that permits to integrate a flash SWF on a joomla website : without realoding it for each page (by using an IFRAME or anything else
View 1 RepliesI've been looking around the internet now and haven?t been able to find anything referencing my problem so I thought I'm looking to create a series of adverts for our website. I say adverts, there more like a ?what?s on? synopsis of our website on a area specific homepage. We have 22 area homepages that need to display certain adverts.
What I?d like to be able to do is setup an admin system for my boss to use so he can control via the admin system the adverts to be displayed on each area homepage. I?ve seen that you can import database information via text fields on the movie itself but I?d like to be able to set the movies up so they pull the relevant information into the action script (basically referencing which file name to load and in what order.
How can we integrate facebook social plugin in flash?
View 0 RepliesI have google flex application for postcode search, How do I import the Swf file from flex into flash so I could add more movie clips like zooming effects and 3d rotation
View 3 Replies