393 Topics
simple problem here is my code first[CODE]Intro_btn.addEventListener(MouseEvent.CLICK, Click); function Click( event:MouseEvent):void { gotoAndStop("what to put here?"); } [/CODE] and was wondering what do i place in the 'what to put here section so it goes to the next frame instead of a specific frame?
Hi all, I am a flash programmer and new to the game development. My job is to develop facebook games in flash with ActionScript 3.0. I know AS3.0 and a stick cricket project is initialized. I want to know the flash game developers helping the forum here. and I would …
So i've been making my first flash game the last few days, and everything was going quick and smoothly.... until yesterday. I've had this problem I can't fix, and have spent about as much time as I've spent on the rest of the game trying to fix it, only to …
Ok i seem to be have alot of problems with this script, first of all there must be an easier way to do something if a function doesnt trigger than having a variable but if this is the only way then it is not working for me. i first tried …
Hi guys & gals I'm tryig to make a game similar to this one : [URL="http://www.wyspagier.pl/gry/gry-zrecznosciowe/fishy_fishy_1.html"]http://www.wyspagier.pl/gry/gry-zrecznosciowe/fishy_fishy_1.html[/URL] however I couls use some advice ; ) I have 2 problems that i stumbled upon 1: my bubbles animation in-game is perrtygloomy I'd like to make the bubbles a little bit more realistic …
Hey guys , recently i worked on wmi architecture , i just want to send data from the remote computer's serial port to an embeded device , how can i acheive that , is there any ways , if there is plz let me know plz
Hi all, I am writing my application in ExtJS and PHP, and I need actionscript to build a folder browser just to get the folder path. Unfortunately, I am unfamiliar with ActionScript. However, upon searching on the web, I have found this little script: [CODE] import flash.filesystem.File; import flash.events.Event; var …
Okay, so basically i have a movieclip on the screen and a function which loads a picture into it when it enters the frame. But i also have a function which makes it rise and grow when it is rolled over and it worked fine until i added the loader …
Hey everyone, I'm using Flash AS3.0 and I am struggling to load an Image from an XML file to a movieclip in my flash project. I have the XML loaded fine, here is my XML content: [CODE]<GALLERY> <IMAGE TITLE="school" image="image1.jpg">pic 1</IMAGE> </GALLERY>[/CODE] It loads with this code: [CODE]var myXML:XML; var …
Hi, I have created dynamic text on a button. How can I get the text to display the hand tool instead of the arrow tool. I have made the text not selectable and given it an instance name then used [CODE]itbl_text.buttonMode = true;[/CODE] it is all contained inside a movie …
Hello Everyone, Having newly discovered tweeing with code I now would like to learn the AS3 classes in their entirety to know what options I have for animation. It's looking like the only way to learn these classes and their respective methods, events, event handlers, and properties is to go …
Hello everyone! I'm making some rollover buttons in flash, and I could use some help. I have this button that has text on it e.g home, contact and stuff like that, and I would like to make this text an hyperlink. I couldn't find a tutorial for this :( . …
Hi, I know when passing vars to an AS3 movie you can use the query string like mymovie.swf?Var1=something&Var2=something_else but what about passing them via the URL? I know that YouTube does this, there embed SWFs are [url]http://www.youtube.com/v/[/url][COLOR="Red"]v3xYkyw86QM[/COLOR] with the red bit being the video URL. The server is Apache so …
Ok guys, please help me! Here´s the thing, On frame 446 in the main timeline I have a button (btn_habitat) that when clicked it launches an external swf and moves the timeline to frame 461. Everything works fine. The swf loads and it shows on stage. Now, on frame 461 …
Hello everyone, I made some movie clips and tweened with AS3. After watching the tween I realize I forgot to correctly set the registration point. Is there a way to change it without tossing the movie clip? Is there a setting I can go to and alter? Thanks for your …
Here is vengat , Flash AS 2/3 Game Developer Last couple of days i am learning AS3 Design Patterns for scripting using class. But the problem i am facing is ---do the design patterns are only for RIA , because scripting with DP for games makes more complicated..... if any …
Here is vengat , Flash AS 2/3 Game Developer Last couple of days i am learning AS3 Design Patterns for scripting using class. But the problem i am facing is ---do the design patterns are only for RIA , because scripting with DP for games makes more complicated..... if any …
[U]I originally built this in Flash 8, then moved the files over to CS4.[/U] Hi, I have a list component where I've loaded song files through xml and everything is working great. I have now been trying to figure out how to make it play one of the 8 files …
I'm looking for a quick tutorial on how to take user input and then display it within the flash game. I want to be able to have it ask "Input a number" and then me type it in and have it shown on screen.
I recently made a Flash movie with a notable amount of animation much of which was repetitive. I was thinking of learning AS3's Tween class to possible make future tweening more efficient. What do some of you think? Also, Is there a site that either gives or sells AS3 preloaders …
Hello guys/girls, I am trying to make this flash game and I am running into a part that I have been stumped on and searching for the solution for the last hour. Basically its a "drag and drop" kind of game and when the user goes to click on an …
i am a newbie flash designer. a client has asked me to make modifications in a flash file used on his website. it is flash 8 actionscript. i am currently working on the same and would appreciate your help. the client has given me 'about.swf' file which i decompiled using …
i am a newbie flash designer. a client has asked me to make modifications in a flash file used on his website. it is flash 8 actionscript. i am currently working on the same and would appreciate your help. the client has given me 'mediacenter.swf' file which i decompiled using …
hello i have started learning action script and ive been trying to create a dynamic nav bar. the xml i have is [CODE]<home> <navLinks> <links>DESIGNER IN FOCUS</links> <links>EMERGING TALENT</links> <links>FASHION MENTOR</links> <links>E-BOUTIQUE</links> <links>FASHION JOBS</links> </navLinks>[/CODE] and i have found that [CODE]mainNavCont_mc.link01.linkTxt.text = "text in here";[/CODE] works to replace one dynamic …
Hi codemasters, I'm new to this forum and I already have a question which I'm pretty sure u will help me out to find a solution. I want to play a mc when the mouse is over. And when the mouse is out I want to rewind the mc. I …
I need to make multiple action listeners for 4 radio buttons and a regular button. They all need to call different methods from another class I currently have [CODE]Import javax.swing.*; import java.awt.*; import java.awt.event.*; public class CardGameCH15 extends JFrame { public CardGameCH15() { super("Card Game"); add(new CardTable()); } public static …
Check this link: [url]http://weightlosscoach.codegenies.com/[/url][B][/B] I would like to know where to search with simple AScript Flash effect, between2-4 pictures - Especially if I could ad an Arrows forl -eft and -right picture slide!!! WoW !!! Thanksfoer any help, help is always welcome!!
I have already created a video player in AS3.0. The Client wants to convert it to a component. I need some good to follow tutorials on creating own components. I had know the concepts of creating components and utilizing that as a SWC. I need to create the component with …
heeeeeEEEeeey I had a question. I am somewhat of a n00b when it comes to coding real C++ programs but I am decent with C like syntax because of actionscript/Processing, so hopefully it makes sense that my skills are disparate. My question is thus, I recently found out how to …
Hi, I have a movie clip called [icode]dsp_albumcover[/icode] (Already created and on the stage, instance name is dsp_albumcover) I also have a variable with a .jpg file (Can be changed to any other though) defined as [CODE=actionscript] var albumimg:String = '/albumcover.jpg'; [/CODE] How do I load this in to dsp_albumcover? …
Hi, I am trying to retrieve the contents of my XML file and use the variables later on in the script; I have the following actionscript code [CODE=actionscript3]// Get XML Vars var xml:XML; var urlLoader = new URLLoader(); var songdataurl:String = '0'; urlLoader.addEventListener(Event.COMPLETE,onXMLLoaded); urlLoader.load(new URLRequest("data.xml")); function onXMLLoaded(e:Event):void{ xml = new …
After gathering some information in the community feedback I have found that some people wouldn't mind having a Flash/Action Script forum. This thread is for to both suggest and debate about this as well as having a 3D modeling forum. Does anybody feel these two forums are appropriate for daniweb …
Good afternoon all, I'm at the beginning stages of learning PHP. I'm trying to understand passing in functions. I have a video lesson so I can see what is being explained but for some reason i am still not getting it. [CODE]<?php function hello($word) { echo "Hello {$word}!<br/>"; } hello("Daniweb"); …
Hi all, Iwant to know is there any way to add a new column in datagrid depending upon the value of a combobox. I have columns in a table whose names are same as combobox's items names. I need to add that column in datagrid which value is selected by …
ok i'll try to explain it simply and clearly. i have looked for a solution for a long time but they either didnt work and were too complicated for my little skill. so i have a main .swf which im working on. i then have buttons which when clicked, launch …
Hi all, My program have two threads (parent thread & child thread). I want to set a high priority to my child thread when it is created. So I just follow the example given in the follow ([url]http://cs.pub.ro/~apc/2003/resources/pthreads/uguide/users-12.htm[/url]) ************************************************** [code=c] #define _MULTI_THREADED #include <pthread.h> #include <sched.h> #include <stdio.h> #include "check.h" …
h all i have written this code from a website to make a menu bar with flash: [code] var links:Array = ["www.ynet.co.il","www.walla.co.il","www.google.co.il","www.facebook.com","www.walla.com"]; var menuButtons:Array = ["Home", "Works", "About", "Contact"]; var subMenu1:Array = ["News", "Updates"]; var subMenu2:Array = ["Web", "Print", "Interactive", "Audio", "Video"]; var subMenu3:Array = ["About me", "Services", "Resume"]; var …
I am doing a flash slideshow animation which animate from left to right by changing their x position. And I am using the tween which is a package of flash [CODE]import import fl.transitions.*; import fl.transitions.easing.*;[/CODE] while moving the image is jerking a lot. How to avoid flickering of images while …
What I need is for 2 buttons to gotoAndStop at different scenes which are menus. I'm reading the Flash CS3 Bible but not getting anywhere [code]stop(); Btn_Brae.onPress = function() { gotoAndStop(61); };[/code]
hi all i have a very urgent question i want to write a function that i can use what i want to do is something like that: [code] <?php $a=_GET["a"]; function radom() { $x=rand(0,4); echo "&b=$x"; } if($a==1) {random(); } [/code] the problem is that it doesnt work... i'm getting …
By now Flash probably has an extension that does this, but since MM/Adobe are incapable of making anything small actually *be* small, here is a very efficient guide to creating handy drop down menus using ActionScript. This has been taken with permission from [url=http://www.thecodebehind.com/code/drop-down-menus-in-flash.aspx]my site[/url]. [quote]Drop down menus are good. …
Hi, i've had experience making counting programs in the iostream and now i'd like to make something useful to me. I play a web browser-based game called Neopets, and i often refresh 500 times a day there to encounter random events. Eventually, my hand gets tired, so i'd rather make …
hi guys. im actually a university fresh grad and i've been offered for two jobs. 1. flash actionscript programmer 2. web developer im still confuse which one i should take. can someone give me the pros and cons of both. :(
This is killing me... It seems simple. I have a button that I want to goto a movie clip. I have tried numerous ways of doing this. My first attempt was creating a new scene with the movie clip and everything. Although the actionscript on my first scene could not …
I have a flash file that reads an xml file and writes the text on the flash. The problem I have is when the client does not have the font that I'm using. I looked on many websites and they always say you have to do the following [LIST=1] [*]Open …
what site provide action script sample code and tutorial ?
hi I am doing a flash website in danish language.i am using loading external text method.I am not getting special chatacters which are used in the language (ex: æ,å, ø).please tell me how to display in flash swf.i have tried this with url encoder but some characters are working.others are …
Hola, Im an experienced coder, however new to java/actionscript 3 I am trying to make a very simple login and I am running into problems. They seem to be with my for loop with the .Length() function in particular... [code] stop(); loginError.visible = false; var loginXml:XML; var loader:URLLoader = new …
Hey everyone, Just seeking opinions as to whether or not you think it's wise to tackle learning more than one programming language simultaneously (eg..PHP and Action script 3.0). Ive noticed that languages have similarities which could lessen the learning curve for the ones you learn after the initial one. On …
Hello Everyone, I'm new to flash and actionscript 3. I just purchased a flash file that is driven by as3. I don't know how to embed it to my webstore's main page. Any help would be greatly appreciated. Here is the description of the files I received with my purchase: …
The End.