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 > june 2006 > threads for wednesday june 28

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

accessing buttons within mc
Posted by hushhurt at 6/28/2006 11:58:46 PM
ok, i am trying to create a mp3 player within flash. i want to create an menu when you rollover an "audio" button. the audio mc fades, and the stop, play, etc. buttons fade in. so i created a movieclip with "audio" and then a tween to fade in the play buttons. I then made a large hitArea but...more >>


check movieclip positions
Posted by lurkio at 6/28/2006 11:58:16 PM
I have a mystery to solve. My drag and drop puzzle, with 3 correct positions, was working until I changed the graphics (from bags to boxes). Now only two of the positions will trigger correct results when my check button script runs. When in correct position movieclips play frame 2 with...more >>

Using cue points to trigger events on the main timeline...
Posted by eabigelow at 6/28/2006 11:45:02 PM
Hi-- I have successfully placed an flv (video) file (progressive download) on the main timeline of my movie with controls to play and pause (Flash 8 Professional). So far, so good! NOW TWO PROBLEMS: Does anyone know how to set it up so that when a specific cue point is reached in the v...more >>

textColor and mx.transitions.Tween
Posted by s007767 at 6/28/2006 11:11:33 PM
I'd like to fade some text from 0xFF00CC to 0xFFFFFF in Flash 8. I tried using the Tween object to accomplish this. var showTween2 = new mx.transitions.Tween (clip.textClip.menuText, "textColor", null, 0xFF00CC, 0xFFFFFF, .75, true); menuText is a dynamic text field. It starts and en...more >>

FLV from PHP?
Posted by wesohaire at 6/28/2006 11:05:05 PM
I am working with a client on a video player and their programmer wants to serve me the flv file via php. Apparently they are using the "f" command in PHP (fopen fwrite etc) and they want to send that information to my flash video player (and not just a url to the flv). Has anyone done this be...more >>

load exteral .flv
Posted by wverbist at 6/28/2006 10:15:26 PM
Hello. Here is what I am trying to do. I have a .swf that is loading a .swf containing a .flv set for progressive download. When I test, the .flv plays fine. I now need to load this main .swf into another .swf using an empty movie clip and an instance name. When I test this, everything works...more >>

Buttons only respond once
Posted by ricklecoat at 6/28/2006 9:46:15 PM
I've got a half dozen buttons (all instances of the same symbol). I had them working fine except that they lacked that 'locked' state -- you know, where the button remains in an 'over' or otherwise highlighted state to show the use which part of the site they are in. So I added some code to so...more >>

Can't get FLVPlayer to read Flashvars
Posted by Steve at 6/28/2006 9:40:00 PM
Sorry if this is trivial but I am new to Actionscript and have spent couple of days messing about with this. I am using FLVPlayer and have added these lines to the HTML page: <param name="FlashVars" value="thisVideo=clouds.flv" /> <embed src="myflvplayer.swf" FlashVars="thisVideo=clouds.fl...more >>



ondrag dragging distance
Posted by stephen_c_ at 6/28/2006 9:31:55 PM
I'm using ondrag with a custom made scrollbar, everything works great, buttons, track clicking etc. and dragging too... except that I have to move the draggable slider by a set amount of pixels. The slider adjusts it's height proportionaly to the number of pictures there are to scroll through,...more >>

How to write my own codes?
Posted by tokeup at 6/28/2006 9:07:57 PM
Hey, how do I learn to write my own codes? Is there a site that has every code typed up?...more >>

events in classes
Posted by Jim Esteban at 6/28/2006 8:58:08 PM
I'm working on a projector class for displaying images as a slide show. I've been getting errors like as follows: **Error** D:\jjesteban.com\src\flash\SlideScroller\Projector.as: Line 98: This statement is not permitted in a class definition. Projector_mcListener.onLoadComplete=func...more >>

Help with Sound!
Posted by MacGyver_971 at 6/28/2006 8:08:56 PM
Hi, I have a FLA file with 2 audio clips. In the FLA file, I have multiple movieclips, each referencing the same audio clips at multiple points in their timelines. I have these audio clips as "streams", loaded on a keyframe. It seems as though when I export the FLA to SWF, it's expor...more >>

