393 Topics

Member Avatar for
Member Avatar for dimitrilc

## 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 …

Member Avatar for Klint
2
279
Member Avatar for Ramasamy_1

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 …

Member Avatar for rubberman
0
252
Member Avatar for Trevor_4

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 …

Member Avatar for Trevor_4
0
161
Member Avatar for thedonedeal

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for steven509

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, …

Member Avatar for JonyGreen
0
198
Member Avatar for Sws_1

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' // …

Member Avatar for bugz313
0
230
Member Avatar for cherqeza

hello I am new here, I am ineresting which is best programing language to make flash games. thanks

Member Avatar for bugz313
0
224
Member Avatar for Fenrir370

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 ( …

0
147
Member Avatar for SimonIoa

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" …

Member Avatar for peter_budo
0
202
Member Avatar for aseel.jaradat.9
Member Avatar for rrajeswari03
0
133
Member Avatar for Suzie999

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 …

0
138
Member Avatar for Marty1963

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 = …

0
221
Member Avatar for danielfgh

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)

0
121
Member Avatar for ErlendHL

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 …

Member Avatar for Donald_2
0
20K
Member Avatar for Ganesh_6

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

Member Avatar for Bachu
0
252
Member Avatar for FaisalSarfraz

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 …

0
137
Member Avatar for jeff.cottle.58

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" …

0
56
Member Avatar for Ari_Larsson

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?

Member Avatar for Momerath
0
71
Member Avatar for lampie

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 …

Member Avatar for phorce
-1
576
Member Avatar for rrajeswari03

how to select multiple item in drop down list in flex??can any one help me with code. thanks in advance.

0
69
Member Avatar for rrajeswari03

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..

0
110
Member Avatar for sk8ergirl

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 …

0
108
Member Avatar for rrajeswari03

i need to upload multiple image randomly in flex with php as backend..can any one help me??

0
129
Member Avatar for ishancoolstar

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 …

Member Avatar for ssj005
0
331
Member Avatar for adamb1000

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.

0
81
Member Avatar for UK-1991

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 …

0
161
Member Avatar for mikerock

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.

Member Avatar for caperjack
0
128
Member Avatar for dualresh

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 …

Member Avatar for Simon180
0
356
Member Avatar for siss

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 …

Member Avatar for siss
0
454
Member Avatar for bashaash

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 …

0
204
Member Avatar for siss

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 …

0
173
Member Avatar for coolrosy

hi frnds i start learning flex..i dont where to start learning.can anyone know the requirement tools,softwares?

Member Avatar for coolrosy
0
214
Member Avatar for vanessia_1999

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 …

Member Avatar for Member #949455
0
192
Member Avatar for cpchc

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 …

Member Avatar for Member #949455
0
284
Member Avatar for kyberno

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 …

0
145
Member Avatar for assassasshole99

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 …

0
112
Member Avatar for crapgarden

In actionscript 3.0, when working with Arrays what is the difference between INDEX and KEY?

Member Avatar for pritaeas
0
125
Member Avatar for fantomenfuck

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 …

0
91
Member Avatar for lovely ari

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 …

Member Avatar for Ruzz
0
3K
Member Avatar for mKorbel

**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

Member Avatar for happygeek
0
211
Member Avatar for dd2308

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 …

Member Avatar for AleMonteiro
0
239
Member Avatar for ms061210

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 …

Member Avatar for Phaelax
0
340
Member Avatar for Despairy

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 …

0
107
Member Avatar for Azmah

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 …

Member Avatar for almondjoy
-1
256
Member Avatar for frederick.wright.338

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 …

Member Avatar for mrnutty
0
100
Member Avatar for petzoldt01

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 …

0
318
Member Avatar for 3.5.0-17

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 …

0
113
Member Avatar for kx220

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. …

Member Avatar for kx220
0
194
Member Avatar for vanessia_1999

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. …

Member Avatar for Member #949455
0
258

The End.