Groups | Blog | Home


Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
June 2008
all groups > flash actionscript > may 2005 > threads for thursday may 19

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

OnSoundComplete
Posted by swervin at 5/19/2005 11:29:02 PM
hello. I am makiing a mini radi player. I have 5 scenes and each scene has a song that streams, and when the sonf finishes I want it to go to the next scene and begin playing next song. My code is here. onClipEvent (load) { mySound = new Sound(aaaaa); mySound.loadSound("http://www.lar...more >>


counter
Posted by g5604 at 5/19/2005 11:23:38 PM
hi, i am trying to make a volume display for a mp3 player. as you mouse up a bar scales the y axis. heres what i have. onClipEvent(enterFrame){ if (_root.active == true) { this._y+=(_root._ymouse-this._y)/10; _root.counter = (this._y); } } the counter...more >>

loadClip help
Posted by Al_NZ at 5/19/2005 11:18:27 PM
Hi guys, I am pretty new so go easy on me. I want to load a image with loadClip. I am not using loadmovie because I want to be able to rsize the images rations etc to an exact pixel size and loadmovie only lets you set the percent? I read the help and came up with: ActionScript...more >>

getting data out of loadVars objects
Posted by TAGDigital at 5/19/2005 9:51:16 PM
I want to populate variables on a flash client with data from the server. I have setup in the first frame of the scene the following? _global.serverData = new LoadVars(); serverData.Cmd = "GameReq"; serverData.onLoad = processServerResponse; _global.gsPay = ?0?; _global.gsWager = "...more >>

looping sounds
Posted by alanwallace4 at 5/19/2005 9:47:37 PM
Hi there, Impretty new to flash design. Ive been trying to put together a site and decided to put a bit of background music to it. now, its a loop and i madea separate layer and put it in the 1st keyframe and set the loop value to 1000 (no idea why 1000). the sound works fine when runnin...more >>

delete an onClipEvent(enterFrame)
Posted by carceron at 5/19/2005 8:46:05 PM
Somebody knows how can I delete an onClipEvent(enterFrame) action that is on a movie clip? I know how to delete when I use the action on a frame: _root.circulo.onEnterFrame = function() { this._x += (move_x=move_x*friccion+(_root._xmouse-this._x)*rebote); this._y += (move_y=move_y*fricc...more >>

Problem with characters?
Posted by Sajo4242 at 5/19/2005 8:43:56 PM
Hi, I'm just creating a template which is reading data from XML document to dynamich text field. Everything is alright but the characters like ?,?,?,? etc. How I can change encoding or something?...more >>

Help needed to do simple calculation....
Posted by gss266 at 5/19/2005 8:33:13 PM
Hi all, I am trying to divide 2 numbers and display the result as dynamic text on the press of a submit button. I have written the following actionscript. on (press) { _parent.c1_text = _parent.a1.val_text * _parent.a2.val_text; } But the ouput dynamic text says 'NaN' when I cl...more >>



problems with print job.....
Posted by reno.rkcrew at 5/19/2005 8:22:47 PM
hello, i did for a client a application with a book of 25 pages to print ( it was his request !) so i did it and it works on my computer but not on his computer. my AS code is like that: var printBook:PrintJob = new PrintJob(); printBook.start(); for(i=1;i<26;i++){ attachMovi...more >>

pop up menu problem
Posted by alexthecatta at 5/19/2005 8:15:56 PM
Hi everybody, i'm tryin' to build a pop up menu. What I've got is: 4 buttons: each time u roll over one of them a panel appears. When u roll out the pannel fade away. Everything works just fine except this: buttons are white on thier 'normal' state. When u roll over them the button...more >>

How to play intro
Posted by forumnotifier at 5/19/2005 7:12:08 PM
http://www.hostme4free.com/ I can't seem to get this to play when you click the play intro button. Pleas help I know it's simple but I can't get it to work in the same space. http://www.hostme4free.com/Flash/header.swf ...more >>

How to play intro
Posted by sveva1 at 5/19/2005 7:12:03 PM
http://www.hostme4free.com/ I can't seem to get this to play when you click the play intro button. Pleas help I know it's simple but I can't get it to work in the same space. http://www.hostme4free.com/Flash/header.swf ...more >>

How to add event to jpeg loaded by loadmovie method???
Posted by Sajo4242 at 5/19/2005 6:19:22 PM
Hi, I have loaded jpeg image by loadMovie method _root.modulPicturesPanel.image1.loadMovie (source); but _root.modulPicturesPanelImage1.onPress = funtion () {} does not work. How I can do something like that???? please someone reply to sajo@mtbiker.sk Thanx ...more >>

Loading text from external file
Posted by adrianTNT at 5/19/2005 5:04:34 PM
Hello. I have a dinamic text box, it is set to have multible lines in properties. I want to set it`s value dinamically and text should display 3 text lines, if I set it`s value from action scrip it works using "\n" to end the line: my_clip.the_text="RECTOR\n Prof.dr.\n Cornel HARANGUS"; ...more >>

#include - path problems
Posted by evilvoid at 5/19/2005 4:14:32 PM
Hi i am trying to get 8 swfs on my website to use #include to get an arrays file, so i only have to update and upload 1 file for updates I have tried using #include "http://www.domain.com/event_hrefs.as" but keep getting a file cant be found error, i cant use this #include "event_hr...more >>

My "i" wont work -- Please help
Posted by bpurcella at 5/19/2005 4:14:14 PM
Hi All, Could someone else please look at this and see if you can tell me why my i wont work Set up: Loading info from a xml file PicObject = new RSXML2b(); var xml_file:String = "pics.xml"; PicObject.Open(xml_file); PicObject.onLoad = function() { var nr = this.GetNumRows(); Pic...more >>

fscommand problem
Posted by Offroader at 5/19/2005 3:39:00 PM
I have looked and looked and cut and pasted other code but I can't see where I am going wrong. I have an .asp page with a form on it in one frame. I have a .html page with a flash movie on the next frame. The flash movie also reads another asp data page internally Once the movie is creat...more >>

HELP - Why Does My Loop Execute Twice
Posted by enfantterrible at 5/19/2005 3:21:10 PM
I'm playing around with the "accordion" and "tree" components in a "form applicaton" in the main screen I have the accordion componet and in a subform called emails I have a tree component with the included code. If I don't set the counter (xCounter) variable in the main screen the loop in ...more >>

deleting .sol file created with SharedObject
Posted by fiuOY at 5/19/2005 2:29:20 PM
Hello, I'm creating a page that asks for the user's name, and I'm storing it in his computer by means of SharedObject and the function flush(). But how can I allow the user to reset that name. In other words, if it's not him, and he wants to log out, and log in as a new person, how can I...more >>

Focus a text window
Posted by Lifeasalounge at 5/19/2005 2:11:07 PM
I have a movieclip with a textbox in it on my stage. When the movie is loaded, the movieclip i mentioned, has its visibilty set to false so it will not appear. On the press of a button, i want the movieclip with the text box to appear and the cursor to appear in the textfield. I know how to do...more >>

Custom MovieClip or Component - Keep proportions of objects
Posted by Patrick Geiger at 5/19/2005 2:08:26 PM
Hello, I am attempting to build a custom text area component (very similar to the "TextArea" component") and I would like the developers to be able to resize the object at authoring time, but I would like my objects inside of the component to be constant. For example, the developer would ...more >>

5 buttons instead of 3
Posted by thejokerman05 at 5/19/2005 1:47:36 PM
But what to do if I have more then 3, let's say 5? _root.picnumber=0; this.btn1.onRelease = function () { if (_root.picnumber == 2) { pic2.gotoAndPlay (12); } else if (_root.picnumber == 3) { pic3.gotoAndPlay (12); } _root.picnumber = 1; pic1.gotoAndPlay (2); } ...more >>

Storing Data to a Variable - Survey
Posted by vvicin01 at 5/19/2005 1:25:45 PM
Currently I am creating a survey that allows users to select items from a checkbox that stores the data to a variable. I then write the results back into a textbox at the end of the survey. I want to be able to write more than one item to that varible. For example, if the user selects checkbox...more >>

external image scrolling through program
Posted by Anita Badgeri at 5/19/2005 12:54:33 PM
I have called an image by the loadMovie function in a movieClip, and i am scroliing it programaticaly with the onEnterFrame function Now i need to pause the scroll of the slider for a while and then again start it from the same position. I do'nt know if it works that way. Need some help... ...more >>

Throwing exceptions from an onLoad event handler
Posted by RODRIGO CAAMANO at 5/19/2005 11:11:42 AM
I'm trying to throw an exception when flash is unable to load data from = the server. But I can't catch the exception from anywhere in my code. I = tried putting try/catch statements everywhere in the code but it doesn't = seem to work at all. Here are some examples Example 1 function loadDat...more >>

Strange XML behaviour when using international letters
Posted by Runarfrilla at 5/19/2005 11:09:23 AM
Hi all, I couldn't find a topic concerning this matter but it's so basic so it has probably been answered before. Anyway... I'm reading a XML file from disk that contains international letters. However, it seems as if something goes wrong when the XML parser encounters those letters. Any...more >>

port programming
Posted by Envious Eli at 5/19/2005 9:18:14 AM
hi, i want to develop the game chess. this is two player peer game. two players on local network play this game. i need send and receive data at the ports to communicate between two computers. which classes i could use in flash mx, or if not then can it be possible in flash remoting or ...more >>

Action Scripting 2.0
Posted by Chronix2005 at 5/19/2005 8:28:12 AM
I feel as if ths is the hardest part about flash, and im wondering how people overcome the problem of finding action scripting difficult? I've got a lot of tutorials by lynda.com like advanced action scripting and intermediate etc and also flash tutorial cd roms by lynda.com.... I've only just...more >>

AICC Compliance
Posted by Kamdy at 5/19/2005 8:17:43 AM
Pls help... i have a flash file for my training course and ready to upload to the server, the question is what actionscript i can put in my first page and last page, so when i finished the last page, the data will submit to the server that i have completed the course? Thanks!!! ...more >>

help: need script to run exe file without pormoting
Posted by net_python_1987 at 5/19/2005 7:58:45 AM
i need to run file.exe from command get url but the message always apear " you are trying to download the file file.exe from site.com do you want to open save cancel " -------------------------------------------------------------------------------- ----------------------...more >>

Problem with load vars
Posted by Flashkernel at 5/19/2005 7:01:04 AM
Hi, I'm facing one problem regarding the loading of variables. It's like this. I have two swfs one.swf and two.swf and a .asp file. .asp file is used to retrieve records from database. two.swf uses .asp file to get the data from database in terms of records each having the column value...more >>

Handling Events from XMLConnector component
Posted by bertnz at 5/19/2005 5:58:34 AM
I have made a wee class which contains one method called MakeRPC call - which in turn uses an XMLConnector to make a request to a web site for some XML. I have assigned the handling of this event to a method called HandleCallBack which in turn does two things. a) Prints out the returned XM...more >>

limiting attached movie clip scrolling - still stumped
Posted by macron at 5/19/2005 5:51:40 AM
hi all - i got lots of help on this problem from kglad, but i keep bumping up against a wall. i'm trying to limit the scrolling action of thumbnail movie clips of differing heights that are loaded into a holder on the stage. so i'm looking for a script that will set limits to how high the cl...more >>

Progress dot on music progress bar
Posted by swim4it at 5/19/2005 4:42:59 AM
I can't figure out why my progress 'dot' is going past the end of the progress download/load bar. Can someone help me on this? I'm thinking because it moves 100 pixels for 100 percent - but I'm not sure. Take a look at what the dot is doing here: http://portfolio.midnight007.com/midnight...more >>

window
Posted by HeMightBeCreative at 5/19/2005 4:10:31 AM
what kind of script do I put on a link to make it open in a new window instead of the current window?...more >>

move a movie clip by mouse click
Posted by fl4sh newbie at 5/19/2005 2:14:53 AM
hello there. i have created a simple game in flash with using arrow keys to move. now i want to make a game that yuou click and the movie clip moves to the spot where you click. this script is probably way more complicating and i cant even come close to figuring it out so please help me. i...more >>

get URL
Posted by rikster27 at 5/19/2005 12:50:17 AM
Is there a way to control window size when calling a new browser window with the getURL command? I need to open in _blank but also a specific size and always on top...more >>

buttons aren't working
Posted by john milo at 5/19/2005 12:30:46 AM
For some reason, my buttons won't play the movie when I press them. Here's what I did: I placed an empty layer first. I added a new layer and imported (by link) a quicktime movie. I labeled this layer QT Movie Then I added another layer labeled Buttons. Here, I placed two circles. ...more >>

Controlling timeline of mc in scrollpane
Posted by Laer2 at 5/19/2005 12:11:10 AM
If I have a page that has a scrollpane 'textbox' (containing the movieclip 'text_mc') and a button, how would I control what frame the movieclips timeline is currently on? I thought I could attach the following code to the button: on (release){ _root.text_mc.gotoAndPlay(_root.text_mc...more >>

Rotating .swf files at random with ActionScript?
Posted by VisionsIC at 5/19/2005 12:03:52 AM
Hi All, I'm trying to accomplish getting actionscript to load an independant .swf file into a MC at random every 20 secs? I've created the .swf files to be loaded into the MC to which I gave it an instance name of "rObject". I created 3 layers: "base" - bottom layer "movie" - middle...more >>


DevelopmentNow Blog