all groups > flash actionscript > may 2006 > threads for friday may 12
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
Listening for the end of a movie
Posted by samdl1 at 5/12/2006 11:59:37 PM
Hi, I have some code that loads a movieclip into an empty clip
var container:MovieClip = this.createEmptyMovieClip("container",
this.getNextHighestDepth());
container.attachMovie("twdc_mc", "twdc_mc", 1, {_x:300, _y:275});
then i want to wait until the end of the movieclip, unload it and... more >>
Filling shapes
Posted by Soc4me3 at 5/12/2006 11:01:15 PM
Hi,
I have a basic shape drawn using the drawing tools. Let's say it is a
circle with a blue fill. I wanted to set the blue fill as a variable and have
it change colors when someone clicks a button. The only thing I have found is
the beginFill() which I think starts a fill from scratch... more >>
Simple(?) problems with "IF" statements and variables! Please help...
Posted by BrettArchibald at 5/12/2006 10:48:45 PM
I've got a form with 2 blank fields and a checkbox, and a Submit button (the
Submit button actually just plays a clip rather than any actual server-side
submitting).
What I WANT to have happen is for the clip NOT to play unless ALL 3 elements
have been "utilised", ie: BOTH the fields to ha... more >>
startDrag has the mouse sticking
Posted by JstMrd at 5/12/2006 9:30:48 PM
I have a small project which allows the user to drag a selected response to a
question to an answer box. The only problem is that the mouse sometimes sticks,
or that it does not stopDrag when the user releases the mouse.
I have tried many things to releave this but to no avail. The script is... more >>
Making a color changer in Flash?
Posted by cre8ive1974 at 5/12/2006 8:53:56 PM
If anyone can help me. I'm trying to do something similar to this color
selector.
http://www.chevrolet.com/silverado/colors/
Using simple code I can make the colors change, I just don't know how they
made the "wipe" or any other transition for that matter when changing color.
any id... more >>
unloadMovie Works Only Once
Posted by SoCalMX at 5/12/2006 8:30:02 PM
Any help is VERY much appreciated:
The following code is used to display a help message and then remove it.
A single button is used to toggle the display of the help message. The code
works fine the first time:
- Click "btn_photoHelp" and you get the help message, click again and it... more >>
bookmark and retrieve lesson location from LMS using SCORM
Posted by ersatzintellectual at 5/12/2006 8:10:51 PM
Hello,
I'm looking for some help with my actionscript and suggestions on anything
else (changes in the javascript/html template) that I might need to
successfully bookmark. I have a file that tracks approrpiately in my LMS using
fscommand and basic scorm calls (LMSInitialize, LMSFinish, e... more >>
FLV mute buttons
Posted by Shoudibola at 5/12/2006 7:56:33 PM
Hello everyone! I would like to know how I can make a "mute button" for a FLV
movie. I tried "stopAllSounds" to mute, but it stops the movie as well.
The setVolume does not work, since it is a video and not a sound.
Could someone help?
See ya!
Augusto
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Mystery Loader - Help Me! Please!
Posted by Mr_Interweb at 5/12/2006 6:44:22 PM
I have a significant problem with a preloader. The problem is that the
preloader works 100%, of the time in the Flash player, 95% of the time in
Firefox, and about 30% of the time in IE. I am shooting for 100% success 100%
of the time in 100% of Flash plugins.
See the problem:
http://www... more >>
undefining variables
Posted by radarguy1 at 5/12/2006 4:17:59 PM
I am trying to make a reset button that will clear a set of variables and text
boxes. The variables define coordinates that draw lines. When I think
everything is reset and select new variables the last one is either zero, zero
or null, null. The only way I can think of to eliminate this is... more >>
Help - Setting & Reading In Text Variables
Posted by wwwedwardjonesdesign at 5/12/2006 3:55:13 PM
Hello, can anyone tell me why my dynamic text box, instance name = "body_txt",
displays the undefined? I have a .txt file with variables, &law1, &law2, etc...
I want to set my variable "body_text_var" from buttons and only show the
specific text variable content, i.e. &law1.
I think this s... more >>
How do I loop an imported mp3
Posted by SugnaShane at 5/12/2006 3:40:59 PM
I'm using the following AS to load the mp3. What AS do I need to add loop it?
var my_sound:Sound = new Sound();
my_sound.loadSound("Remembrance.mp3",true);
Thanks everyone.
Shane... more >>
global variables...
Posted by rangewalker at 5/12/2006 2:55:13 PM
ok, this is probably a stupid question that i should know the answer to, but....
when i poplate variables with values inside of a function i cant access those
values outside of the function. what am i doing wrong?
thanks in advance,
doc
... more >>
guestbook problems
Posted by Skivling at 5/12/2006 2:07:28 PM
This might be the wrong forum but anyway...
I got a flashguestbook from flashkit and modified it for my needs. However an
error message aperes when message is posted. The readme says:
"NOTE you MUST change the CHMOD levels on the entry.txt file to 766"
This is greek to me. How do I change i... more >>
Accecting Multiple Properties with the Tween Class
Posted by katyjack30096 at 5/12/2006 1:54:27 PM
I've got a series of movieclips that I'd like to tween. I want to change the
clips from bigger to smaller and while I'm doing that, I want to reposition the
clip on the stage so it's in a different location once it gets smaller. I can
get the tween class to affect one or the other - but not bo... more >>
Detecting what flash player a user has
Posted by josh23gb at 5/12/2006 1:49:39 PM
Is there some code that will detect what player a user has and prompt them to
install player 8?
I was told something about that player 8 automatically does this but have yet
to see it happen when I test on a computer with player 7. Not a think pops up
telling me to download the new player ... more >>
How control PrintJob AddPage
Posted by elkiloprieto at 5/12/2006 1:46:46 PM
Hi everyone.
I need to print many MovieClips in several pages, this MovieClips are loaded
dynamically
Theoricaly :
myPrinJob.start()
myPrinJob.addPage(...)
if everything is ok myPrinJob.send()
But in Flash 8 Pro this workflow doesnt work. All the are printed even without
conten... more >>
Full control of id tagged <img>??
Posted by daniel_vaughan at 5/12/2006 1:27:01 PM
Hi,
First forum question...
I've managed to embed a number of jpg's into a dynamic text field and create
id tags for each of them using <img> tags loaded from an external text file.
I've been able to adjust the alpha on the images using the full qualified
path. However, I can't seem to con... more >>
printing a webpage from within Flash without opeining it
Posted by cre8ive1974 at 5/12/2006 1:24:56 PM
Is it possible to print from within a Flash movie ,a webpage from another site,
without actually opening that site.
Example: I make a print button within Flash, I click it and it prints
www.yahoo.com, but it actually never opens www.yahoo.com, I will never see
www.yahoo.com on the screen.
... more >>
Flash 8: Making a component.
Posted by pwyon at 5/12/2006 4:41:10 AM
It's really odd. When I test my scene (press ctrl+enter) and then go back to
the "component inspector" the second I change a field and press "backspace" to
delete a number in a textfield, it RESETS!! It's driving me crazy. Is this a
bug in Flash8 or a bug in my code?
... more >>
System.capabilites.version
Posted by codescodescodes at 5/12/2006 4:15:11 AM
Hi everyone. I was working on the System.capabilities.version method and I was
curious as to what all those numbers mean. For example, when I run a trace on
my own system, I get "Win 8, 0, 22, 0". In some of the text I've read, they
don't give any mention of what the numbers represent. The... more >>
script for up and down text scroll bars
Posted by DPSwebmaster at 5/12/2006 2:04:01 AM
I have successfully created a text scroll in flash but it uses the scroll bar.
I am looking to just have an up and down button instead of the scroll bar and I
was hoping someone could assist me with the script for the up and down arrows
or point me to a tutorial that accomplishes this.
tha... more >>
what is this?
Posted by anonymous at 5/12/2006 1:19:15 AM
_root.createEmptyMovieClip + drawing does nothing
Posted by adamwestlake at 5/12/2006 12:47:04 AM
I am trying to create a top level movie clip in which I can draw in.
When I run the code only get the white background.
Does anyone know what I have done wrong?
Thanks
Adam
/*******************************************************************************
* Control Bar - Seek Ba... more >>
Creating Dynamically Linked Buttons?
Posted by mikefalcor at 5/12/2006 12:31:41 AM
Is it at all possible to dynamically create links on-the-fly using variables
INSIDE the getURL command?
Example -
I am building a website in Flash 8 that POSTs information to a Mals-E shopping
cart. I have already discovered that the post command will not work from
flash...wierd but t... more >>
Need help on working with external data
Posted by MoiAlex at 5/12/2006 12:21:11 AM
How could I write variables from my .SWF to a .XML or .TXT?
I'm making an application (like a little game) that needs to list some
variables (actualy write them and/or rewrite them) to an external text file (or
XML).
I've tried to do it using LoadVars.send(), and LoadVars.sendAndLoad(). Bu... more >>
Music Player
Posted by MorningLight at 5/12/2006 12:00:00 AM
I have this script:
function playMusak(){
delete bgMusak;
bgMusak = new Sound();
bgMusak.onLoad = function(success) {
if (!success) {
trackInfo.text = "Failed to load track.";
}
};
bgMusak.loadSound("mp3s/mp3-" + curTrackNum + ".wma", true);
};
and although I do... more >>
Sound toggling on whole site?
Posted by STR Web at 5/12/2006 12:00:00 AM
Hi,
This is my first post on the forum, hope you may be able to help.
I have an existing website made up of multiple pages (called into one flash
movie), it has sound throughout the site on buttons and events etc.
I have been asked to create a sound toggle for those people who may not ... more >>
Sounds like a no brainer...
Posted by mr. figgles at 5/12/2006 12:00:00 AM
So I have developed several stand alone flash games and I am not a newbie. My
question is does anyone know exactly how gotoAndStop(); works?
What I mean is, does the playhead litereally "skip" to the specified frame
_root.gotoAndStop(200); or does it stop and chat with other frames along the... more >>
help!!!
Posted by Abyu at 5/12/2006 12:00:00 AM
The code is not working please help me
onClipEvent (load) {
function Tween() {
easeType = mx.transitions.easing.Bounce.easeOut;
var begin = 20;
var end = 380;
var time = .5;
var mc = car_mc;
carTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time,
true... more >>
Can anyone help?
Posted by Mullydred at 5/12/2006 12:00:00 AM
I am finding difficulty in applying a timeline action that reditects the user
into another URL.
I have found this can acheived by using Behaviours, but only as an object
action, which in turn requires an event, and not merely controlled by the
timeline.
I am using Flash MX2004.
Can... more >>
|