From Player 6 to 8
Posted by Euclides at 6/28/2006 8:08:38 PM
The next code works fine with Flash Player 6 and Action Script 1 but I'm trying to get it work on Flash Player 8 and Action Script 2. Any help, thanks in advance. onClipEvent (load) { accel1 = 0.8; rate1 = 0.1; trace(_x); _root.xkoord1 = 0; } onClipEvent (enterFrame) { ...more >>

LoadVars Working Within Flash Fine But Not on Webhost
Posted by Mike122699 at 6/28/2006 8:03:03 PM
Hello Everyone, I have created the following code below. It is basically pulling a delayed stock quote and placing it on a shockwave file. When I test movie within flash it works fine. When I place it on a webhost it doesn't put the variables don't appear at all. I am completely puzzled...more >>

Audio mute button
Posted by Travis1980 at 6/28/2006 7:49:34 PM
I?m trying to create an audio mute button on a flash interface that can mute all audio. The problem is that my interface loads external SWFs and the audio is embedded in the external SWFs. How do I create a button on the interface that can turn off all the audio? I want it so that if I press t...more >>

Javascript tracking
Posted by talso at 6/28/2006 7:15:23 PM
I need to insert a javascript that I got from a search engine analysis company to track the web conversions I get from a lead entry form. Our lead form is written in flash. I need the movie to fire this code when the button is clicked. <script language="javascript" src="http://track.roiservi...more >>

How to declare a new Data Type?
Posted by ihtus at 6/28/2006 6:27:05 PM
I have a new Data type ( fxn ) declared in delphi, and i would like to convert the code to actionscript [Q] type fxn=procedure(t:extended;x:array of extended;var f:array of extended); ..... procedure fp(t:extended;x:array of extended;var f:array of extended); begin f[0]:=x[1]; f[1]:=...more >>

Help me figure out why my piece of actionscript doesn't work
Posted by pitchblack408 at 6/28/2006 5:43:33 PM
I am trying to attach a picture to the stage, resize it, and then move it later. How come this piece of code I wrote does not work properly. _root.attachMovie("Empty Panel",current_board.panel_position,4); _root.current_board.panel_position._width=60; _root.current_board.panel_position._h...more >>

Blurring Images
Posted by bbottger at 6/28/2006 5:35:55 PM
I'm a newbie at Flash. I bought a template and so far have managed OK, but now am stumped. The swf shows a photo, then blurs the photo to almost nothing, then restarts with another photo. The fla has an image file (named 2.jpg) and then several successive images of the same photo, each blurred...more >>

loadMovie - gotoAndStop Help
Posted by LDOUBLEU at 6/28/2006 5:14:16 PM
Hello, I have a movie with buttons. and when i click a button, it loads another movie and I want it to go to a specific frame - Frame 2 for example, and stop. Any help would be great! Thanks Here's an example of the AS on the button: button5.onRollOver = function () { change...more >>

XML onLoad problem
Posted by LostFlashSoul at 6/28/2006 5:13:08 PM
I'm calling an external xml file and loading it into Flash. I can only pull the varables out in the onLoad function. Here it is. var courseXML:XML = new XML(); courseXML.ignoreWhite = true; courseXML.load("presentSlidesOne.xml"); courseXML.onLoad = function(bSuccess:Boolean):Void ...more >>

dynamic playback for .FLVs
Posted by NewMediaRoc at 6/28/2006 5:02:13 PM
I had read in another form that changing the speed at which an FLV plays is not possible unless you create keyframes every frame in the FLV. I hope this is not the case. I'm wondering if anyone else has found a solution to this problem. Possibly by changing the FPS? or creating some way of usi...more >>

String in constructor call
Posted by =Slayer= at 6/28/2006 4:53:55 PM
I have a variable currentGame which points to a blank Object. A random game is chosen from a pool of many games. I want to then call the right constructor based on the game that was chosen, for example if game1 is chosen, I want my constructor to say currentGame = new game1(); if game 2 was ...more >>

