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 > april 2007 > threads for tuesday april 3

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

Code for displaying Image name?
Posted by Slave_8 at 4/3/2007 11:06:32 PM
I have made a nice little slideshow/gallery my question is this: Is there a way to have action script display the filename of each image in a dynamic text box? Not a caption but read the xml and display the filename or maybe metadata and have it display in the dynamic text box. ...more >>


Sound only one sound at a time please!
Posted by staceyp_2004 at 4/3/2007 8:41:19 PM
if one sound is playing and another sound btn is clicked, then just play that one and stop current sound. any clues? here is part of the code with var already declared. P2_mp3 = new Sound (btn_five); P2_mp3.attachSound("P2_mp3"); btn_five.onRelease = function() { P2_mp3.start(); ...more >>

Play FLV in player using an external button
Posted by mghayes82 at 4/3/2007 7:15:38 PM
I'm working on a video presentation where a "pop-up" window shows a disclaimer and upon "accepting", the "pop-up" disappears and the video starts playing. The FLV that will play has a 20 sec. buffer on it and the video will be "pre-loading" or buffering in the background as the viewer is read...more >>

hard programing or simple script
Posted by lora23 at 4/3/2007 6:27:15 PM
Hello all.This is my first post here, and sorry in advance, but from 2 weeks ago I try to find solution for this- look here http://www.open2view.com/ look the flash elements- this is not a swf!!! this is one swf file called panorama.swf who load external images in jpg format, but you can scrol...more >>

drag object to trigger an action
Posted by richhennosy at 4/3/2007 5:36:26 PM
http://www.bigredrooster.com/flash/ball.swf I would like to drag the small ball on the left into the square at the bottom. When this happens, the small ball should snap back to it's original position and the larger ball should play (when it plays it changes colors). Ideally, the larger bal...more >>

setInterval scope
Posted by SymTsb at 4/3/2007 5:15:32 PM
Yo. Working on a simple image fade in, fade out routine here. Standard setInterval use to run through an array of images. The code works beautifully until I inserted it into my SWindow class. Its pretty simple actually. When the media container is created, the first image is loade...more >>

how prevent movie from loading completely before playing?
Posted by c-a-schirmbeck at 4/3/2007 4:41:48 PM
Hi, how do I prevent an swf from loading completely before starting to play in the browser? When simulating a download in the Flash application, several preload stages work perfectly, but not in the browser. Preload stages don't appear, instead it takes ages for the 3.5 mb file to completely...more >>

panorama 360
Posted by tom_herciu at 4/3/2007 3:58:54 PM
hy! Can anybody tell me how can i put on my website a panorama 360? http://www.panoramas.dk/fullscreen6/f39-chateau-chenonceau.html . i have one but i don't now how to put it. pls help me!...more >>



Is a dynamic text box empty? HELP
Posted by TheScarecrow at 4/3/2007 3:35:07 PM
I have a dynamic text box the the user inputs text in it. I am wanting to find out if the box has text in it. I have this script and for some reason it doesnt work does anyone see why? Thanks. if ([currentWord][currentSquare].letter.text == " ") { trace(_root[currentWord][currentSqua...more >>

closing a video stream
Posted by iane at 4/3/2007 3:05:14 PM
I've got a function that streams a video into a video object on my stage. var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); function cueVideo(){ myVideo.attachVideo(ns); ns.play("videoname.flv"); } All fine so far. However, I al...more >>

External file imported in flash
Posted by jiaali at 4/3/2007 2:49:52 PM
I need urgent help I need to import the hyperlinks from a text file into my swf file at run time can anyone help me on tht...more >>

[Tip] How to protect Image file
Posted by SunghyunWang (bruce) at 4/3/2007 4:49:06 AM
Hello, If you have ever wanted to protect your image file, especially within your Flash content, this article will be helpful. First of all, there are some points you need to protect when you deliver image data with Flash. 1. Internet Browser Cache. Even though you use 'HT...more >>

need help creating function
Posted by jonblaze87 at 4/3/2007 3:03:59 AM
I'm having a real tough time trying to figure out a function for a dynamic text box. What I am trying to do is have a function to call 2 random numbers to a dynamic text box. But the numbers would be in the form of a question(which I am guessing would have to be a string value) and then hav...more >>

Emailing from Flash 8
Posted by jason.williamson at 4/3/2007 2:54:35 AM
I have built a contact form for a site (my first proper flash site) and it wont work?! i built it according to a lot of looking through online tutorials. Im using input text boxes and labeling them using the var: property box like in the tutorials but when it come time to send i get an error r...more >>

Random MP3 Button
Posted by Mike_Watt at 4/3/2007 12:58:34 AM
I want to know how to place a button on the screen that, when clicked, will play an mp3 file at random from those available within a specified directory... So, I'm thinking that these mp3 should be called up on the fly, and not be embedded into the actual SWF document... anyone have any tips f...more >>

detecting other mc's from a class
Posted by Vertine at 4/3/2007 12:00:00 AM
i am making my first game. i have a simple class issue that i don't understand. In the game, the user has to "hang" bikes on hooks. Thus, a simple drag/drop mousevent. The problem i have is detecting the hook mc's on the stage. How do i refrence what/which mc is in contact with the bikes? Each...more >>

AARGH! Need line breaks in email message
Posted by Poppnfresh at 4/3/2007 12:00:00 AM
I have made an email form on a flash site using the 'mailto' function to send the input from the text fields to an email program. Works perfectly when tested offline in Flash. However, when it runs online in the browser and the email program is launched, there are no line breaks in the messa...more >>

Tracking an SWF
Posted by richieboy1 at 4/3/2007 12:00:00 AM
Hi! M workin on a project to develop an audio commenting system.I hv developed the widget to perform the audio recording and playback.This widget would be available to any general user to host o n his/her site.The problem i hv is that i want to track the usage of the widget.I f it is copied an...more >>

Flash clock question
Posted by BrettArchibald at 4/3/2007 12:00:00 AM
Can anyone help me with a query I have about how to get accurate clock time in Flash, rather than relying on the user's own local clock settings? Searching seems to indicate that "getUTCHours" and "getUTCMinutes" etc. will display GMT regardless, but it doesn't appear to be working for me. If ...more >>

Change .html title using flash
Posted by Xristen at 4/3/2007 12:00:00 AM
Hi, is there anyway i could change my page title using flash? for example: there's a navigation menu with all the links (whereby the links are all individual buttons - upon clicking will callout the getURL function)...upon clicking on any of the buttons, the page (frameset in this case as ...more >>

clear imput text box
Posted by jonblaze87 at 4/3/2007 12:00:00 AM
Just wondering how to clear an imput text box with a button after the user has typed something in it. I tried this but it doesnt work. on(press) { imput_txt.text = ""; } ...more >>

Open HTML from other people PC
Posted by clickgal at 4/3/2007 12:00:00 AM
have created a HTML file and i link it in my Flash8. The following is the code used.. on (release){ getURL("CompanyProfile.html","_blank"); } I retrieve the HTML from my own folder. I was able to view it but when i copy it to other people computers, they are unable to view the HTML....more >>


DevelopmentNow Blog