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


all groups > flash actionscript > february 2006 > threads for wednesday february 1

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

Saving a score in OnTrack LMS
Posted by Emmcb at 2/1/2006 11:57:40 PM
:confused; I am publishing my movie as Flash with SCORM Tracking and using this code: fscommand("LMSSetValue","cmi.core.score.raw,100"); fscommand("LMSSetValue","cmi.core.lesson_status,completed"); I'm launching the html file (not the frameset) and it is successfully passing the status...more >>

Extend MovieClip To Draw Custom Shapes
Posted by REWT at 2/1/2006 11:28:45 PM
I am trying to create my own class that extends MovieClip so that I can draw custom shapes easily. I don't want to have to drag anything to the stage, I want to be able to create the entire application in code. I want my custom class to be able to respond automatically to events such as o...more >>

Re: Want Flash movie NOT to replay every time web page is reloaded
Posted by pwiop at 2/1/2006 11:13:35 PM
If you so wished You could create an initial variable called something like var has_flash_played the first time the mc is played it sets this variable to 1. Your flash file on loading would look for this variable in the shared object and react using code something like; if(my_shared...more >>

How to tell when loadMovie loading was completed?
Posted by adrianTNT at 2/1/2006 11:08:20 PM
Anyone knows how to tell when an image was loaded completely by loadMovie? I wanted next image to be loaded after first one was loaded completely and displayed for 2 seconds. I am trying to do this for 2 days. Maybe a sample code... Sometimes getBytesTotal() returns -1. Why would this ...more >>

Playing a sound once in a site visit
Posted by Rosmary6400 at 2/1/2006 10:30:35 PM
Hi, Is there an option in Flash to only play the sound once, even though the flash clip is displayed in different pages? Any help would be appreciated, Rosmary ...more >>

Want Flash movie NOT to replay every time web page is reloaded
Posted by cysuzanne at 2/1/2006 10:23:33 PM
I have a Flash movie set to play once when my home page loads. (I made a 'play again' button on the last frame of my movie if visitors want to play it again.) Is there a way to set the movie NOT to play again if a visitor leaves the home page and then comes back to the page again within the sa...more >>

passing dynamic text to a dynamically created MC
Posted by aidanRowe at 2/1/2006 10:07:26 PM
dear answerer of questions, I am dynamically attaching movie clips on the stage, these clips, one by one dynamically appear on the stage, building up over time. I want to now add a text field to each movie where I will pass some text into. When I do this statically, ie. place the MC dir...more >>

need to load database data into flash thru php
Posted by juicefif at 2/1/2006 10:02:22 PM
I'm redesigning a site i did for a band and i would like to do it all in flash but i don't know how to load php into flash. I need to load in their news and tour dates into a scrolling textbox. Here's what I had when it was html: The PHP: <? require('DB.php'); require('Smarty.class.p...more >>



mc buttons that play on mouse over and by time?
Posted by fujimotormouth at 2/1/2006 8:51:14 PM
I've got a movie with three movie clip buttons that each play on mouse over with the following script: onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true) ) { this.nextFrame(); } else { this.prevFrame(); } } I would like to have the buttons "s...more >>

using text fields
Posted by codescodescodes at 2/1/2006 8:26:08 PM
Hi everyone. What I'm trying to do is get the width of a specific character in the text field. Is this possible? I've tried using these codes, but none of them give me the proper results: textField._width //returns the width of the entire text field textField.textWidth ...more >>

Finding the current drawing postion
Posted by clcarter at 2/1/2006 8:19:13 PM
Does anyone know how to the actual (x,y) of the current drawing position using Actionscript? Thanks for the help....more >>

same flash clip embedded several in html
Posted by ujelin at 2/1/2006 7:43:15 PM
Hi, In the sample HTML code 1 below, I embed the same clip (a button that plays/stops the sound) several times with a different "link" value. It works perfectly with one clip. It also works with 2, 3 or 4.... but with a larger number (15 for instance), the buttons still appears, but they d...more >>

Converting commas in URL link from a button
Posted by skyrocketmedia at 2/1/2006 7:39:56 PM
Hi, Need to create a button link that has commas in the URL. However it appears as though Flash AS doesn't like it. URL looks like this: http://www.samplesite.com/article2/0,1895,1895767,00.asp Any thoughts? Thanks. :) ...more >>

Scene changes
Posted by samwalker121 at 2/1/2006 7:09:45 PM
Ok, i know there has been about a million scene help disscussions but... i still cant do it - maybe there is a bug or something else? I think im doing it correctly could someone please help. Thanks, Sam. ...more >>

how to set players?s dimensions by AS?
Posted by gringojuan NO[at]SPAM gmail.com at 2/1/2006 6:59:34 PM
Is it possible to set player?s width and height from movie by AS? ...more >>

Sending Flash variables to PHP
Posted by jjfletcher at 2/1/2006 6:27:17 PM
I should preface this by saying that I know practically *nothing* about Flash or ActionScript. :) I'm placing a form input field into a Flash banner. I just need to know how to get the input from the banner into PHP for processing. I don't need to send anything back to Flash, I just need...more >>

