ActionScript 3.0 :: Check For A Serial Code To A Xml File?
Jun 8, 2011
Here's a little script i wrote to check for a serial code to a xml file, and allow the user to use the flash document. this code seems pretty useless, but in all reality you can sell you flash document, with having users to input a serial code in order to use the flash document.
which might allow flash developers to make money on such a pointless project. eg. sell games, as a (.exe, or a .app) file, or make then buy a serial online an play it online. or sell very useful programs, for real money, and don't have to worry about people using it for free.
[Code]...
NOTE: i am not responsible for any lost of anything due to this actionscript code that you have choose to use at your own lost, of hackers, cheating you to use your flash document for free.
View 0 Replies
Similar Posts:
Jul 24, 2009
In a project that I'm working on, I have to be able to read input data from a serial port. The input data will be very simplistic in nature. I'm guessing more like a on/off, yes/no, true/false style of operation.I have found some examples in other languages, but nothing in AS3 or AS2. Could anyone send any sample code or a link to a tutorial that gives me some lead way on this? Which approach is better, going with a Flash projector piece, or building it in AIR? The final piece will be on a PC based system.
View 2 Replies
Sep 30, 2009
Is there a way to see for example what code is behind a button if I just have the swf file?
View 1 Replies
Mar 16, 2010
I am trying to find out how to make one .as file code interact with another .as file's code.like, if I had one .as file that specified options of movies and then when the user clicks on a movie (loaded through xml) it uses code from another .as file to load the correct movie.
View 5 Replies
Feb 19, 2008
Way to pull in a map (say mapquest or google maps), into a flash app based on a user postal code.
View 1 Replies
Jan 15, 2010
Finished with coin toss gameWhat done good, what wrong..? what need change? what method better?And now in this user can be winner just 50% ?Attached files.Also code here:
import fl.controls.RadioButtonGroup;
coinToss_btn.label="Coin Toss";
coinToss_btn.useHandCursor=true;
[code].....
View 3 Replies
Jan 9, 2008
I am creating a site where there is a portfolio section with icons for each piece of artwork.Regardless of which icon 1-10 is clicked, for the first time ONLY, I want to load a swf which "draws in" a portfolio "background", and another swf on a higher level which corresponds to the icon clicked (lets say a sample artwork).
However, if the user has previously clicked another portfolio icon and is currently viewing one of the portfolio pages, there is no need to load the "background" swf again (it would be tedious watching the drawing in animation over again).
I've designated a target container movieclip for each.The icons swf file with the buttons is another swf on the timeline.Is there some code which can check to see if the background swf is already loaded into its container? And in which swf would I attach the code?
View 3 Replies
May 31, 2011
give me the Regular Expression that can check if a given string has any HTML code in it, and coming to think of it I would be bothered with <a href="something">something</a> exactly.
View 2 Replies
Apr 5, 2011
I'm new to AS3 coming over for AS2 and trying to figure out how to code a simple load sequence. I've got two scenes, "Scene 1" and "Scene 2". I've got a MC that is a simple shape tween that loops in the "Scene 1". I'm trying to assign code to this MC that will check to see if frame 40 of Scene 2 is loaded. If it is, gotoAndplay Scene 2 frame 1. If frame 40 of Scene 2 is not loaded, continure to loop the MC unitil it is. Here is the code I've got for the MC in the "Scene 1"
onClipEvent(enterFrame) {
if (i > 40) {
gotoAndPlay("firstframe", "Scene 2");
}
}
"firstframe" is the frame label for the Frame 1 in Scene 1. This seems more difficult in AS3 than AS2.
View 2 Replies
Dec 27, 2010
Is there a way to make code on the timeline and code in a separate AS file communicate with each other?I have two buttons, a yes button and a no button.I have a confirm box which is a movie clip. In the movie clip I have the two buttons on it and code so that every time one of the buttons is clicked it runs a function.I have the rest of my code for the movie (so the code to make the confirm box appear) on a separate AS file.Is there a way I can define the functions on the movie clip and run the functions with the separate AS file?
View 7 Replies
Jun 16, 2010
I recently bought a new machine and tried to put my Flash 8 software onto it. The serial number was fine, but it requested the serial number of the software I upgraded from, which I no longer have (MX, I think it was. I threw it out ages ago thinking I didn't need it ). I can't even remember what email address my macromedia/adobe account was under, it might even be under an email address for a domain I no longer have.
I do still have the software installed on my old PC. Is there anyway I can find out the serial number of the MX I upgraded from off of the Flash 8 on there? Or it is a lost cause?
View 1 Replies
Jun 2, 2003
basically this is the code i got from a kirupa tutorial and i just want the graphic to be moved on the x axis
onClipEvent (enterFrame) {
getlimits = _root.normalpic.getBounds(_root);
//get the limits of the normal pic movie
[code].....
View 3 Replies
Jun 25, 2010
I recently purchased a macbook pro from eBay which had Flash CS4 already installed on it, but which didn't come with the original documentation or CDs that would have had the serial number. The seller said he would send along the appropriate numbers when he tracked them down, but he never got back to me again. I'd like to upgrade to Flash CS5 now, so is there any way I can find the serial number through the software itself? I've seen similar threads to this one elsewhere in the forums and the most promising answers have involved people locating truncated numbers in the software and asking Adobe to decrypt them. Unfortunately, I can't even find these truncated numbers...
View 2 Replies
Aug 4, 2011
I'm using action script 3.0 compiling the code to flash 10 how to get hard disk serial number with action script?I want to get this info without any security requirement. Is there a way to do it?
View 2 Replies
Sep 27, 2008
I'm trying to find out if there is a way to output serial information from flash. For instance, I have a serial port (Can also be USB) device with eight relay switches, each one triggered by a few bits and bytes correlating to the serial pins. I was wondering if the print function in flash could be forced to output specific signals.
View 4 Replies
Dec 14, 2011
i need to convert a given number to a date via function...
what i mean is lets say i give a number 8 to a function and it returns the correct date from 8 days from today(a. la. 29/12/20012). as that seems simple enough i also need it to work when the number is 2000 with correct month etc..
View 3 Replies
Oct 12, 2009
Soon we will get a FMS license to run some web games on our websites. The FMS server will be on a dedicated server. We need to have 2 machines like that. the second is a rescue server which will be used in case of trouble with the first one. Here is my question: Can we use one seruial number for these two machines, knowing that only one of those will run (master server OR rescue server)
View 1 Replies
Dec 31, 2009
I have a number like this 22536325214589 and I want to separate it by 4 digits and show in separated input textfields like serial number input on applications and if user try to change it skip to next field while typing And also I can return number again into one variable.
View 6 Replies
Jan 1, 2010
Iam working in a project which has to be given some security. Is it possible to get the volume serial number of a disc drive using action script3 ?
View 1 Replies
Dec 16, 2009
Just wondering if there is any way to access the serial port directly in adobe flash ?
View 2 Replies
May 4, 2011
how to generate serial number using labelFunction in datagrid?
View 4 Replies
Feb 4, 2010
I am trying to write a class file using a .as file instead of writing code into the script tab of a .fla file.When I write stage.addChild(img); I get an error that stage is null. When I take out stage, and just write addChild(img); the code runs fine, but nothing appears on stage. Do I need to do something to set a stage active?
Is this because I don't have a Main class? My class is named after the file and I don't have a file named Main.Here is the code. As it is, it runs and I get the two trace outputs, but no graphic on my screen.
package { import flash.display.DisplayObject; import flash.display.Sprite; import flash.display.Loader; import flash.events.*; import flash.net.*; public class HelloWorldImage extends Sprite { private var background:DisplayObject, foreground:DisplayObject; private var url:String = "hw_jpg.jpg"; private var loader:Loader = new Loader( ); public function
[code].....
View 7 Replies
Sep 21, 2009
Is there a way to check file name case when loading a file? For example:
My URLRequest has this: "filename1.swf", but the actual file on the server is this FILENAME1.swf. Since the file names do not match case, is there a way i can have flash and AS3 catch this?
View 2 Replies
Jul 6, 2009
I have a datagrid. I add a row to the datagrid using an ADD button. Once I add, I sort the datagrid based on a column. I also provide the serial numbers i.e. row numbers as first column to the datagrid. But, the serial number function does not apply after sorting. Hence, a new row added for e.g. row 5, based on sorting should be row 1, the serial number displayed is still row 5. The UI looks bad as numbers are not in correct order. the code is:[code]
View 2 Replies
Oct 26, 2009
Can the clickTAG code in a flash banner be changed if you only have the .swf file and not the .fla file?
View 1 Replies
Jan 28, 2009
1. How to check if somewhere in my code some eventlisteners are still "on" ? and i dont mean check by interaction, but with the code? is that possible?
2. If i have a menu with some tween, and the user clicks, it takes some time before he will be able to click on another menu button (at least it doesnt happen instantly), or if i have a gallery and when user clicks on the thumbs it also takes some time to remove the previous picture and add the new one with few transitions, is this is good practise in that case? in for loop when i am creating and adding multiple objects to push tem into array:
[Code]...
View 1 Replies
Sep 19, 2010
I have trouble passing a variable from HTML to Flash.I use swf-object2.2.how to code the variable in the html-file and how to receive it in the as-file?Its a simple shopId = 110
View 3 Replies
Aug 7, 2006
I am working with Flash 8 and am wondering if there is some script to add that would have the .fla check the external XML file every few seconds for updates?
View 1 Replies
May 24, 2010
So I have this code which loads an xml file
[Code].....
I want to have several buttons however load a different xml file, not just use one file. Would this mean I would have to recreate the above code for every button, or is there anyway I could reuse it?
View 1 Replies
Oct 31, 2008
I want to know if there is a way to know if a swf file is already loaded, in order to change the behavior of the preloader
View 2 Replies