Scripting MovieClips at runtime
Posted by Jim Esteban at 6/28/2006 4:32:36 PM
It's it possible to create an empty clip and then add frames, frame labels and scripting to it at runtime?...more >>

AS animated _alpha on a button problem
Posted by Andra Veraart at 6/28/2006 4:20:58 PM
Hi there, I'm using the following code to animate the _alpha value of a button up and down: _root.fadeIn = function(){ nav.tekst._alpha += 2; if (nav.tekst._alpha >= 100) { delete this.onEnterFrame; this.onEnterFrame = _root.fadeOut; } } _root.fadeOut = function(...more >>

getting embedding page
Posted by slashsite at 6/28/2006 3:52:31 PM
hi i my question goes like this: I have a web site lets call it aa.com and anouther web site lets call it bb.com i have html page in aa.com that calles to f.swf in bb.com (the othere server) i want to know what is the calling page ? if it was from aa.com or from bb.com. i know ho...more >>

Loops
Posted by MediaMan5335 at 6/28/2006 3:42:50 PM
on the stage I have 9 movie clips with 9 buttons inside each. (these movie clips are going to be drag and drop) The movie clips are named 'answ1_mc' and buttons are named 'answ1_btn' (1-9). I am trying to put the code on the buttons using a loop but can't seem to get them to even trace som...more >>

loadMovie and gif:s
Posted by pindus at 6/28/2006 3:27:37 PM
I've made an app that loads images into the scene w. loadmovie. Since we've only handled jpegs it's never been a problem. Now we have to make it work for gif as well, and I've heard that you can make the gif:s into a swf and still use the loadmovie. Do i nead a plugin or somenting for this...more >>

Looking for a flash developer!!!!!
Posted by Ihave a job! at 6/28/2006 1:54:48 PM
I am a recruitment consultant and I am currently looking for a top flash developer with dream actionscripting skills. Its to work for a top agency in the midlands. If you can bring development and creativity you would be the ideal candidate. Let me know if you want to be considered. Thanks...more >>

to load webpages on movieclip
Posted by danieldear at 6/28/2006 1:12:30 PM
i am starter in flash and i have a q i have a movieclip and i want to load a web page on it how to load a web page on flash stage (either using any component or with any method ) ...more >>

Formatting Decimals
Posted by ndisdabest at 6/28/2006 12:57:18 PM
I've built a simple Batting Average calculator, but I would like to format the final decimal value so that it doesn't hava a leading zero and only has 3 digits after the decimal point. How do you format decimal values? Here's my current code: stop(); var avg:Number = 0; var hi...more >>

Target a Movieclip to change the color on rollOver
Posted by MacJr at 6/28/2006 12:41:33 PM
Hello, Is there a (rather) simple way to change the color or highlight a movieclip (only a movieclip) on rollOver? Perhaps even target the color of text inside a dynamic text box within a movieclip? I would like to try this without using an embeded button, as I require the same (560) seper...more >>