Xml Preloader is not working
Posted by mjamil at 2/1/2006 6:25:11 PM
Hi, I am trying to show xml preloader. I am calling an aspx file, which generates Xml, but it takes time to generate xml, and when I try to retrieve getbytesTotal, it shows nothing. There is any solution where xml preloader can starts showing bytesloaded and bytestotal after aspx completey...more >>

Rotating Empty container
Posted by rhouck at 2/1/2006 6:05:26 PM
Currently for a school project, I am creating a photo gallery using XML and empty movie container to pull it in. Is it possible to rotate the empty movie container so that the pictures can be rotated say 10 degrees clockwise or counterclockwise or whatever way I choose? Code XML file <...more >>

Button
Posted by rochribre1 at 2/1/2006 5:58:56 PM
How I do to know the color of a button, I want to print with trace the color of button if my button was black colormybutton = (here a need to put the color of button); trace(colormybutton); so the color = 0000000. ...more >>

repositioning movie clip/unloading it
Posted by bobmcinnis at 2/1/2006 5:56:28 PM
In one of the presentation templates, I have managed to load a SWF movie onto the stage, but it's not appearing in the right place. I'm wondering if there's a line I can add to the below code to be able to set the x and y coordinates (or some other way) so I can specify where I want it the mov...more >>

Can Flash/Actionscript Do This
Posted by PTECDT at 2/1/2006 4:33:03 PM
We have a possible project for a client. Please bear with me as my knowledge of Flash is limited and my knowledge of Actionscript non-existent. The clients machine has a hydraulically controlled arm. There are sensors on the joints and hydraulic rams which produce positional data which can be ...more >>

need script adjustments
Posted by wiredsc at 2/1/2006 4:27:52 PM
I have a gallery from 'eyelash galleries', i have adjusted it to fit my stage etc. However the thumbnails are not square like the borders want them to be, and so they need changing, here is the script starting from when the thumbnails are loaded to where the border sizes are decided: var t...more >>

Spinning 'round and 'round
Posted by firefighterbob at 2/1/2006 4:00:34 PM
I have a circle divided into 8 eaqual sections and it spins when a button is released. How do I get it to stop on a random number (1 through 8) each time it spins? Any help would be appreciated. cheers, Bob ...more >>

Getting images from website
Posted by badmonkey91 at 2/1/2006 3:10:15 PM
Can flash load a jpg from a url and use it?...more >>

Deleting Local Files
Posted by gurthWERM at 2/1/2006 2:49:07 PM
I've created a cross-platform application that creates SharedObjects on the user's local drive. I can make an uninstaller for PC, but can I use Flash to create a MAC uninstaller? Or is this something that the new Security model forbids? Any insight is appreciated. Thanks. ...more >>

preloader not starting immediatly
Posted by Van Garnett at 2/1/2006 2:26:46 PM
I have created a site that have two large mc's in it. if you go to www.vangarnett.com you will see the site in question, and if you go to http://www.vangarnett.com/help.htm you will be able to download the zipped fla. anyway, i would like for, as soon as the page comes up, the spinning graph...more >>

Help with intro video
Posted by justinc911 at 2/1/2006 2:01:12 PM
I can't get my intro sequence to show the loading bar or the movie, I take it there is something wrong with it. Also how would i add music in to play when the movie starts thanks. I have my loading bar in the first frame completely finished with the attached code. second frame is the same ...more >>

PHP to Flash
Posted by ujelin at 2/1/2006 1:39:46 PM
Hi I send some variables from a PHP file using print("&myvar=$myvar") and I load it in Flash using a loadVars object. I don't want "&myvar=$myvar" to be displayed on my web page. Is there any other way to do it? Thanks for any suggestion Jul ...more >>

noob in trouble
Posted by abreaktionfest at 2/1/2006 1:20:41 PM
This is the starting situation: A timeline of, say, 50 frames long. Frame 1 is labelled "begin", frame 25 "middle" and frame 50... "end" (what a surprise!). In frame 1 you have a button that, when pressed, has to start playing until frame 25. You basically want to say to the playhead "w...more >>

