ActionScript 3.0 :: Convert Program From Vb.net To Flash As3
Nov 15, 2010i try to convert a program from vb.net to flash as3[code]
View 1 Repliesi try to convert a program from vb.net to flash as3[code]
View 1 RepliesConvert a C++ program?
View 14 RepliesAny know of a good program to convert a SWF back to FLA?
View 6 RepliesI need a help in AS 3.0. The requirement is, user needs to draw something and take a screenshot or in the PDF format from flash swf by clicking a Save button[Save button will be in the same flash file]. Is it possible in AS 3.0 without any other server-side program?
This is very urgent. Please let me know whether this is possible or not.
Is there a way to start an unrelated program (such as Window's media player) from inside of a flash program?
View 2 RepliesIm trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..
// CLICK to Exit
exit_Btn.addEventListener("mouseUp", goExit);
function goExit(evt:MouseEvent) {
fscommand("quit");
};
I need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.
View 1 RepliesI have created a flash program and I would like to run a second flash program from inside the first. To explain, say I am running a program that draws a circle and fills it with a color. Then, I have designed a second program that will divide a circle into sectors by entering percentages, to turn that circle into a pie chart. Is there a way to be running the "draw a circle" program and have a button that opens the "divide the circle into sectors" program in a new window and then passes information from that program to the first program. I am sure I will have to send the information from the second program to an XML file and then have the first program recieve it from the XML file (which I can do), but I don't know if I can run the second program from inside the first program.
View 1 Repliesi have the following code ]
[Code]...
but no connection established what is the reason behind not know help required and one more thing XAMPP is installed in D: drive.
im trying to create a flash program that can be run on facebook. they require that the version be 9.0.115. how do i make sure the swf file i publish is this version? im using adobe flash cs3 proffesional
View 1 RepliesWhat is the best program to make flash games?
View 1 RepliesI had posted a similar query earlier but didn't get a satisfactory reply. I need to edit a flash website (only the text needs to be changed). Which software program should I use ? It is required to convert every text on the site (links or no links) to be converted from language A to language B.
View 1 RepliesI'm trying to make browser game and I was wondering if this is possible.99% of the game is html/php/mysql but I wanted one little mini game to be in flash.after playing the flash game if you win you get +1 of whatever to your account. So my question is can someone program that cross over of flash back into php?
View 2 RepliesIs there a way to imprt a python program into flash, so that you would get what you would see in python, but in .swf file (I'd like to make a text-only game for Kongregate)
View 1 RepliesCurrently learning flash and what I would like to do is capture information from another flash program if thats possible?Basically im playing a persistent browser based game written in flash and on mouseover of a tile in the world map it displays some information, specifically in game co-ordinates and details of whats there.Is it possible to capture that with a flash program? Or is that beyond the bounds of flash? I know it can be done in other languages but its been years since I've done any programming.
View 2 Repliesi am doing a group project , about a test. At the end of the test , i would like to implement a print button to print the result, how to do it?
View 3 RepliesIs it possible to get computer name where the flash program is running? Not on the website, the swf will be run directly on the PC.
View 2 RepliesI need to add accessibility to a flash program which I have created. I can make the screen reader state all of the different buttons and at the top level of a combobox. However if I traverse the combobox none of the items are mentioned by the screenreader. I've tried various things down to trying to set the accessibility properties of the combobox items as though they were an array cb[0].accessibilityProperties = accessProps0; but nothing seems to work.
View 2 RepliesI am looking for some code that will make my program restart if it remains idle for a certain amount of time. I have looked around a good bit and cant find one that works in ActionScript 3.0.
View 6 RepliesI have a small flash that I'd like to expand upon, and basically I'm wondering if it's possible to Make a button that lets you erase things on click, rather than clearing the screen.Draw lines of different colours/thicknessHave the Flash output a code for the drawing (similar to Punk-o-Matic 1/2) and be able to put it into the Flash in a text form to have it output the picture. (Thus allowing sharing of pictures).Here's the code.
// 1. SETTING THINGS_root.createEmptyMovieClip("line",1);
// 2. EVENTS IN _ROOT:_root.onMouseDown = function(){ line.moveTo(_xmouse,_ymouse); line.lineStyle(2,0x000000,100); this.onMouseMove = function(){ line.lineTo(_xmouse,_ymouse); updateAfterEvent(); }}_root.onMouseUp = function(){ this.onMouseMove = null;}
Also see included .fla. It's very small as all it features is a default stage that you can draw on, with an Erase button that clears the screen.
How do I get a program on my harddrive to run inside flash on my computer? I would like to build a Flash front end for my boat pc, but I would need to be able able to open up a program inside a flash.exe? would a external .ini File work? if so what code would I use internally to execute the .ini.
View 2 RepliesI was curious if you can take an existing flash program and get it to run in Air, or do you have to recode the entire thing. I see lots of stuff on Flex to Air, but not much of anything on Flash to Air.
View 5 RepliesI have decompiled an swf file in to .fla file by using a registered decompiling software, in that fla file there is code "getURL("./home.html", "_self");" , but when i run this file getting the following error.The currently targeted Flash Player does not support the getURL action.
View 1 RepliesI am playing around with ActionScript 3 and trying to build a very simple prototype for a video game (top-down action/shooter) and realized that handling bullets is a little bit more challenging than I originally imagined.
In order to get a fairly decent "flight" of the bullet between the character and the target, I ended up using a highly modified version of Bresenham's Line Algorithm to determine the flight path of the bullet and then merely draw a tiny flash.geom.Rectangle object at the appropriate place on that "flight path" during the draw-frame stage of my application.
I haven't noticed any real problems, but I just can't imagine this being the best way to handle bullets in a Flash game. I imagine that once there are multiple enemy players on the screen and lots of bullets flying around (especially once I code in automatic weapons) that things could come grinding to a halt.
What am I missing here? I'm not really a game developer and so most of the things I'm doing I've just "made up" on the spot, but I can't figure out how to effectively handle bullets in Flash.
EDIT: As requested, here is "my" Bresenham code. I say "my" in quotes, because I basically ripped this from somewhere on the internet. My changes to the algorithm basically involve the lines at the bottom. The original implementation would find the path from player character to the target, except that every once in a while (and I wasted a little bit of time trying to figure this out but never got anywhere) it will generate the path from the target to the player. To "fix" this, I ended up just checking the first X/Y values from the path array and reversing the array if those values didn't match the X/Y values of my player character.
[Code]...
I'm making a flash game and need to use part of a java program. Is there a way to import the java program into flash? Only a section of the game will be using the java program, so I don't want to import the flash part into java...
View 1 RepliesI have a DVD that came with a school book the book is called CompTIA A+ Guide to Managing and Maintaining Your PC. It came with a DVD that has some interactive labs on it that work thru html files and flash player. There is a master HTML file on the disk that runs the whole thing. After everything is activated with numbers and all that jazz you have a screen that lists all the labs you can do. You have to set Flash up to allow access to a folder on the DVD that holds the labs HTML files.
I have this working on my PC thru Firefox and Internet Explore. I want to be able to do this on my MacBook pro. So far i can't get it to work on Safari or Firefox or Opera on my Mac. I have set up flash the same way and if I use Finder to go directly to the chapter1_lab1.html file it works. But when i try and do it by access the master HTML file and clicking on one of the labs listed it doesn't work. Safari sits on a blank screen and Firefox gives me this error.
File not found
Firefox can't find the file at file///Volumes/LabConnection/Labs/2207012/Chapter1_Lab1/chapter1_lab1.html
What i have figured out is that on the DVD the files are listed with capitals (Chapter1_Lab1 not chapter1_lab1) If i enter this part into the address bar of Firefox ( file///Volumes/LabConnection/Labs/2207012/Chapter1_Lab1/chapter1_lab1.html) I get the same error if I change the c and l to Capitals it plays the lab. Hope this is understandable. What do I need to do to make it read the file since the master is telling to look for lower case files and for some reason my Mac won't recognize it has the same file with the upper case letters.
Specifically, I have a demo of a flash game (sort of super mario style). In it I have two types of weapon - a simple fire and big fireball. I reviewed the code in order to learn flash better [I am very new - since around monday this week].
I saw that the program has a variable that keeps track of the number of uses I have left in each weapon. I tried to review all the places this variable was used but I couldn't find where it affects the drawing onto the screen.
I even tried removing the variable declaration and then testing it - so I may find all references to the variable -- By the way any convinient way of finding all references to a variable/method/class [I am using ADOBE FLASH CS5.5]?
Also, I tried changing the variables starting value to "12" and I noticed that when I test the game, the weapon has 12 uses indeed.
So my problem:1. It seems that this variable is somehow affecting the drawing. Yet, I don't know how it does so since all the code I have found that uses this variable has nothing to do with drawing. It is all, logic, like
if(var <= 0){
var--;
} else{
return false;
}
Where is this influence coming from?get all references to a variable[like in eclipse ctrl+shift+g]?
I'm planning to develop a chat program in Flash using a sample program called Ozeki VoIP SIP SDK. On their website, they say: with the help of this sample program you can easily implement text, audio and video chat programs and it doesn't require a long period of time.
View 0 RepliesMy problem is that the client I am making a homepage for wants the site to be done in Flash, but also wants to have the ability to make changes to the website on his own. Creating the website in Flash is not the problem rather what other program or method can I use, which is easy enough for someone who is not knowledgable in Flash or any other web design program, so that this client can make random changes to the menus and photos on this website?
View 1 Repliesrecommend a good template or program where i can easily drag and drop images and move images to adjust with a scripted sound background. Preferably something where I can add several photos at once and overlap and move photos around on the stage. I don't want to have to do this from scratch if possible.
View 1 Replies