all groups > flash actionscript > february 2006 > threads for wednesday february 15
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
changing colour dinamically
Posted by VooDoo Chicken at 2/15/2006 11:41:07 PM
hi, the problem is as follows: beginfill gets colour parameter as 0xrgb hex, i
want to 'calculate' the colour that should be in the fill, and it would be a
bother to make a function just to create a hex string to pass as parameter and
then pass it as evaluate (something) or whatever, is there ... more >>
Snap to grid feature
Posted by ck1mark at 2/15/2006 11:27:27 PM
I want to create the effect where the user will drag a 10px by 10px movieclip
on a grid that starts at x: 0 and y: 0 to x: 100 and y:100. When the user
releases the movieclip it should lock in place. for example x:20 y:50
... more >>
Disappearing Radio Component
Posted by adcflash at 2/15/2006 11:09:35 PM
I am using createClassObject to dynamically add RadioButton instances to my
movie. Each set of radio buttons is assigned to a group. This seems to work
perfectly well in that they all appear. I can move my mouse across the labels
and see the radio button circle shade green. However, when I cli... more >>
Testing square brackets
Posted by Artful_me at 2/15/2006 10:09:30 PM
There seems to be some changes to how forum and newsgroup synchronise, so I
want to see what will and won't appear when posted from the web forum
open-square-bracket letter-i close-square bracket:
open-square-bracket space letter-i space close-square bracket:
open-square-bracket hello cl... more >>
Need help with variables
Posted by Fatmat at 2/15/2006 9:19:17 PM
Ahhhh, I'm sure this maybe will not make sense but here it goes anyways. Ok I
have a container movie in which I'm loading several other .swf and .txt
variables and jpgs.
I've set up this container to load:
a slideshow.swf, with the following code:
stop();
var slideInfoLV:LoadVars... more >>
Levels With MovieClipLoader?
Posted by BrendanCCAC at 2/15/2006 8:37:47 PM
Is there a way I can load an external .swf into a level and not an existing
clip with the new MovieClipLoader class?
In the past I've always used something like this:
loadMovieNum("splash.swf", 20);
Meaning that I could reference it as: _level20.whatever
I like the listener ... more >>
uploading large files with fileReference
Posted by stephan.k at 2/15/2006 8:07:19 PM
Hello Forum
I am encoutering trouble with fileuploading using the new flash 8
fileReference class.
The server seems to be set up to handle larger files (up to 20megs right now).
I am not sure how to debug this. Anyone experienced this problem?
Any insight or leads appreciated.
... more >>
back button setup
Posted by Vee at 2/15/2006 7:50:41 PM
I have to setup a navigation that is similar to having a back button in a
browser. Im not sure exactly how to do this.
It appears to sound pretty dynamic.
1. The user can select one of 12 options
2. then another 12 (btns) options replace the prior.
3. There are two other buttons - very ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MP3 Player Help
Posted by Detonate 2004 at 2/15/2006 7:37:17 PM
Guys, I need some help with an odd issue.
Most mp3 players tell what to play and where to get the songfiles inside the
movie itself.
Now I need to adapt a player that will pull a song from a html link into that
mp3 player on the page.
In other words, play a mp3 song in the player when... more >>
Transfer data from movie 1 to movie 2?
Posted by Snej at 2/15/2006 6:52:44 PM
How do I transfer data (for example x=5) from movie 1 into movie 2 when loading movie 2?
When using loadMovie the data from movie 1 is lost in the process.
Sincerely
Jens
... more >>
Help removing clips!
Posted by slideth at 2/15/2006 6:50:48 PM
Hi, A while ago I played a game where you clicked and a helicopter flew up
while going along a tunnel and you had to dodge the walls. Anyway I wanted to
recreate something similar so I came up with the following piece of code.
However there is a flaw when it comes to the code!! :( The clips (... more >>
asfunction problems
Posted by Nancy Gill at 2/15/2006 5:16:52 PM
I have read tutorial after tutorial and created a small example of a much
larger problem. Anyone who could take a look at it would be greatly
appreciated.
I created a little flash document with a textarea called MyText and a label
component called myTitle. Haven't added the loader yet, bu... more >>
swapDepths and levels conflict
Posted by Fel_911 at 2/15/2006 4:48:40 PM
Hi ! I really need help and fast ! Im doing my portfolio to apply for a new job
and I need to solve this problem quick.
I got my main swf. My "button" use the following code:
mchit_cje.onRollOver = function() {
mc_cje.gotoAndPlay(1);
mc_cje.swapDepths(_root.getNextHighestDepth());
... more >>
Toggle Button Script
Posted by KDubecky at 2/15/2006 4:44:29 PM
I am trying to create a button for a worksheet that, when clicked it will stay
a certain color, then when clicked again it will go back to the original. I saw
somewhere in the help section that a "toggle" action would do this, however I
cannot get it to work? I put in the correct script, and g... more >>
Saving variables
Posted by makate at 2/15/2006 4:16:45 PM
I creating a sort of a database, the problem is how can i save the information
that is contained in variables for future use. i want users to register on my
site, and use their login name and pass to login next time. how can i save the
variables?:confused;
... more >>
Dynamically loading embeded fonts
Posted by JAXIMFLASH at 2/15/2006 3:56:41 PM
Is there a way to load embedded fonts on the fly?
The ways I have found to do this have been unacceptable thus far.
What I would like to be able to do is as follows:
1) Load a main SWF file with textfields
2) Upon some user interaction, another SWF file is loaded which contains the
em... more >>
streaming progress
Posted by wiredsc at 2/15/2006 3:37:21 PM
I have an mp3 player that loads up each track as an .swf, it uses loadMovie to
load the track, all I'm after is a bit of script that will show the word
'streaming' when the track is loading and then when loaded make the image
disapear. Also I need to make sure this will happen for every track,... more >>
Referencing array elements
Posted by stinsong at 2/15/2006 2:56:50 PM
Hi All
I'm building a memory type game without the random background cards.
I have created a couple of arrays one for the colour that I'll use to compare
cards with and one for the cards covering the background image.
It all works till the last else when comparing the 2 cards in the sh... more >>
DateField Component Variable
Posted by Zimmer at 2/15/2006 2:28:14 PM
Hi,
How do I pass the date chosen from a DateField component to a PHP mail
script?
I can pass the variables from text input boxes but the DateField
component just outputs a blank in the email sent from the PHP script.
I have been looking for days for this.
Any help would be greatly a... more >>
AS for scroll bar component
Posted by jonnybennett at 2/15/2006 2:04:38 PM
I am dynamically loading text into a text area controlled by one of flash's
scroll bar compnents, however if the text that is being loaded isn't enough to
fit the text area, the scroll bar is still present. It loses its functionality
to scroll(the slider bar dissapears), but it still leaves th... more >>
Unloading external swf-files
Posted by norska at 2/15/2006 1:18:55 PM
Hi.
It`s been a while since I last worked in Flash and my skills have become a bit
rusty.
I`m making this web-site with a photo-gallery wich all are external swf-files.
No problem loading them in, but if I have been into this side and push a
button on the menubar to go to another side , t... more >>
New to Flash and lost
Posted by oneandonly_mohawke at 2/15/2006 1:06:39 PM
I know this should be simple, but I am lost. Maybe too much Python is a bad
thing? Anyway, what I'm doing is opening an XML file and placing these values
into an array from layer "Actions".
I then need to pass myxmldata variable to other movie clips. I have
_parent.myxmldata in my clips, ... more >>
dynamic masks and buttons
Posted by Brian at 2/15/2006 9:32:50 AM
I have a movie clip that I attach dynamically, wich has a MC in it which
I am using as a button. Somehow I can't seem to make it work. I exported
the movie and used the "List Objects" menu. It gave me the following for
the button where url_btn is the mc I would like to use as a button.
Movi... more >>
String question
Posted by OniLink at 2/15/2006 4:22:59 AM
I know in php it is something line /n or \n, but what is it for actionscript? I checked the help topics but couldn't find it anyhwere.
Thanks for any help,
~Oni.... more >>
Random movement vs. Array
Posted by infoVac at 2/15/2006 4:18:45 AM
In this code i have an array that make me 10 duplicates, and a player_mc that
eats them.
The Problem is with the Random Movement code. I cant get the objects to
move randomly apart from each other. Instead, the array moves randomly in a
group. I am not to sure how to use the .splice ... more >>
how to create constants
Posted by VooDoo Chicken at 2/15/2006 3:24:46 AM
right now i am using a variable so when i change its value it changes in all
its calls, but the value of it never changes (is a constant). is there any way
to declare constants in flash? (please do not tell me to use find->replace)
... more >>
play controls and slider bar to use in Captivate
Posted by SJ718 at 2/15/2006 2:38:25 AM
I wanted to know if it is possible to create an action script for the controls
that will controll a slide in captivate.
I can't seem to bring a published file from captivate into flash, so if it
could go the other way would be great.
... more >>
Google desktop conflict with Flash streaming player
Posted by fromsir12 at 2/15/2006 1:28:09 AM
Hey ..
I am building a Flash streaming player with bandwidth detection. A couple of
users have experienced crashes when google desktop is installed on their
machines
Anyone out there run into this problem?
thanks,
Brian
... more >>
clickable text in dynamic field
Posted by gmerrilllee at 2/15/2006 1:00:38 AM
I'm trying to load the following text from a text file into a dynamic field
(formatted for HTML) and have it be clickable. The dynamic field's var =
"water". I was told I could do this but I think I have the text below formatted
wrong. Nothing loads into the field.
&water=<FONT FACE ="aria... more >>
How to?
Posted by gungus at 2/15/2006 12:57:45 AM
Does anyone know how to get a similar effect to: http://www.amplifier.com/
Or point me in the direction of a toot?
When a user clicks a button, the movie will move left/right or up/down to that
designated place (originally off screen). I think this is common but I can't
locate any tutor... more >>
Printing with large masked images
Posted by Offroader at 2/15/2006 12:24:48 AM
I have seen several other people reporting problems all over the net, but I
have not seen a solution. I have also seen other people that say that they had
the problem unil they used the PrintJob class. But not saying how they used
the class to solve their problem.
I have a formated page ... more >>
load a m.c. into a m.c.
Posted by jonnybennett at 2/15/2006 12:24:47 AM
//the folowoing A>S loads a picture into a m.c.called invis, on rollover.
this.onRollOver = function()
{_root.specText.invis.loadMovie('picturesthum/'+pictureName);}
// what I want to do is the same but instead of loading an image, I want to
attach a m.c.
// Problem is, attachMovie cli... more >>
accessing a variable in a movieclip from external class
Posted by BlueD at 2/15/2006 12:00:00 AM
Hi folks, I have a problem with scope.
I'm writing a little application to run a course, and the engine creates
the navigation menu putting labels in the button etc...
So, as far as I change things like a dynamic text that's on the stage
with something like
mybutton.itemText.text =
my... more >>
Select all text when clicking an Input field
Posted by tashwhan at 2/15/2006 12:00:00 AM
Hi, I found a tutorial online ages ago that showed how to select all of the
text in an input field when you click on it, but I've proper gone and lost it
now and I can't figure out how to do it.
Ideally I would like the input field to clear itself when you click on it - so
whatever was th... more >>
_root problem
Posted by nafets-rede at 2/15/2006 12:00:00 AM
hello,
i build a extern preloader that works fine. in my "main.swf" i want to use
_root. .... in the first frame ( framscript).
testing the main.swf alone, everything works fine, but loading the main.swf
with the preloader for exampe _root._y is undefinied.
any solutions for my problem... more >>
onloadInit bug?
Posted by gSuseZ at 2/15/2006 12:00:00 AM
In this code the attachMovie doesn't work:
It seems that you can't play with the target movieclip and the library in the
onLoadInit statement. You can't attach movies, neither work with fonts in the
library, etc. But you can attach movies to the _root for example.
Bug? think so...
th... more >>
|