audio Pause/Rewind/Forward buttons
Posted by jack10 at 2/1/2006 1:12:38 PM
Hi, (I posted this in the General Discussion when I should have posted it here, sorry) I'm a beginner in Actionscript and I need to create buttons that will enable me to not only Play and Stop, which I've done, but Pause, Rewind, Forward and if possible a slider. I found some code...more >>

Scene help =)
Posted by samwalker121 at 2/1/2006 4:41:04 AM
:brokenheart; Im trying to go from one scene to another, and it just wont work - it should do, I think ive done evrything right!! Please i need help. =) ...more >>

How to close Html browser
Posted by dchen8 at 2/1/2006 3:04:36 AM
I have a flash swf file placed on html file. I know I can close the swf display window by attaching: on(release){ fscommand("quit"); } to a button. How can I close the html browser by using the same flash button when the flash swf file is embeded in html file Thanks for help. ...more >>

Remove Dynamically placed movieClips?
Posted by WizyWyg at 2/1/2006 2:39:54 AM
How do you remove dynamically placed movieClips from the stage? my movieClip is exported as scorebullet from the library; this is how I have the array for my project: var j; var k; var i = 0; cats = new Array(); for (k=0; k<3; k++) { for (j=0; j<10; j++) { duplicateMovieClip...more >>

gotoAndStop problem within a class
Posted by nickcrispini at 2/1/2006 12:00:00 AM
I've created a class and within it created a movieClip instance from my library: class spaceShip { public var ship_mc:MovieClip; public function spaceShip(target) { //create movieClip instance ship_mc = target.attachMovie("spaceShip", "newSpaceShip", 1); }...more >>

Can I write XML locally from flash ?
Posted by Fransgaard_ at 2/1/2006 12:00:00 AM
I want to write a highscore shaped as XML to my local machine from Flash MX2004. Can I do this? Can I perhaps use shared object? Will it write XML? Is there a better way with Flash 8? Any advice would be helpful. I would like to avoid using anything else (javascript, php etc) but flash...more >>

Script for reading .xml database
Posted by mrpiggy21 at 2/1/2006 12:00:00 AM
hi all i'm new in the forum. i'm currently doing my final year project for uni my partner and i took over the project from the previous batch of students and we have not been able to contact them since. the project is about an e-learning courseware which will be uploaded onto the school we...more >>

customizing components
Posted by codescodescodes at 2/1/2006 12:00:00 AM
I'm trying to customize the combo box component, but it doesn't come out right. I use the setSize method and according to the Help panel, it should adjust the size of the rowHeight in the list also, but it doesn't. Has anyone experienced this and is there any solutions to this problem? I've...more >>

Dynamic variable naming
Posted by caskater at 2/1/2006 12:00:00 AM
Anyone know how to access dynamically named variables. For instance... if I have for(i = 1; i < size; i++) this.createEmptyMovieClip("mc"+i,i); and need to access each movieclip (mc1,mc2,mc3,...) how do I access them like in a for loop? I haven't found any way yet on how to accomplish this...more >>

Recognize numbers as intergers (numeral value)
Posted by DoorNumber3 at 2/1/2006 12:00:00 AM
For a few years now I've been hoping that this ability would be brought into Flash. I wanted to create a game like... I forgot the name, but its the one where cards are turned face down and you have to remember the pictures on the other side as you flip through to match card pairs. I ...more >>

LoadVars.sendAndLoad and ColdFusion
Posted by sampurtill at 2/1/2006 12:00:00 AM
I have everything working in my LoadVars code. I'll copy it just to show you: (It's part of a class file that I'm writing) private var cfDoc_lv:LoadVars; private var result_lv:LoadVars; private function loadCfDoc(cfDocUrl:String):Void { cfDoc_lv = new LoadVars(); result_lv = new ...more >>

Opening a word document form my flash site
Posted by batgirl_Sa at 2/1/2006 12:00:00 AM
Ok... i have my flash site working and i have a link where when i click it i get a box saying "do you want to view or download this document " and when i chose view it opens MS word and views it ... which is great and this all happens when i am testing my flash site on my local machine (before...more >>

Flash - needing help, scene!! changes!!
Posted by samwalker121 at 2/1/2006 12:00:00 AM
Im makin a movie with 5 scenes and i cant figure out how to navigate between them, someone please please reply *stresses* Thanks, Sam....more >>


DevelopmentNow Blog