all groups > flash actionscript > february 2004 > threads for thursday february 26
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
loadMovie and onLoad event
Posted by matthewb1174 at 2/26/2004 11:00:33 PM
I am loading an external image into an object named square and I would like to
display a simple text while the loading is happening, and set the text to
nothing when it has loaded....
pic16.onPress = function() {
strLoad = 'Loading..';
movieUrl = "/images/flash/pic16.jpg";
loadMovie... more >>
Kiosk: Refreshing after X seconds
Posted by College_webber at 2/26/2004 10:51:37 PM
I have been searching for a while on how to make my Kiosk go to frame 1 if it
is idle, and have found someting that seems helpfull, but it is from a few
years ago. [L=Kiosk
Link]http://www.flazoom.com/cooler/1043345201%2C45422%2C.shtml[/L] Is there a
new better way to do this, and also i ... more >>
Help with countdown clock...
Posted by trints at 2/26/2004 10:11:18 PM
I've downloaded this countdown clock:
http://www.flashkit.com/movies/Utilities/Time/Flash_Co-Trevor_R-8139/index.php
I'm new and kglad has been helping me...I need it to countdown from a variable
in a text file, but get errors from it even trying to read the .txt file:
Error opening URL
"f... more >>
Loading array from external file
Posted by scourtaud at 2/26/2004 9:53:39 PM
Hi,
I'm new to actionscript and experiencing a problem...
I made ? photo gallery that I would like dynamic(not finished) but for the
moment I have the following problem :
My gallery works when the picture name array is written in the movie :
myimg = ["photo1","photo2","photo3","pho... more >>
Uploading File withiin Flash
Posted by uncle_3than at 2/26/2004 8:17:17 PM
Hi, I saw some website can upload file within Flash,
like there's a button in Flash, when you click it, it'll open up the folders
in your computer so you can choose a file you want to upload,
I remember that I emailed colin mook about this problem while ago, he said it
can't be done, but ... more >>
Broken LoadVars
Posted by fact_one at 2/26/2004 7:20:05 PM
I am currently loading a variable dynamically like
using LoadVars class for the holder
&this_var_array=0,1,0,2,0,0
and passing this to the flash and using
this_var_array = lvar.this_var_array .split(",");
and then
trace(this_var_array);
and it outputs
6,5,3,0,3,3
... more >>
Images missing when movie clip loads. Why?
Posted by T__O____M at 2/26/2004 7:17:58 PM
I've got a really simple setup - I've got my main .swf (say it's called
main.swf) loading another .swf (loaded.swf) into a target.
In loaded.swf there is a preloader scene (using getBytesLoaded etc.), and
then, in the main scene of loaded.swf, an image sitting on the stage. The image
gets... more >>
ScrollPane issue with dynamic movie
Posted by CWATT at 2/26/2004 5:58:41 PM
I have a scroll pane that I load an external swf. This swf has no data in it
at all so it is very small in size (width,height). Once loaded into the
scrollpane data is loaded into it and grows in height so that the scollpane now
needs a vertical scrollbar, but it does not appear. I can work... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TextField.text
Posted by titi2 at 2/26/2004 5:48:10 PM
hi i want to stock text in a textField without
drawing it on the Stage with the createTextField method, so :
var mytext :TextField = new TextField ();
mytext.text="azeazeaze";
// but
trace(mytext.text); // send 'undefined'
// why ???
... more >>
Get Tree Component Selection
Posted by Sentry Man at 2/26/2004 5:34:29 PM
Hi all,
Was just wondering after I set up my tree component and the user makes a
selection, how can I know when the user has made a selection and what the
selection is?
I tried going through the help but that usually does not have very good
examples. So any help would be great.
... more >>
actionscripting a .bmp
Posted by Swiggs at 2/26/2004 4:48:09 PM
I need to know how to actionscript a .bmp
my main problem is I dont know how to set
up a targetpath. Could someone please
help me with this. Ive been searching for
this for a bit. I dont know how to set
up a targetpath .
... more >>
Force GetUrl to open dialog box "open or save"
Posted by deliris at 2/26/2004 4:39:57 PM
I'm triyng to link several buttons to several external 3D .step and .igs files.
I needed Flash to open dialog box "Open or save", but what hapens is the
browser starts and opens that file as a blanck.
Is it possible to force that dialog box?
Thanx
Deliris
... more >>
How can I drag several clips as a bunch. URGENT
Posted by arnaudSp at 2/26/2004 4:38:04 PM
I want to drag several movie clips a one. StartDrag won't do it as it drags
only one mc at a time. Is there a way to group them so that when you click and
drag they all move together ?
Thanks in advance for your help.
aSaintPaul
... more >>
Getting the stage size of a loaded movie
Posted by Longest at 2/26/2004 4:28:52 PM
Hi there,
I need the stage size of loaded (with loadMovie or MovieClipLoader object)
movie clips.
I know this is a common problem. I've read several threads dealing with that -
but no sollution!
Maybe there is a new possibility in Actionscript 2 that I just don't find.
Before you... more >>
need help with Typewriter script URGENT
Posted by _PaulD_ at 2/26/2004 4:24:52 PM
Hey guys
I am trying to make a Typewriter with Actionscript. I have a Virtual Keyboard
on the screen and when I click the Key I need the letter(s) to be displayed in
a Dynamic Text Box.
Can anyone help me out, Im desperate!!!
... more >>
concatenating two text values
Posted by rick NO[at]SPAM mcorp at 2/26/2004 4:19:14 PM
I'm trying to concat 2 text strings stored in local variables as follows:
txt.concat(oldtxt,newtxt);
oldtxt and newtxt each contain a text string but when I trace th results I get
'undefined', both text strings contain valid strings so what am I doing wrong?
Something simple no doubt!
... more >>
AS2: Extends with packages (works) but gives check syntax errors (seems to be a bug)
Posted by Yechezkal Gutfreund at 2/26/2004 3:18:25 PM
I have two files in a package called PTMW.
They both live in the same project.
PTMW.TopoSprite.as
PTMW.Sprite.as
They live in the correct directories
PTMW/TopoSprite.as
PTMW/Sprite.as
TopoSprite inherits from Sprite:
dynamic class PTMW.TopoSprite extends P... more >>
resize text field on scale...
Posted by Papa Rabbit at 2/26/2004 2:53:06 PM
This seems to be a tricky subject... Well maybe not trick or hard but I sure
haven't seen a good tutorial on it.
This is the situation: I have a movie with a text box, "logo" is the instance
name.
My HTML has the scale set to "Exact Fit" and the width = 100%
now this is the code I ha... more >>
Listbox scroll position?
Posted by Mike Horton at 2/26/2004 2:24:15 PM
Hi everyone, am I going mad or does this no longer work? I am using Flash
MX (not 2004)
on(Release){
myListBox.setScrollPosition(3);
}
All I want to do is set the position of a listbox component to a value when
a button is pressed.
I would appreciate any thoughts or suggesti... more >>
getURL problem when calling by IP
Posted by DanielRowles at 2/26/2004 2:19:24 PM
Hello all,
I have the following code associated with a button in my movie:
getURL("javascript:window.opener.location.href=http://mydomain.com/myPgae.cfm;se
lf.close();void(0);");
which works just fine.
I have the same code on my development server with mydomain.com replaced with
... more >>
>>Here's a Datagrid sort by date AS<<
Posted by N Rohler at 2/26/2004 1:49:02 PM
Use the following actionscript to sort a datagrid by date.
I needed an AS like this, but because I couldn't find any others I had to
write it myself. I thought everyone would find it helpful! It is designed to
sort dates in form Wed, 25 Feb 2004 09:03:35 -0500 .
For a lot of records, y... more >>
loading combobox from PHP/MySQL
Posted by rigpig at 2/26/2004 1:40:36 PM
I am having a little trouble loading a combobox from MYSQL/PHP. Can some one
see where I am making my error. And how do you pass that value of the
combobox to the dB?
I appreciate all your help..
//create the LoadVars object
_root.prospect.information.capture = new LoadVars()
//load from s... more >>
Flash Retreive Folder Contents?
Posted by grob at 2/26/2004 12:57:47 PM
How would I go about having Flash list the contents of a directory? Is it
possible?
Thanks
g.rob
... more >>
Help Loading a email address into a dynamic text box
Posted by Run at 2/26/2004 12:55:48 PM
Hello,
I need some help trying to get the html formatting into a dynamic text box.
My text box instance name is email, i am using a text file to store custom
data in so I can change the interface on my project by just changing the
values in the text file.
I have selected the render as html ... more >>
problems with math.tan(using variable) won't work
Posted by noarmstrong at 2/26/2004 12:47:25 PM
Hi there
Is there anyway to place a variable in the math.tan() command and
math.pow(x,2) command please
load=new array()
load[0]=22;
a=45*PI()/180+(+load[0]*PI()/180)/2))
y=math.tan(a);
b=math.pow(y,2 );
trace(b);
this gives undefined result due to variable in brackets..
i... more >>
an upper limit on font size in TextFormat?
Posted by gri-gri at 2/26/2004 12:32:23 PM
Hello,
I use TextFormat.size to set the font size of text in my dynamic textfields.
When I set TextFormat.size to a value larger than 100 the font size of my text
is smaller than it should be.
Is ther an upper limit to the value of TextFormat.size.
Here's my code:
fmt_1=new TextForm... more >>
How to do this animation...
Posted by dj-pirra at 2/26/2004 12:12:08 PM
Hi there...
How can i code an animation like a brush painting a logo...
Ex. I have the pic of the logo in vectorial format.. and i wanted to make an
animation that was like a hand drawing the logo.. is this possible??
If so.. how???
Regards
... more >>
Call global method of Flash from Javascript
Posted by Y2K at 2/26/2004 11:28:17 AM
Hello group,
I know how call method of Javascript from Flash...
getURL("Javascript:MethodName()")
but...
I have problem with call global method of Flash from Javascript.
Thank you.
Note: I not understand Inglish, because my Inglish is bad...I know Spanish
and Japanese, Sorry.
... more >>
Using textfields that are dynamically generated
Posted by GSB at 2/26/2004 11:20:51 AM
Hi,
I have a question about using textfields that I'm generating dynamically.
I am generating textfields depending on the number of records in a table. So
the instance name I am giving for the textfields is "message_txt" + txtCount
where txtCount = 0,1,2,.... (number of records).
Now, when ... more >>
Script pausing during movies
Posted by fwduk at 2/26/2004 10:44:12 AM
Having recently converted from MX2002 to MX2004 I have had problems in getting
the actionscript in Flash Buttons to work immediately. If I add script, eg: on
(release) {gotoAndPlay("Frame 206");} to a button I now find it won't run until
the rest of the scene/section has completed yet in 2002... more >>
Loading .bmp file at runtime
Posted by e-kin at 2/26/2004 10:21:07 AM
It seems that loadMovie do not work with .bmp file. It there any method to load .bmp file at runtime?... more >>
one swf control another
Posted by DigitalMaverick at 2/26/2004 9:05:50 AM
I have two seperate swf's embedded into one html document. Can one swf control the actions of the other?
... more >>
Problem stopping a function
Posted by davidverhulst at 2/26/2004 8:57:12 AM
When the flash movie starts. a word will be printed with external jpg's. The
letters of that word begin to animatie by the moveRandom function. When i klik
on a movieclip the animation should stop but only for that movieclip. Can
someone help me.
thx.
_tl = this;
_tl.woord = "carabas... more >>
open in a new browser problem.
Posted by Minuet at 2/26/2004 8:41:48 AM
Can anyone one help me with this.
I have a a few links in flash. all the links will go to a new browser when
click. (that's what i want)
but
is there anyway to stick to the open browser which means I dont want 3 links
will open out 3 new browser.
Example.
A click to any of the lin... more >>
Problem loading a jpg file into flash movie
Posted by _yex at 2/26/2004 7:45:26 AM
I got problem loading a jpg file into a movieclip instance in my root timeline,
I create a movie clip and set its instance name to 'imgHolder', here's a line
of the actionscript:
imgHolder.loadMovie(image);
I'm trying to load a string from database which is like this: Image/abc.jpg,
an... more >>
file to frame access
Posted by kaliki at 2/26/2004 7:37:13 AM
hi friend
i have some problem in flash
i have 2 flash file both are publish to html file,
one file having 8 buttons
2nd file have 8 frames, each one having stop, in that some content is there
if i open it in 1 file and click that 3 button, i want its goes to the 2nd
file 3fr... more >>
Components are screwing up!
Posted by RePlay2 at 2/26/2004 6:40:13 AM
Hi There... I was wondering why components would be screwing up in the flash 7
player, here are a few problems..
The listbox component fills up with "undefined" where no data has been inserted
The Push button components text moves out of place when clicked (very wierd).
Thats about all.
... more >>
Media Player Woes
Posted by chief_chef at 2/26/2004 5:59:56 AM
I'm trying to create a button that will follow the time of a song and is
draggable to any part of the song, but am having some difficulties...
*******************************************
Code for the Movie Clip of Draggable button
********************************************
onClipEvent(en... more >>
Is there a way to iterate thru objects on a form?
Posted by bioroid at 2/26/2004 5:47:29 AM
Is there a way to go iterate thru objects on a form? Mainly ui components? I
would like to write a generic function which would disable all controls on a
form instead of writing code specific for each form in my app. This is so I
could bring up a modal pop up window and still display the scr... more >>
_quality problem
Posted by uncle_3than at 2/26/2004 5:03:31 AM
I wanted to set clip to LOW quality, but it sets the WHOLE movie to LOW
quality...any idea why?..can I just set one specific object to any quality, not
the hole movie?...thanks for your help!!
the thing is that I have to turn it down to use my pixel font, otherwise it'll
become so blur, is... more >>
Access database
Posted by simprini at 2/26/2004 4:33:37 AM
Helo!
here what I am trying to do, creat an flash movie and populat it with
information from an databe in access. if anyone have an idea where I can get a
tutorial or more information on how to do that will be great, thank you very
mutch.
... more >>
importing MCs from library
Posted by Echoblade at 2/26/2004 4:08:19 AM
I want an easy to bring MCs from my Library to the stage. but the current
methods I know don't do exactly want I want.
loadMovie(*.swf). the swf isn't in the library and can't see it
attachMovie() with linkage these are loaded before preloaders meaning I can
use linkage alot on big MCs
d... more >>
goToAndPlay - frame;label
Posted by manolet63 at 2/26/2004 3:20:20 AM
I'm new to FlashMX2004 Pro and to Action Script 2.0, I'm trying to go to a
specific frame in the timeline, having problems with this simple code. I've
down this in Flash MX, but when I bought Flash MX2004 everything is not working.
Here is my code:
Stop ();
g4_btn.onPress = function ();... more >>
Animating _xscale using loaded variables
Posted by leinad37 at 2/26/2004 1:57:47 AM
I recently stumbled onto a problem while working on my site. I am doing a
rating site that involves loading variables from a file. I have a bar
(movieclip) that i want to animate for like 10 frames from 0 to the whatever
the rating out of 10 is using the _xscale script. I tried creating a 10... more >>
if > then
Posted by Chris Waters at 2/26/2004 1:44:43 AM
I have buttons that each load a movieclip (from the library, not external)
into a container.
when a buton is pressed, the current movieclip in the container plays an
ending sequence (i've labelled 'outro'). that moviclip then stops and then
sets the variable done = true
the button then want... more >>
updating dataset component with actionscript
Posted by jjjake01 at 2/26/2004 1:41:30 AM
I'm trying to update text from the fields of a dataset object.
I can easily reference and change using _root.dataset.currentItem.FieldName.
But when referenced later on in the procedure, it displays the old value.
Also, I'm having a difficult time getting a value to return using the
cu... more >>
JavaScript Pop-Ups
Posted by HudakBudak at 2/26/2004 1:37:54 AM
It's been a while since I've worked with Flash, and right now I'm sporting MX
2002. I was wondering if anyone knew how to link to JavaScript pop-up windows,
where I can control the height, width, scroll bars, etc. Thanks for the help.
... more >>
loading variables
Posted by Red Cat at 2/26/2004 1:03:43 AM
Being an infrequent Flash user I am finding this task (which I thought should
be easy) to be very difficult.
Situation:
I have created a player to run mp3s and display the song titles. The titles
and filenames are currently hard-coded into the .fla
Problem:
I want to create in eithe... more >>
loadMovie sequentially
Posted by gaGeet at 2/26/2004 12:30:17 AM
Hi,
I would like to load a *.swf file into frame 1, then load another movie into
frame 2.
After frame 1's movie is over, how can i make a transition into frame 2. See
code below. Ideally, having a button in frame 1 such that when pressed, it
will go to frame 2.
FRAME 1
var my_... more >>
Keeping a constant frame rate!
Posted by MTC Music at 2/26/2004 12:11:05 AM
I am writing a program to teach musical rhythm. The user is presented with
measures of rhythm that he must tap on the keyboard following a metronome tick
to give him the tempo. Here is the problem:
If I try to attach a sound to the <on keypress> action on the MC, it does not
play the sound... more >>
|