all groups > flash actionscript > january 2004 > threads for tuesday january 27
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
limit input to numbers?
Posted by daniel plochinger at 1/27/2004 11:54:14 PM
is there any way to limit a input field to numbers so it wont take anything else? (even better: take nothing else except delete, but if the fields left or not filled in about 1-2 sek. it jumos to the last entry..)
check how i did it:
http://www.monstermouse.net/gf2/gf_flash.htm
(go to the cogwh... more >>
I need help with textselection.
Posted by 3Litz at 1/27/2004 11:45:32 PM
I want to make it so when the mouse is over a hyperlink the texted will turn white....i got the idea that this action Textselection would do that. Plz help me.
... more >>
Button help
Posted by tina8621 at 1/27/2004 11:34:05 PM
I got the apples to do what I wanted, but instead of having them as buttons I made them into movie clips and did a drag script. Which works perfectly. BUT I want to make a button that will put all the apples back onto the tree.
Right now I'm trying to do
on release() {
gotoAndPlay(... more >>
how to output 19.50 instead 19.5 ???
Posted by daniel plochinger at 1/27/2004 11:29:34 PM
I'm making a shop for a shirtcompany. At some point i want to outout the price of the order, but if the order's for instance 19.50 $ flash outputs 19.5. If it's 19.00 i get 19.
Is there any way to output 19.00 instead 19 and 19.50 instad 19.5?
thanks for any help, cheers -danny.
... more >>
Dynamic movieclip event handling
Posted by Chris Brandt at 1/27/2004 11:19:29 PM
Hi all,
I am trying to do something that I Is there a way to assign a onPress handler to a movieclip which is created dynamically (ie on a buttonpress)?
I have a small mc symbol (let's call it HR - for Heart Rate). When the user clicks on the mc, it creates a new instance (either with duplicat... more >>
confirming the text?
Posted by z00male at 1/27/2004 11:17:55 PM
how can i give an error if an invalid e-mail is entered in a input text field?
i know i can do if(bla.text=="lalala")...
but what if i want it to be a character such as "@" that has to be between the letters?
thanks ahead, z00m
... more >>
Can String.indexOf() ignore case?
Posted by quadrant6 at 1/27/2004 10:40:42 PM
I have a simple search which takes what is in the text input box ans searches through an array trying to find a match.
I've found a nice and simple way but there is one problem - if the user enters "road" and the heading is "Road ..", it doesn't display a match. that is indexOf is case sensitive.... more >>
formStyleFormat . textSelected help
Posted by 3Litz at 1/27/2004 10:04:32 PM
I dont understand why it wont work for me. I need help on how to get this running or an example would be best. Thanks.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
absolute or relative _x/_y coordinates
Posted by Vevmesteren at 1/27/2004 8:38:37 PM
Hello friends,
allrite here it goes.
I have three clips.
Lets call'em: clip0,clip1 and clip2
clip1 is INSIDE clip0
clip2 and clip0 are on the same level. How do allign clip2 to clip1?
So what I do need to find out I guess, is how I do retrieve the _x and _y coordinates of clip1 re... more >>
xml loading pictures
Posted by GrahamStudio21 at 1/27/2004 8:08:51 PM
I have an xml file with this line.
<Guitar name="guitar" jpegURL='airguitar.jpg'>
is there a way to load the guitar into the movie because it wont.
cheers 4 any help.
... more >>
arrays
Posted by GrahamStudio21 at 1/27/2004 8:06:37 PM
i have an array called ComboProperties
i have a text box called property.text
a user can enter a value into the text box
i need to put all values from comboproperties into a listbox called listbox except for the value in property text.
this doesnt work!
for (z=0; z<ComboProperties.length;... more >>
Method issue: How to setvariable and TcallLabel actions with Flash 7 ?
Posted by Marvilla at 1/27/2004 7:59:33 PM
Is there a new method or a new way of setting variables or call label actions in a Flash 7 movie from outside?
Example: From a program thru Flash 7 Active X.
For Flash 6 compiled swfs all the methods were perfectly working.
I know of the case sensitivity of the new MX2004 compiler and I che... more >>
Dynamic Text
Posted by brandon_haslip at 1/27/2004 7:35:42 PM
I am building a wedding videography website and I have a page called package options. On that page I have a scrolling dynamic text box with a list of all the different package options, I want to make one of those options a link to a HTML page with NO toolbar, No scrollbar and set dimensions of 445px... more >>
Can't reference array that exists....i checked!
Posted by melikey at 1/27/2004 7:24:27 PM
Scenario:
frame 1 i create array called xml_array;
I then fill array with other arrays, creating a 2 dimensional array.
easy enough. So i test movie. and there it is sitting right where it's supposed to be on _level0
see:
Variable _level0.xml_array = [object #64, class 'Array'] [
0:[o... more >>
Standalone Shopping Cart
Posted by bostonflash at 1/27/2004 6:05:20 PM
Is there any components or Flash apps that can dynamically render an ecommerce catalogue, driven from flat files (xml, txt) as an .exe from a CD-ROM. We hope to allow the user to print and fax the order or email if they have an internet connection.
... more >>
sending vars to a php
Posted by z00male at 1/27/2004 5:58:09 PM
hi
i am using something like this
getURL("?name="+varname"&e-mail="+varname", _BLANK);
works fine.... but it has to open a new window (my site is full screen)
anyway to send it to the php with out opening a new window/replacing the existing window?
if not php any other way?
thanks ahead, ... more >>
Listener and variable
Posted by titi2 at 1/27/2004 5:53:28 PM
Hi
I understood how to "addListerner" to an eventHandler like
mouse change , key press ..
but Is it possible to AddListener to a variable to know when it changes
instead to use "onclipevent (enterframe)" that uses processor resource.
??
... more >>
Variables in _root
Posted by kbrill at 1/27/2004 5:37:21 PM
if I create a "base" movie, call it base.fla and on frame 1 I loadmovie child1.swf, then I loadmovie child2.swf, then set the variable _root.testvar in child1.swf..... can child2.swf see that variable?
... more >>
Grow larger while mouse over movieclip
Posted by JoKKeSvin at 1/27/2004 4:08:50 PM
Hey
I spend a lot of time figuring this one out, but eventually I had to ask here :-(
The thing is, I have a movieclip that I want to grow larger when the mouse hovers over it, and grow smaller when the mouse rolls off the movieclip.
The "_xscale" and "_yscale" has to grow by 1 while the mo... more >>
Dragging Text Input
Posted by car165 at 1/27/2004 3:56:26 PM
Say I have a set of forms that contain various text input fields. Can I drag the text from an text input field named "input1" of one form to another text input field named "input1" on another form so that the 2nd input field's value is now the same as the 1st? If so, is there any documentation you c... more >>
rollOver if Mouse Coordinates?help me please!
Posted by oxbownick at 1/27/2004 3:29:29 PM
i want to have a rollOver effect of gotoAndPlay if i rollOver x and y coordinates...
how would i do this, i have the flash mx actionscript bible but i couldn't find what i was looking for, and i've searched for, so if anyone could help me it would be great?
Thanx,
Nick
... more >>
animated rotation of this object
Posted by Gecko_Electro at 1/27/2004 3:28:10 PM
Hello everybody!
I'd like to create an animation of an object showing the different views by turning around it 360 degrees.
I took 36 pictures of it to show a view each 10 degrees. I like to know if anybody know a good tutorial program that provides practical information about this specific su... more >>
arrays in flash
Posted by GrahamStudio21 at 1/27/2004 3:24:51 PM
I have an array called propertiessplit which has values that are the same in it.
I want to put all values that are different into a new array called propertiescheck.
however i cant get it to work and have tried everything!
this is the rough coad.
for (a=0; a<propertiessplit.length; a++) {
... more >>
Load external text into scrolling text field
Posted by ®SuicidalSanta® at 1/27/2004 3:23:20 PM
Hello
I've got a button with the instance name "btn1" and a scrolling text field with the instance name of "scrolling_txt" and a variable name of "ScrollingText", I need to make the "btn1" load an external text OnRelease with the name of "Welcome.txt" (placed in the same directory as the .swf fil... more >>
external .as scripts problem
Posted by James O'Reilly at 1/27/2004 2:58:47 PM
I've created a simple class extention:
// src/com/my/test/Application.as
//
class com.my.test.Application extends mx.screens.Form
{
function Application ()
{
trace("Application Constructor");
addEventListener ("onLoad", this);
// stop the timeline
... more >>
Color in sub-clip problem
Posted by PierreAlain at 1/27/2004 1:56:09 PM
Hi!
I have a clip which will behave more or less as a button. In it I have a
background, instance name "BG".
I use this code :
---------------
BG_color = new Color(BG);
BG_color.setRGB(0xFFFFFF);
function setColor(C){
BG_color.setRGB(C);
}
----------------
And that doesn't work. As... more >>
scrollpane border
Posted by jakwag at 1/27/2004 12:31:55 PM
Hi,
Why doesn't this work?
myscrollpane.setStyle("borderStyle", "none");
It works fine on a textArea, and borderStyle is suposed to be a style that should work for all components.
How else could I make the border on the scrollpane disapear?
This hole style thing seams not to be work... more >>
Text box vertical alignment... is it possible?
Posted by xondokan at 1/27/2004 12:10:24 PM
Well the title said it all... except this: if it is, how?!?
... more >>
Detecting MouseDown
Posted by Emelye at 1/27/2004 12:04:39 PM
Hi,
I was wondering if there was a way in actionscript of detecting if the mouseButton is down. I generally work with director and would use something like:
if the mouseDown = true then
I know you can set functions to run when the mouse button is down, but ideally I want to know a true/fal... more >>
Alpha color value?
Posted by bech at 1/27/2004 10:00:10 AM
Is there any COLOR code like 0xFFFFFF that means "0% alpha"?... more >>
Check this code. Works in 5, not in 6!!
Posted by Lou (dog) at 1/27/2004 6:57:20 AM
Hi. I'm trying to get the .focus to change from textfield to the next by pressing the TAB key. This code works in a Flash 5 movie, but not a 6. The code is in a button action. What's going on?
Thanks,
Lou
begin code................................................................................. more >>
Problems with if-else statements in dynamic text
Posted by jayfromcleveland at 1/27/2004 4:58:32 AM
Hi,
I'm new to Flash and ActionScript and have never previously done programming. However, I have a technical degree and experience and have a clear idea of what I'm trying to get out of ActionScript.
I've been trying for some period of time to make an if-else statement work with dynamic tex... more >>
With statement moves entire stage!?!??!
Posted by d2kagw at 1/27/2004 3:11:11 AM
Hi,
im having some really weird problems with the "with" statement,
for some reason when I run
with(temp_name)
{
_x = 50
_y = 50
}
flash dosent move the object, but rather moves the entire stage to x50 and y50.
I've read through so many articles and references for the with ... more >>
Can you control movieclips in a swf file from another swf
Posted by 7sav at 1/27/2004 1:25:42 AM
I have an HTML file with two swf's embedded in it. Can I control a movieclip of one swf file from a button in the other swf file. Just need the movieclip to go from one frame to another. Someone in the last post said to try loadvariable()
Didn't know how to use this.
-svo_7
... more >>
Mac OS X FSCommand ??? none of the browsers
Posted by fsharpmajor at 1/27/2004 1:14:52 AM
Okay I have tried finding some solutions. I know of the problem currently exhisting with macs and this. I have tried mozilla 1.6 Netscape 7.1, IE 5.2, I am using the latest flash player 7. something. The webpages work fine on windows but not on mac. I can use getURL, but I need to get data back... more >>
movie clip
Posted by darrylfrith at 1/27/2004 12:14:14 AM
I want to load a movie clip that doesn't play until something triggers it.
I'm using
onClipEvent (load) {
stop();
}
but the clip plays anyways. what am i doing wrong?
thanks
... more >>
|