393 Topics
## Introduction ## Welcome to part 2 of the Selenium scrolling tutorial. Please follow the directions in [part 1](https://www.daniweb.com/programming/software-development/tutorials/538448/perform-scrolling-actions-in-selenium-part-1) to set up your project. In part 1, we learned how to let Selenium decide how it wants to scroll to elements. In this part 2, we will learn about a …
I have a home.fla file ``import flash.events.MouseEvent; import flash.display.StageDisplayState; import flash.display.MovieClip; stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; SearchBut.addEventListener(MouseEvent.CLICK, clickSearch); TestBut.addEventListener(MouseEvent.CLICK, clickTest); //DemoBut.addEventListener(MouseEvent.CLICK, clickDemo); var MC:MovieClip; MC=new MovieClip(); var myGlobal:Number = 100; this.addChild(MC); var flag:Boolean; flag=false; //this.addEventListener(Event.ADDED,onFileAdded); // //function onFileAdded() { // //} MC.addEventListener(Event.ADDED,MCAdded); this.addEventListener(Event.ADDED,onFileAdded1); function MCAdded(e:Event):void { var f:Boolean; f=true; } function onFileAdded1(e:Event):void …
i need to get a out put of the array in my code that will display every time the counter counts and has to be linked to a random number. import flash.utils.Timer; var color: Array = ["red", "green", "blue", "yellow"]; var rand: Number; var counter = 0; var myTimer: Timer …
I'm currently in the middle of making a VB.NET project. I want to have the VB.NET project control the actions of the Flash projector. (Stop, play, change text of text control in the Flash projector, etc.) This is a one way control however, nothing about the SWF projector will interact …
I need help generating a timestamp the same way you generate one in flash (actionscript) [code]new Date().getTime()[/code] That's how you generate it in actionscript, it returns a 13 character int. eg 1202497647515 [code] Dim date1970 As Date = "#1/1/1970 12:00:00 AM#" Dim datenow As Date = Date.Now days = DateDiff(DateInterval.Second, …
how can i make an Online Highscore Leaderboard For A flash cc Game -android platform ? i make offline leaderboard using share object var SCORE:uint = 0; //positve numbers gameScore.text = String(SCORE); ... var soSavedScNa:SharedObject = SharedObject.getLocal("aaa"); // // //**Object var savedSN:Object = soSavedScNa.data.nameScore; // Set the varible 'savedSN' // …
hello I am new here, I am ineresting which is best programing language to make flash games. thanks
so i have a class assignment to link all our game files, im trying to load a "lose.swf" after the car crashes. our teacher only gave us this line of code to use and i cant seem to figure out how to get the MovieClip(stage.getChildAt(0)).loadThisScreen("lose.swf"); part to work properly ( …
Hello i have a problem. I am trying to make my website an application. I am having problem on the login page. I made the connection with the database but i cant log in as a user. this is the code. Can anyone help me? <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" …
How to make cursor for user touch in as3 ?
how to auto increment alphabets in actionscript??
I've been working on a project using selenium 2 webdriver. Took me a while but finally got it working inside iframes of a web page. Thing is, I searched a lot and seen many examples but none that looked like what I ended up with, looks a bit weird and …
I'm trying to reuse an old Flash file that my client wants on his website however I'm using Flash CC now, and the existing code does not funtion in ActionScript3. I can't see why this won't work. Any advise would be greatly appreciated function randRange(min:Number, max:Number):Number { var randomNum:Number = …
i have some problems in action script 3.0 so i'm not able to complete my project. i've uploaded some files: 1-main star.swf(the sample i'm trying to make) 2-Dynamic_Text.fla (my work till now) 3-.as files if there anyone who can help me in this? thanks[Click Here](http://www.4shared.com/zip/GD38qERBce/myproject.html)
Hi! I have now learned how to write to and read from .txt files on my server via [B]php[/B], but is it possible to do this with [B]JavaScript[/B]? :icon_question: Like that JavaScript writes to the .txt file every second without needing the user to refresh the page to write or …
How would I use two actions? <form id="myForm" action="form.php","form1.php" method="GET"> Does this work? Now I have 2 actions. how to connect 2 pages using php? plz guide me
Hi all!! I am building a media player in flex that uses video streaming through rtmp:// I want to get its bandwidth usage but found out that we can't get bytes loaded for video streaming. Is there any way to get it through php or js? I mean php gets …
Hello Daniweb Comm., i have a script using setValuesAtTimes which converts Shape paths to Mask path keyframes (to edit and run scripts requiring keyframes). Vertices on all Mask paths keyframes are positioned as their original Shape paths so that Shape to Mask vertices translation is not required. However, the "global" …
I want to make a hangman game, using actionscript course. and I wanted to make this game a little differently, which can tell more than one letter in one guess. with string matching algorithm is Turbo BM if anyone can help me?
Hi! I need help in deciding the topic for my final year project.. my task is to make multimedia content for education. Software that will be used is Macromedia FLASH. I need to make an interactive content so i plan to make comp. simulation. my listed topics are (well, i …
how to select multiple item in drop down list in flex??can any one help me with code. thanks in advance.
i can able to create dynamic textinput field and also create the eventlistener to get particular textinput value.but i need to store all textinput value which was created in vgroup.it is possible???am newbie to flex..help me..
I'm using adobe flash professional I have two movie clip the first movie clip have three shape (circle,triangle,square ) the second movie clip have three face expression sad, happy and angry I know how to implement each face with face expression , but I want the triangle to not have …
i need to upload multiple image randomly in flex with php as backend..can any one help me??
Diggit, is funded by the local authority in the Greenwich area. The project is to take young people who are seen at risk of offending and involve them in helping to look after the gardens of the elderly. A young person can be referred to the project from a number …
Hi there, I'm trying to send an image (a frame from my webcam) over a socket using AS2 for a racing game I'm making. Any ideas how to do it? Thank you.
below mentioned is my code. My question is how do i make my b_btn to perform more then one action. Like when i click the back or forward button i want to make it more then one action. On clicking b_btn u go to image one and when we click …
I want to use MX and spark component with flex. I search on Google but no satisfactory article found. Could give me any idea how to use them. If you try to explain with example, it’s good for me.
Hi there! Im studying web aplication development and I was looking arround the Internet for information about game development in browsers as im interested in that area, however, I didn't found much that could help me advance in this so I decided to ask in this forum in order to …
Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for cloudstack api request and signature generation using hmac to authenticate the user account. here the command is 'listzones'. The output will be in xml shwing the list of zones available in the …
Hi to all I got flash mp3 player from my friend and I wanna your help becuase I'm not well flash and my friend was moved to Africa, here the actionscripts 2.0 code. my question is I don't to use the plalist.xml file I want to use direct link in …
Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for HMAC SHA1 signature generation for authenticating account in cloudstack. No error is showing while compiling. But when i run, the browser opens blank. The url is correct, the signature is genetated. I …
hi frnds i start learning flex..i dont where to start learning.can anyone know the requirement tools,softwares?
Hi, I have been working on my portfolio website like forever. I am struggling with one problem that I can not solve for nothing. Can someone please help me. I don't know what I am doing wrong. I have two checkboxes. When selected the selected checkbox will appear in mytxt.text …
Hi there, I have encountered a strange bug. I have buttons advancing one frame forward and back. It works in the SWF on its own, it works in both the .app and .exe projector files, but it does not work accessing the SWF via the HTML generated page. Does anyone …
Greetings...! I have this admob code in a class file: package { import flash.events.MouseEvent; import flash.display.MovieClip; import flash.system.System; import flash.system.Capabilities; import flash.display.Sprite; import flash.events.Event; import flash.desktop.NativeApplication; import flash.utils.setTimeout; import com.hdi.nativeExtensions.NativeAds; import com.hdi.nativeExtensions.NativeAdsEvent; public class Main extends MovieClip { public var na : NativeApplication; private var admobId:String = 'a1514b5ef85e336'; public function …
Hi, when I change an animation on the player, it flashes before it changes. The method I'm using to change the animation is crude, but its all I know, so I don't even know if there's a better way. I made a player class, and I have a function to …
In actionscript 3.0, when working with Arrays what is the difference between INDEX and KEY?
I have a character select screen, and I'm drawing to the screen using the Loader class, then adding the loader as a class, then clearing the screen by removing all the children except for the ones that are used to select the character. But, when I do this, it either …
hi I have an access database, which I connect it to the form I have text boxes which displays info from the fields in the database. I have created a "Next", and "Previous" button, which the user can move between the database info but i don't know the code for …
**short version** --> not able to upvote answers **long(er) version** --> I tried this action to the Java forum, in several threads and from two separate PC's logged under my user
Dear All, I have one php based application now i want to make interactive application of the same . i started work on flex for php . but now the problem is menu . in current application i have javascript file for menu with few php code i want add …
My problem is that I have an option page which contains the button to control the background music on and off. it works fine. But when I exit the option page then go back to option page again and play the music again, there will be two sound playing and …
Hi, I'm having a problem with the stop() and play() functions The first frame function works fine during the first run of the program but as i hit space in the last frame ( go back to frame 0 ) the first frame function saying whether to stop or play …
In Flash, I have created an invisible button. I can ad some actionscript to make the button to go to another scene, even if it's on hover! (which isn't meant to be. Yet, how do I get it so that when it hovers, it goes to another scene immediately. Are …
Hi Guys an Gals I am trying to make a small game just for fun and have hit a wall though am sure the answer is so simple. Its so foggy here anyway:-) I have a rolling displayobject calles Roller that goes back and forth across the screen. In its …
Not sure if this is quite the place for my question, but I dunno why you couldn't handle it ;) Really just looking for some opinions/answers on develop/design workflows for small/medium projects using AdobeCS5. This week I discovered many of the magics between Illustrator/Flash, such as arranging symbols on an …
Couldn't find an actionscript section so I hope this is the next best section for such discussion. I'm trying to create an isometric game in adobe builder with AS3 along with the As3IsoLib isometric library. Currently upon clicking a unit you want to move I've got four boxes to popup …
Hi, I am creating a sort of zombie game. The concept is if the player gets too close within a distance, the zombie will chase the player. There will be a hit detection when the zombie object hits the player object. I used a trace statement for when it hits. …
Hi all. I have been working on a action script and finally got it working. I am totally lost of how to write my PHP email codes for when the person press submit all the information they fill in is sent to me via email could someone help me please. …
The End.