same movieclip in consecutive frames
Posted by Jeff Schumann at 6/28/2006 11:05:17 AM
I have an empty movieclip with this code attached to it. class com.mcTakePicture extends MovieClip{ //***************************** // public functions //***************************** public function mcTakePicture() { init(); } //***************************** // end /...more >>

absolute or relative path inside access
Posted by druhallen at 6/28/2006 3:35:08 AM
I have a ScrollPane on which I can change the value of ScrollContent, using some buttons on it side to load different movieclips. The problem is, those movie clips are not in the timeline, they stay on the library. And are only called when the buttons are pressed. But in one of those moviecl...more >>

Basic Question About an "If Statement"
Posted by Ismoker at 6/28/2006 3:19:14 AM
Hi, I'm new to Flash and programming in general, so this question may seem very basic and easy for most of you. I'm working on a "Catching" game where the objective is to catch objects falling out of the sky. I already have it programmed to where I can get things to fall out of the sky, and ca...more >>

Random, scaling animation, per viewing
Posted by twistedpancreas at 6/28/2006 2:03:48 AM
Hi there, I've got a animation to do for a science experiment, simulating a student adding some solution (iodine) into a flask (with disolved vitamin c). At some point the vitamin c solution needs to change colour, and the iodine solution stops being added to the vitamin c. See http://im...more >>

Center dynamicly loaded jpg
Posted by byenary at 6/28/2006 12:00:00 AM
Hello im loading dynamicly a bunch of jpg's When they are same size of stage its fine but when they do not have the width or hight, they end up in lef top corner... Can i get dimensions of jpg before doing this loadMovie(pathToPics+arrFilename[teller], mcPlayer.mcFotoList); If there is a ...more >>

Display HTML or Javascript in Flash
Posted by questionsquestions at 6/28/2006 12:00:00 AM
Hi, i am developing a "Secure Hosting" ecommerce site. On the shopmain.php page there is a frame that displays to the basket total as with all ecommerce sites. Currently the ecommerce site is a seperate entity from our main HTML hope page but we are currently trying to intergrate the two more ...more >>

ease into rotation
Posted by dhx10000 at 6/28/2006 12:00:00 AM
Hi, I am some code below that is working fine, except that I would like it to ease into the position that I have set gradually, kind of like if you were to spin a wheel. ..it starts off slow, gains speed, then slows to a stop at the position I have on (rollOver) { this._x = 520 ...more >>

Creating you own class
Posted by Tolk at 6/28/2006 12:00:00 AM
Iv'e created an empty movieclip in my main fla. and assigned it's AS 2.0 Class to a custom class i created in an external as file. I want my custom class at some stage to draw an emptyMovieClip into this containing movieClip on the main fla. I tried using, in the class draw procedure: th...more >>

loadMovieNum fails on firefox (randomly) -- urgent help, please
Posted by cosu at 6/28/2006 12:00:00 AM
i have a loader movie that has the following frames: it works just fine on my computer and in internet explorer, but would fail loading swf to level 1 on firefox. please suggest. thank you // frame 1 for loader swf loadMovieNum("bupromo.swf",1); // frame 3 for loader swf fr...more >>

Minimize a window in Standalone mode
Posted by Jose_mau at 6/28/2006 12:00:00 AM
hi, How to minimize a browser window or force the window to lost the focus in standalone mode? The window is open with the getURL command (getURl("www.adobe.com","_blank","Post"). Thanks Maur?cio...more >>

Loader component loading swf bigger as it is?
Posted by byenary at 6/28/2006 12:00:00 AM
Im loading second.swf in main swf using a loader component, second swf is has a stage size of 800*85, i load it in a component with the same size, and scaleContent = true This goes wrong, after investigating second.swf it actualy has a stage size but some components on the size like a textfi...more >>

somehow skipping instructions
Posted by cosu at 6/28/2006 12:00:00 AM
i have the following code: if (_level0.vlcode != undefined) { _root.pages_mc.gotoAndPlay("result"); _root.gotoAndStop("secondpage"); } now, the movie works just fine when tested in flash. when i test it on browser it stars failing. it would execute the gotoAndPlay() for pages_mc ...more >>

Displaying SWF files in sequence
Posted by liamfahy at 6/28/2006 12:00:00 AM
Hi, I am quite new to Flash and am creating my first website. I currently have 3 SWF pages which I want to link together. these pages are "Home_Page", "Portfolio" and "Portfolio_outro". At the moment, when you click a button in "Home_Page" you are taken to "Portfolio". There is a...more >>

Controlling A Single Sound
Posted by sprecks1 at 6/28/2006 12:00:00 AM
Hi. I have created a CD ROM and am trying to iron out this glitch with my sound. I have a sound clip (trains.wav) that is activated when I play a small animation. I have a Stop button and a play button for this sound. This animation and sound is contained in a movie clip where i have created t...more >>

Load Movie/ photo gallery
Posted by thewoodentop at 6/28/2006 12:00:00 AM
I have a load movie button working correctly, and I have a photo gallery with 'back' and f'orward' buttons working correctly - but when I try to load the photo gallery swf file, onto my page with the load movie button, I get an endless NaN error pop up on screen. Does anybody have any sugges...more >>


DevelopmentNow Blog