ActionScript 3.0 :: Sending Info To PHP And SQL?
Sep 4, 2011
I need to create a scoreboard for my game. I want to be able to let my user submit the time it took to complete the game to my scoreboard. I have been able to purchase webspace with SQL, PHP. I have set up my SQL database. I have found a great tutorial about how to do precisely what I wanted on YouTube BUT after starting the tutorial I realised it was ActionScript 2, I REALLY need time type of tutorial but for ACTIONSCRIPT.
View 2 Replies
Similar Posts:
Sep 10, 2010
i have backdoor ways of getting info from other classes, but they seem to be far too long. So I am trying to do something different.. Imagine two entirely separate classes. The classes only extend MovieClip, and don't know about one another. What is the best way for them to know of eachother, without extending one another.
I thought it was interfaces, so I made an interface, and tried to send information from classA to classB within the interface. So, I had classA set the implemented interface variable to "21" and was trying to get that information on from classB, by implementing the same interface, and rather than setting, classB is getting. It didn't work. Where am I going wrong? Do I not need to use an interface?
View 3 Replies
Jan 28, 2012
A website is changing its payment processor company to authorize.net and they sent code to the client that's to be embedded in an html page:
Code: Select all<form name="PrePage" method = "post" action =
"https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx">
<input type = "hidden" name = "LinkId" value
[code].....
View 3 Replies
Jan 19, 2004
I am using loadVars with the send method to send my contact info to a php file. This works fine but when I press the submit button the browser goes to the email.php file. How do i prevent it from opening that file in the browser window?
Heres the [AS]
lv = new LoadVars();
lv.name = name;
lv.company = company;
lv.phone = phone;
lv.email = email;
lv.message = message;
lv.send("email.php", "POST");
}
[/AS]
View 2 Replies
Feb 22, 2011
We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
View 1 Replies
Jun 24, 2010
I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...
Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........
also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.
View 1 Replies
Dec 20, 2006
I loaded a swf in another swf. Lets say in.swf is loaded in all.swf. But I need to pass some info from a movie clip inside of in.swf to another movie clip inside of all.swf.
View 10 Replies
Sep 23, 2009
Is it possible for a swf to get info from an XML file that is placed in a different domain? And if it is, how can I do it?
View 3 Replies
Oct 15, 2009
I need to make a projects that when a section is rolled over a info box appears. It is similar if not exactly like the link below.I have a solid basic working knowledge of flash and actionscript. Been working with Flash for few years, but it has all been basic work, nothing too complex.
View 1 Replies
Apr 2, 2010
I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
View 19 Replies
Apr 6, 2011
In FlashBuilder's compiler options (Properties->Flex Compiler), under "Adobe Flash Player options" there is an option for "Use a specific version", where you can tell it what Flash Player to link against:
How do I get this value at runtime? Note that I am not talking about the Flash Player version, but the version that the swf was linked against.
View 4 Replies
Oct 3, 2009
Do anyone have any idea how to get a hardware information (like processor id) of the machine that the AIR application is running on?
I need to verify if my app is ran on the specified computer and than allow or deny data access.
View 2 Replies
Nov 30, 2009
I'm working with a php script that takes a really long time to process. Is it possible to get the process info to flash (as3)? I'm thinking that I could echo the process percent from php, but is it possible to read and use the values as the process is running
View 1 Replies
Oct 23, 2010
I would like to know if theres anyway to get the computer name or some other unique computer information to make a computer unique and I save that info in my database.
if someone know how to exhibit the Computer Name
View 5 Replies
Oct 31, 2010
From the main class I call a function from another class and give it 20 variables to work with. That class does the math and gives me the 4 variables I need but how do I have the main class read these? Do I use a return function or getters and setters?
[Code]...
View 5 Replies
Feb 3, 2009
Example:Lets imagine a html page with 2 swf embed inside. First swf has some UI, and second swf loads content.Is there a way to pass events or variables from the first swf to trigger stuff on the second? If yes, how?I would love to know the simplest way to achieve this.P.s- From what i understood from Lee's tuturial on swfObj, i can pass vars from html to the swf (using flashvars). Is there a way to pass from the swf to the html in a similar fashion?
View 7 Replies
Feb 6, 2005
I have a news page that I update with my stories. The info goes to a read.asp page that displays my info. I need to get the stories into a flash text field or box (anything really) so I can have the same news stories post. I can upload the file so you could look at it and tell me how to call the stories into flash.
View 1 Replies
Dec 20, 2010
I have a flash as2 file which loads pictures into a thumbnail slider through an external xml file. when i try it out in my pc it works, images load perfectly and i can view the thumbnails, but when i contain the flash in a php and upload it, it stops working, the images never load.i guess flash has an issue trying to pass the xml info through php, i tried searching for compatibility issues but couldn't find anything concrete...
View 2 Replies
Jan 6, 2012
how i can do that, i have main flash file named container.swf (container.fla) i loaded external swf into movieclip inside my container. i want to know the actionscript version of the loaded swf dynamiclly, and the size(height and width) of it
View 4 Replies
Aug 15, 2009
Im working on an application for a website. When the user finishes entering all of the information into the Flass application, they press a button. I want it to open another page from that website and enter the information into it.
View 3 Replies
Mar 9, 2010
Here's the thing.I am making my first game, a click and drag (dress up if you want to ) game...It is finished and working..But since it serves as an educational aid in history group, it would be great if I could somehow add some kind of pop-up window with text describing every item in game..For example "14th century bascinet developed from the steel cap bla bla bla...".And if that is not possible is there some other way all this info about these items (there is about 24 items in game) could be fitted in this kind of application
View 4 Replies
Oct 13, 2010
what is the best way to conditionally display a component? I have a dropList providing info to other parts of my code but i would like to display certain components depending on the value of certain info
View 1 Replies
Oct 20, 2011
I have something in mind like this: [URL] so each time, when the mouse is over each state, different information should show up in the right side box with different information. How should I implement this? should I draw the right side information box as picture, and then write a script to ask information to display when mouse is on certain state, is this a movie clip?
View 6 Replies
Nov 7, 2008
I would like to have a third party exchange english language text in a swf file with translation-text in other languages. They would like to do it via XML. Is there a place where I can look up some basic info on how to write XML code (beginner), or find a script that lets me exchange text/content via XML?
View 2 Replies
Sep 15, 2009
i am really trying to use AS3 but having many difficulties using common tasks that seemed straightforward before. i want to find out the totalframes of an SWF that has been externally loaded using the load method.[code]i tried using trace(ldr.totalframes) just to test it but continue to get errors when i do.
View 13 Replies
Sep 25, 2009
Is there any way to fill in a dynamic text box in one movieclip if a checkbox from another movieclip on the main timeline is checked?If it is not checked, the dynamic text box would be blank.
View 3 Replies
May 10, 2010
I have coded a basic drag and drop using a rope .jpg saved as an mc. the idea is to have the user drag the rope from left to right using the mouse down and up functions. I was able to do this but I'm trying to add to the functionality by doing the following:
dragging limited to a certain amount per drag no dragging up or down just left to right set boundries within the screensize I've looked and could only find as2 and basic tutes on this
[Code]...
View 1 Replies
Sep 16, 2010
I am very new to this as I have said in other posts and I would like to have an application which updates infomation news posts etc;So im not sure how to go about this but I have heard I need a web service. If you need a web service couls someone tell me how to make one or if you dont need a web service.
View 1 Replies
Nov 17, 2010
In my document class I have the following.
var mainBoards:LoadXMLData = new LoadXMLData("Main_boards.xml");
var test:XML = mainBoards.getXMLData;
In the LoadXMLData class I have an event listener and a getter that will return the XML data.
_urlLoader.addEventListener(Event.COMPLETE, onDataLoaded);
_urlLoader.load(new URLRequest(file));
//and
[Code]....
is there a better way to wait until the data from the XML is loaded into the LoadXMLData object before the mainBoards.getXMLData is assigned to the test variable in my document class?
View 5 Replies
Feb 3, 2011
I've been doing a game that requires to drag some pictures into containers... that's all great.... but at the same time, I have to be able to obtain info from them (a pop up) when i click them.I've tried using CLICK and MOUSE_DOWN on the EventListeners, but everytime I drag the object, when I release it, the pop up shows.
View 5 Replies