all groups > flash actionscript > february 2004 > threads for wednesday february 4
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
Graphics fading in and out
Posted by SubGum at 2/4/2004 11:21:29 PM
What is the action scripting in Flash MX 2004 for images in a button fading in and out when the mouse is over the button. I'm making a menu for a project where you go over a button, and a picture fades in below, and want it to fadout once you leave with the mouse.
... more >>
return not working...i think
Posted by N[e]RD at 2/4/2004 10:29:26 PM
my code is attached below and is saved in an outside .as file. When I call decrypt() in my main movie and try to save the value returned by decrypt //Which should be char, right? aparantly when I call that variable later it is undefined. Am I calling return wrong or what? By the way when I trace... more >>
Can't hide Input Text field, please help
Posted by Arok01 at 2/4/2004 9:38:54 PM
Hello all,
In one of my frames, I have Dynamic and Input Text fields. Say that I have the Title1(Dynamic) and EMail(Input) fields. If I use the following code on the release of a button, only the Title1 field is invisible, the EMail is still there ? What am I doing wrong ?
CODE:
on (release... more >>
I need some help from an expert
Posted by benmaxwood NO[at]SPAM aol.com at 2/4/2004 9:25:31 PM
Hello.
I am unable to work out this problem. I am not a programmer though I do understand actionscipt to a good extent.
The problem that I have been unable to work out may be best demonstrated by visiting this URL;
http://www.geocities.com/benmwood45
What I have managed to do so far is... more >>
Movie doesn't work in version 7, but v6 is OK?!?!?!?
Posted by sledgeweb at 2/4/2004 8:48:01 PM
Hello-
I'd be really appreciative if someone good look at my actionscripting and tell me why it works OK in version 6 of FLASH PLAYER, but not version 7.
Here is the FLA:
http://www.cubit.net/warformars/test2.fla
You can test the SWF here:
http://www.cubit.net/warformars/test2.swf
Wha... more >>
Verifying password
Posted by Dinghus at 2/4/2004 8:47:24 PM
This is so basic it hurts.
I have a form asking for name and password. The form sends the data to a CF template which verifies it against a db. IF the data is good, CF returns the word "good" in the variable "verified", if not, the word "bad" is returned.
This all works. I get either "good"... more >>
Disable _root.btn1.onRollOver=null
Posted by Reza Saheban at 2/4/2004 8:24:28 PM
Hi.Flash MX user.
I'm to design a logo for a company and I really need help.
I have a logo(movie clip) which I want to turn,but when you move your mouse over it.When you do that, it will turn once (one 360") and it'll stop after that.During this rotation if you move your mouse over it I want noth... more >>
Case Statement
Posted by tsetliff at 2/4/2004 8:22:28 PM
HI All,
I use Macromedia Director and often use case statements
so that I don't have to have a separate script for each button.
An Example in Director:
property pMember
// sets pMember property
on beginSprite me
pMember=sprite(me.spriteNum).member
end
// Identifies the sprite object - ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Action script issue
Posted by bimmer328 at 2/4/2004 8:03:43 PM
HEy guys im a little lost
here is my layout
http://www.houseofrides.com/new/main.html
And what i wanna do is right now when you click on member and hold it down a box comes out and all , but i wanna make it so when you click it wil come out, not that you have to hold it down and have it com... more >>
Flash effect. How do I do this?
Posted by spamproof2005 NO[at]SPAM yahoo.com at 2/4/2004 7:49:07 PM
Please check out this page.
www.danecook.com
You see how you change sections (bio,news,aduio/video)on that site? I
would like to do the same thing except instead of chnaging sections
left to right or right to left, I would like to change top to bottom &
bottom to top. Hope that makes sense.... more >>
Loading external file from C:\bobby\
Posted by bpurcella at 2/4/2004 7:39:56 PM
I know this hsa been covered before but I can't find it.
I am building some training for a CD/HD install and I need to read some info from a txt file that is on the HD in a diff. dir.
I looked at the help in 04 pro and it showed this
.... url The absolute or relative URL of the SWF file or... more >>
removeMovieClip
Posted by Jonnhy at 2/4/2004 7:20:45 PM
Hi,
I do an "attachMovie" on a button and I want to remove the mc when I click on other button but my removeMovieClip doesn't work, I don't understand
button 1
on (release) {
with("mc2")
{
_root.attachMovie("mc2", mc2, 4);
_root [mc2]._x = 280;
_root [mc2]._y = 200;
-----------... more >>
setInterval question
Posted by eljefeloco101 at 2/4/2004 7:03:23 PM
Here's another one... I'm trying to delay a LoadMovie action while an animation finishes. In my code I'm trying to state that if mc17 = a certain coordinate, wait 2 seconds then load a movie. This code works without the setInterval(portfolioLoad, 2000) and function portfolioLoad() lines -- but I do... more >>
One line IF statements
Posted by JohnMathis at 2/4/2004 6:51:03 PM
I noticed the help doc for the IF statement is in error...one line statements are allowed.
The syntax should read:
if(condition) {
statement(s);
}
OR
if(condition) statement;
Technically, the second format is sufficient, because {statements } is considered one 'statement'.
I like to... more >>
How can i open a .doc file from Flash Mx?
Posted by yoyo at 2/4/2004 5:35:21 PM
Hi,
how can i open . doc file from a .swf (FlashMx) in a web?
Thanks.
... more >>
centering stand alone window
Posted by VooDoo Chicken at 2/4/2004 5:03:53 PM
hi, is there any way that when you release a stand alone projector (at least for windows), you can tell it to run center_aligned in the screen? (not full size mode)
... more >>
dynamic text to display whole numbers in preloader
Posted by fizzfozz at 2/4/2004 4:56:23 PM
Hi,
I have a preloader script which I got some from tutorial site or another a long time ago now and I have been using it with no problems... there is just something that is bugging me.
I have a loading bar which increases in size as the total bytes are loaded and a dynamic text field called '... more >>
I don't expect anyone to understand what I'm trying to create - but.
Posted by Peter Fettes at 2/4/2004 4:39:10 PM
Anyone is this possible
Say I was to create a flash mov. swf(web site) that's main navigation opened windows - could I then make each window contain it own fla. Web site that only loaded when the window opened. i.e. could I place a navigation system within each window. Or possibly a fla (swf) ... more >>
newline in XML
Posted by André Heßler at 2/4/2004 4:20:23 PM
Hello
Is there any way to insert newline charcter in an Attribute of XML and let
flash read it dinamicaly?
Something like this
XML-Code
<root>
<item file="whatever.jpg"
text="here I want \n the new Line?!">
</item>
</root>
This example does not work! When... more >>
Deprecated Code??
Posted by tapsmedia at 2/4/2004 3:58:32 PM
HI TEAM!!!
Is there a way to simplify this code/?
Is setProperty and getProperty deprecated as of MX 2004?
ti = 20;
for (n=0; n<ti; n++) {
mc = "logo_MC" + n;
duplicateMovieClip("logo_MC", mc, n);
/*MOVEMENT*/
set(fMc add ".yPost", eval("_root.boxpos_y" add f));
set(fMc add "... more >>
An autorun for pc and mac
Posted by dospuntospunto at 2/4/2004 3:36:35 PM
Hi!
Did anybody knows how to make an autorun that works both for pc and mac?
Thanks ;)
CaroPe :.
... more >>
load external pictures
Posted by bossche at 2/4/2004 3:13:31 PM
Hi
Does anybody know how to load external pictures from a folder in the same directory as the .fla/.swf file.
The goal is to make a solution to my portfolio so I can easily add more pictures of my projects.
thx
Tom
... more >>
Highlighting a text field?
Posted by FlashAsh99 at 2/4/2004 2:42:06 PM
Is there anyway of highlighting the text in a text field, say by pressing a button. When a button is pressed, the text in the text field is highlighted so that it's ready for replacing.
Is this possible, thanks to anyone who can help?
... more >>
Had a question.. and i'm somewhat lost.
Posted by Mordero at 2/4/2004 2:42:03 PM
I'm doing a flash site. now the nav bar needs to be a drop down menu, but the issue is that the menu needs to have its own look. Everytime i try to get it to work it just doesnt seem to work proerply.
On mouse over i want the bar to drop giving people the ability to click for different links. Bu... more >>
onpress onrelease>>what's the diff?
Posted by Revolver_Deaulin at 2/4/2004 2:41:43 PM
i made separate swf's for my song files when i use loadMovieNum for each file they start playing simutaneously...i'd like to know the command to stop other files or unload them if you will when you hit a diff button...the buttons are all the same symbol but diff instances...is this my prob??
thx ... more >>
Cleaning up the memory
Posted by Znibben at 2/4/2004 2:41:43 PM
I've got a long animation with many jpg's. As the animation plays the memory usage increases with 250 MB, but the flash file is only 2,6 MB. If I should publish this on internet I have to in any way remove the pictures I'm not going to show again from the memory, so pople with less memory can play i... more >>
Pressing a button from another function?
Posted by FlashAsh99 at 2/4/2004 2:37:09 PM
is there anyway of pressing a particular button from another function? If I have created my own button? is this possible?
if anyone can help, this would be great. thanks.
... more >>
Convert object attributs into indexed array
Posted by eussam at 2/4/2004 2:11:02 PM
Hi all,
I would like to know if it is possible de dynamically convert all attributs from an object into 2 indexed arrays, one for the attribut names and one for their values:
Example:
I get something like:
obj.tata = 4;
obj.toto = 5;
obj.titi = 6;
I would like to automatically gener... more >>
Does MovieClipLoader class not work in Flash 6?
Posted by jaminPitt at 2/4/2004 1:59:48 PM
I have a movie that works fine when I publish for Flash 7. But when I change the publish setting to Flash 6 (still keeping the ActionScript 2 setting), the movie no longer plays correctly.
The only thing I'm using that's new to Flash MX 2004 is the MovieClipLoader class. But I couldn't find any d... more >>
getURL string size limit?
Posted by weezil at 2/4/2004 12:23:03 PM
Im trying to pass a whole load of data out of flash so I can produce a debug report of whats going on, but I think there may be a limit to the length of the string I'm allowed to pass out?
I'm using:
this.getURL("javascript:loadReport('"+test+"')", "_parent", "POST");
if I set test to be j... more >>
Reverse button for current movie
Posted by WandaK at 2/4/2004 10:50:49 AM
I have a reverse button that is working now, but when I hold it down too long it aborts the movie.
I have this function in frame 1 of the movie:
function fastbackwardfunction(){
if(_level0._currentframe<=_level0._totalframes+3){
_level0.gotoAndStop(_level0._currentframe-3);
}else{
clea... more >>
Flash mx, actionscript, array, object, RPG game.
Posted by Adrie Rijnen at 2/4/2004 10:41:46 AM
hi,
i'm trying to make a simple game, but i have a problem with an array.
what an object does:
onClipEvent (load) {
random_monster_count=_root.All_Monsters_level1_array.length-1
random_monster_count=random(random_monster_count)
this.data=_root.All_Monsters_level1_array[random_monster_cou... more >>
referencia a instancia dinamica
Posted by ::::work your soul:::: at 2/4/2004 10:38:50 AM
tengo una peli donde creo x campos de texto dinamicamente, así como su
nombre de instancia.
Hay alguna forma de hacer referencia a estas instancias también de forma
dinamica?
vert=15
for (i=0;i<names.length;i++) {
createTextField("text"+i,i,25,vert,100,25)
vert=vert+18
}
Para hace... more >>
LoadVariables and ASP
Posted by Josef_Blow at 2/4/2004 10:12:23 AM
Hi all,
Hope someone can help as this is driving me nuts.
I'm running IIS 5 on my XP machine and I've created a database to return basic text fields to an ASP page. The page then creates the usual &var1=.......&var2=........ which should load into flash for display in dynamic text boxes. The ... more >>
Duplicate Movie Clip & Code?
Posted by Mhunki at 2/4/2004 9:57:37 AM
If I use duplicate movie clip to create another instance of the clip on the main time line, and it gives it a new name, how do I relate the code attached to the clip to change to apply to the new name, when it has to relate to the orginal clip to work in the first place.
Am I making sense?
Hel... more >>
load a .swf file within current .swf as per value of external text file
Posted by minu at 2/4/2004 7:13:44 AM
Hi !
I am confused at a point and need help.
I just want to load a .swf file within my current .swf file as per the value the external text file.
I have done few experiments too.
1) I have writter below code on the first frame of my movie. here "myMC" is my target movie clip inside which... more >>
Array, urgent, need to fix it tonght...help me plz...woo...
Posted by uncle_3than at 2/4/2004 5:29:01 AM
Array...killing me..
Hi, I have 5 btns inside of a movieClip, and I wanted to make them into an array and make them move along with X axis, like this
I have btn1 - btn5, and they are inside of a MovieClip called menu
so I wrote this in the first frame of root timeline
it didn't work out... more >>
Flash MX Professional 2004 Question
Posted by Portimao at 2/4/2004 4:53:53 AM
I have Flash MX Professional 2004 but I have noticed that the actions have changed. With the older version of Flash MX when you double clicked on an action such as getURL you were given the option to type in the URL, choose the type of windowand method etc. but now on the new version it seems that ... more >>
Keypress held down
Posted by rollingstonex at 2/4/2004 3:45:48 AM
I'm trying to make a game that responds to a key being held down, but there is a one second delay (which can be shortened using Windows Control Panel, but not enough!!!!) from the initial press before it registers the key as being held down. How can I make Flash react to the key being held down rig... more >>
Is this possible?
Posted by sgough at 2/4/2004 3:30:10 AM
What I would like to do is preload several images using loadMovie. I'm not very good at explaining things like this but here goes...
I have a bunch of images of the outside of a car. Each is of the car at a slightly different angle so when they are played in sequence the car appears to be rotatin... more >>
Newline in XML
Posted by André Heßler at 2/4/2004 3:12:25 AM
Hello
Is there any way to insert newline charcter in an Attribute of XML and let
flash read it dinamicaly?
Something like this
XML-Code
<root>
<item file="whatever.jpg"
text="here I want \n the new Line?!">
</item>
</root>
This example does not work! When... more >>
convert charCodeAt() back
Posted by N[e]RD at 2/4/2004 2:48:37 AM
How would you convert the results of charCodeAt() command back to a letter after you convert it to a number?
entire = "WHOLE";
number = entire.charCodeAt(3);
//returns the value 76
basically what I am wondering is there a function i can call that will convert 76 back to "O" ?
... more >>
comparisons and depth
Posted by chicken king at 2/4/2004 1:00:00 AM
sorry to post two questions in one day, but i have run into a second problem. i have a looping movie clip which changes _y position randomly with every loop. that is working fine. but what i want to do is is have it check on the first frame of that loop for its _y position and adjust its depth based... more >>
|