all groups > flash actionscript > april 2004 > threads for friday april 30
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
html img src tag in a html text field
Posted by Pluda at 4/30/2004 11:45:31 PM
Hello there!
I'm abaut one week to now trying to attach a button to an txt field created on
the fly, but... no results :-(
I' now using the img src tag like the code i'm posting, and it works, but...
the button doesn't place himself behind the text, he places himself above the
text.
... more >>
Button press detect
Posted by Dinghus at 4/30/2004 11:27:01 PM
Maybe it is because it is Friday and been a long week, but this one is toasting
my brain.
I am trying to figure out how to do an action continually while a button is
pressed. I figured out how to do it with an on (press) sending it to a
function that just loops and then when the on (relea... more >>
Custom Behavior , Plz Help.
Posted by DoubleX at 4/30/2004 10:14:56 PM
Hi guys,
Im trying to build a custom behavior that will go onto a deisred movie clip so
that i can easily build game enviroments. Basically i have a script which
defines a collision object "bumper" for a pinball game that would go onto every
"bumper" in the game. I want to be able to dra... more >>
Can't make a movie symbol disapear via code
Posted by jthees at 4/30/2004 9:32:59 PM
I'm creating a game, with a score counter that triggers events. The first event
adds a "boss" character to the stage when a certain score is reached. The boss
is an animated movie clip (BossX_B) that scrolls around the screen and attempts
to kill you.
In frame 1, I define varibles as:
Bo... more >>
Getting a new movie window up
Posted by LordOfTheAcheron at 4/30/2004 9:26:16 PM
What Actionscript is needed to get a separate Flash movie window to open up when an invisible button is clicked?
Thanks!!!... more >>
Playing SCENES in random oder.
Posted by wian? at 4/30/2004 8:41:18 PM
Hello,
I have just started using Flash MX.
I have created 11 scenes with text animation on each.
What i would like to do next is have those scenes play in a random order
every time the file is opened.
Thank you in advance!
... more >>
Levels problem - my dynamic text has disappeared
Posted by JohnFH at 4/30/2004 8:07:34 PM
Okay...this is FlashMX...I have a swf called "data-workshops.swf" and in that
swf is a movie clip with instance name of 'text'. In that movie clip is a
dynamic text field, also with an instance name of 'text'...and a
Flash-component scrollbar that is assigned to 'text.' And on frame 1 is this... more >>
useHandCursor = 0; Not working
Posted by timbo313 at 4/30/2004 7:33:36 PM
The following script is inside a movie clip as is the object that it refers to,
Menu1. The script does not work. When I copy and paste the movie clip into
another document, it does work. Can anyone tell me why this might be?
Menu1.useHandcursor = 0;
Thanks,
Tim
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Actionscript Bug
Posted by ckutopia at 4/30/2004 7:24:01 PM
Hi,
I have a strange problem where my code does not work properly in a function.
Without the function, it works fine. Please see the code below. If im doing
something wrong, please let me know. The problem relates to the use of
this[varName].
Thanks
Chris
// this[vAns... more >>
posting variables to an asp page from flash
Posted by Concept Guy at 4/30/2004 6:36:09 PM
I tried asking this earlier on im my project but I think I'm far enough along
toask it a bit clearer now...
I have a a flash movie with a map...
when you click on the map it highlights a region or multiple clicks will
highlight multiple regions.
when a region is highlighted it switches a v... more >>
Re: TRACE STILL NOT WORKING! PLEASE HELP!
Posted by nancee1013 at 4/30/2004 6:19:28 PM
HELP! I tried changing my Output filter to Verbose, and trace() still doesn't
work.
We recently upgraded to MX. Does MX not recognize trace() commands in projects
authored in the previous version? Just a thought, but it really wouldn't make
sense.
Please email response to nancee.heim@... more >>
XML trace() 2004 Flash MX Pro Problem
Posted by BSterner at 4/30/2004 5:58:28 PM
I'm not sure why, but none of the trace functions seem to be working for me.
Here's the AS I'm using to simply set the value of an input field (myText):
============================ Action Script ===================================
// Create new XML Object and set ignoreWhite true
book_xm... more >>
Quick, easy question...
Posted by LordOfTheAcheron at 4/30/2004 5:41:14 PM
What Actionscript is needed to get a separate Flash movie window to open up?... more >>
Dynamic Text
Posted by uleddie at 4/30/2004 5:31:23 PM
Just started playing around with the Flash MX action script.... I created 3
dynamic text boxes with the Var setting of msg, msg1, and msg2 respectively...
I have a layer set up for scripts on which I put the following function:
loadVariablesNum("message.txt", 0);
The message.txt file is in ... more >>
play once and stop/ play from a to b
Posted by mr_tawan at 4/30/2004 5:11:14 PM
Hello Everyone.
First of all, I'm very newbie here, as well as to Flash and its ActionScript.
So if i make mistake please forgive me.
I have play around with ActionScript for a couple days, especially with the
MovieClip class. Now, I have some problem when I tried to do something about ... more >>
tree
Posted by sschofield123 at 4/30/2004 4:03:33 PM
how do i add depth to my tree? all the examples seem to be adding to the root.
The attached code works beautifully, but how do i e.g. add pic1.jpg to task 1
and pic2.jpg to task 2?
stop();
listenerObject = new Object();
listenerObject.change = function(evtObject){
trace(evtObject.t... more >>
loadmovie function
Posted by bossche at 4/30/2004 3:29:27 PM
Hi
I made a site where I want to load external .jpg images into my flash site.
Everthing works fine when I'm working locally but when I uploaded the site to
my server he won't display my images again.
What would be the problem here?
I use this path to load my images
images/month1/i... more >>
items shift alignment in published swf
Posted by horsebird at 4/30/2004 2:58:09 PM
items shift alignment in published swf, but are aligned properly in authoring
enviormnet. Text also shows up slightly out of line with the placement in
authoring environment. This is making me nuts. I'm using flash MX and
publishing in fash 6. Has anyone else experienced this, as this has... more >>
Using the flash menubar component
Posted by Capt. Verde at 4/30/2004 2:50:51 PM
Hello, I don't know if this is the right place to ask this but here goes....
I'm kinda new to using Flash MX 2004 Pro and would like to know if anybody has
a link or knows of any good tutorials for using the menu bar component.
Thanks in advance for any help
Capt Verde
... more >>
Partial Preloader
Posted by horsebird at 4/30/2004 2:00:27 PM
I am using the following basic preloader but instead of "total" I would like to
name the number.
In other words preload until 3000kb have loaded then play.
Maybe I can replace "getBytesTotal" with a number, but I don?t know the
syntax.
Do you have any ideas? I cant find anything post... more >>
fscommand + exe
Posted by apisoft at 4/30/2004 1:54:26 PM
Hello,
I created a cd of installation of product under Flash 5.
I made it migrate to MX.
Today I meet myself blocked to launch various files (setup.exe of installation
of products).
I am obliged to work on the version 5 of flash to by-pass the problem.
Why to have to get rid of the mo... more >>
how to resize image using actionscript?
Posted by chung at 4/30/2004 1:49:08 PM
how to resize image using actionscript? for example, when I click a button,
the image is resized from 640 x 480 to 800 x 600. can anyone help?
chung
... more >>
Preventing Caching of SWF
Posted by Manoj vn at 4/30/2004 1:42:03 PM
Hi forum
How can i prevent the caching of swf ? Is it can be done with in the flash file?
Thanking you
MVN
... more >>
ActionScript Code Counter
Posted by RIRose at 4/30/2004 1:06:16 PM
Does anyone know of a program or a method in flash to count lines of actionscript code?... more >>
How to add a pecentage loader?
Posted by dl33 at 4/30/2004 12:40:56 PM
Can anybody tell me, how to add a loader to a flash movie, that includes a
loading animation and a percentage of how much is already loaded. I already
searched the internet, but I do neot seem to get the right thing. I am using
Flash MX (not the 2004 version), so if anybody knows how to to thi... more >>
BUG? Flash MX
Posted by Eduardo Dorantes at 4/30/2004 12:25:18 PM
HI, this it is a bug? or what i am doing wrong?
In the frame 1 of my scene i put the next code:
_root.onn._visible = true;
_root.offf._visible = false;
_root.musica = "true";
loadMovie(_root.musica, "audio");
then in the frame 54 in same scene i put the next code (check the line 3):
_... more >>
"dynamic" automatically added to classes
Posted by michael nieuwenhuizen at 4/30/2004 12:17:29 PM
if i create a class that extends the TextField class in AS2, like:
class MyTextField extends TextField {}
and press the "auto format" button it automatically makes my
class dynamic:
dynamic class MyTextField extends TextField {}
why is that?
mike
--
portfolio: http://w... more >>
Set "Bring to Front" in ActionScript
Posted by Andy Root at 4/30/2004 12:04:14 PM
Ok lest see if I can explain this.
Can Arrangement value be set in ActionScript?
I have 5 movie clip symbols on one layer(named All) in frame 19. Above that
layer I have a layer named "Buttons" that contains 5 buttons, each layed on
top of a movie clip. Now I want to add an action to the but... more >>
where do i put the code?
Posted by sschofield123 at 4/30/2004 11:57:59 AM
I'm a confused Flash novice. I expected code to work whether i put it on the
control or if i put it in the general code section for a frame. I choose the
latter cos i get fed up with having to type _level0 all the time, and it's
easier to print out. But occasionally the code will work for one ... more >>
loading dynamic text; multiple fields, one .txt
Posted by 15266 at 4/30/2004 11:22:54 AM
I have an interactive exercise where the user can click on one of 14 'hotspots'
on a diagram. When they click on one of these, I would like one of the 14
corresponding paragraphs of text to appear in a separate dynamic text box.
This needs to be done from a single .txt file. I understand th... more >>
"[object]" message in parent window using GetURL to open new one??
Posted by cftranslate NO[at]SPAM hotpop.com at 4/30/2004 10:59:59 AM
This code opens a new window but loads the message "[object]" in the parent window.
getURL("javascript:window.open('mypage.php','win12','location=no');");
What's wrong?
Thanks... more >>
Load Movie in particular coordinated
Posted by DafEconom at 4/30/2004 10:47:01 AM
Does anybody know how can I load an .swf file in another .fla movie in particular coordinates?... more >>
hyperlinks in tables?
Posted by propercharlie at 4/30/2004 10:36:08 AM
Does flash allow you to embed complex types inside other types (e.g. is it
possible to have text or an image containing a hyperlink inside a table?)... more >>
String
Posted by Sajeev Kumar at 4/30/2004 8:01:52 AM
can anyone say what is the difference between String.substring() and
String.slice() ?
... more >>
open pdf from flash movie
Posted by Duncan Shepherd at 4/30/2004 7:39:42 AM
I am producing a cd flash project and I want open/launch a pdf from a button.
I have used...
getURL("mypdf,"_blank");
When I test this movie, clicking the button opens my default browser, then
goes to the pdf file but doesn't actually open it. It simply opens a finder
window and highl... more >>
Chatroom
Posted by ninja_dude85 at 4/30/2004 5:13:59 AM
Hey, I am trying to figure out how to do a chatroom in flash.
I was thinking there would be a dynamic text box, which continually updated
from a web form/server. there would be an input text box and when you typed
text in there and hit enter, flash would send the text to the form/server,
w... more >>
comboBox : empty dropdown when movie loaded into
Posted by cnetech at 4/30/2004 4:11:07 AM
comboBox : empty dropdown when movie loaded into a parent swf
I was wondering if anyone else has had this problem and remembered what was
causing it..
I've made a movie ("gallery.swf") and in it there is a comboBox component
populated with data loaded from an external text file(data.txt... more >>
Can I change Frame rate by using AS
Posted by ilan2003 at 4/30/2004 2:49:23 AM
I want to contrl the frame rate use a button
anyone kown how to change frame rate by using AS
Thanks
ilan2003
http://ilan2003.freewebpage.org... more >>
Please nid help with rolovers...
Posted by spyxez_hype at 4/30/2004 1:36:51 AM
Hope someone can help me about rollovers..i was ask to make a table or
organization adn everytime the mouse moves over the picture a enlarge picture
and profile of the person will appear on a separate part designated for the
profile . i dunno about script hope u could help.Thanks
... more >>
Please nid help with rolovers...
Posted by spyxez_hype at 4/30/2004 1:27:26 AM
Hope someone can help me about rollovers..i was ask to make a table or
organization adn everytime the mouse moves over the picture a enlarge picture
and profile of the person will appear on a separate part designated for the
profile . i dunno about script hope u could help.Thanks
... more >>
How to include external swfs not using loadMovie?
Posted by TallHonkey at 4/30/2004 1:07:02 AM
I need to include (#include) external swfs into a fla and then compile it
outputting one swf file without any additional loadMovie calls to the server.
Does anyone know how to do this? Can it be done? Thanks for the help!
... more >>
Help Needed
Posted by Veni vidi at 4/30/2004 12:35:15 AM
I created a Button in flashMX on the HIT frame. I want when someone hit the
button it loads
an external .swf that would be located in c:\windows\project.\test.swf
What actionscript code can I use to achieve that?
... more >>
making buttons work inside a movie clip. help?
Posted by k e n g i at 4/30/2004 12:31:44 AM
I have a scene "Menu"
and in that scene, i have a movie clip scripted to where it scrolls the
contents relative to the Y position of the mouse. All the contents in that
movie clip is a clickable button. How do i make it so if i click on one of
those buttons inside that movie clip, it would... more >>
Partial Preload help
Posted by horsebird at 4/30/2004 12:24:00 AM
I am using the following basic preloader but I want to assign the number of
bytes that it should finnish at. Instead of "total" I would like to name the
number. In other words preload untill 3000kb have loaded then play.
Anyone have any ideas? I cant find anything posted like this.
... more >>
|