all groups > flash actionscript > april 2004 > threads for wednesday april 7
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
How do I figure out when data has loaded?
Posted by duuman at 4/7/2004 11:56:57 PM
Well, my goal is to load variables from a text file, and when they have loaded,
move to a frame that will display them. I have done this before, in mx, but now
I am using 2004. In MX I didn't need to check whether it loaded, it always
seemed to work. Now when I try it, it works locally, but no... more >>
Send a variable from .swf to java script
Posted by 2asgard at 4/7/2004 11:33:06 PM
My question is very simple I think. I just need to send one variable from one
button made in flash to a common java script outside the shockwave file. I
would like to analize and have the control in java script.
How can I do this?
Thank you for your response.
Also I'm leaving my email. ... more >>
Comunication between movies
Posted by Txar?n at 4/7/2004 10:33:26 PM
I have 3 movies siting in the same HTML, how can I gety index movie to give orders to other movies
and viseversa?
Thanks
[L=Check it from here]http://www.capstores.be/index.htm[/L]... more >>
Dynamic Box Size
Posted by Rich232 at 4/7/2004 9:57:15 PM
I have 2 input fields (x,y) where people can type in numbers based on the size
of their room. (i.e 3m by 3m). How do I script a square box that is drawn
automatically when they submit based on the scale that they have typed in.
(Flash MX)
Thanks
Rich.
... more >>
Datagrid sort event ?
Posted by Chris Brandt at 4/7/2004 9:30:45 PM
Is there a event thrown when a datagrid is sorted by clicking on one of the
headings?
I want to make sure that either the selected item remains highlighted or
de-select the item...
Thanks,
chris
... more >>
Quirk or Bug???
Posted by edgedesign at 4/7/2004 9:19:57 PM
I think I've discovered a bug (and/or quirk) in Flash and I'm curious what
others have found. The quote below is from a previous thread found here:
[L=Help!! variables, scenes,
levels]http://www.flashkit.com/board/showthread.php?postid=2858757#post2858757[/
L]
[Q]If you've followed the ... more >>
Extracting Time from a loaded Movie
Posted by BillinAZ at 4/7/2004 8:53:00 PM
Hi,
I need to extract the time, minutes and seconds, from a movie that is being
loaded into a movie clip. On the main stage is an MC called "content_mc".
Various external clips will be loaded into "content_mc" from an array by means
of a menu system. "content_mc" is a 1 frame empty movie.... more >>
Text button as symbol -- hit area??
Posted by Kay Poe at 4/7/2004 7:52:28 PM
Hi Y'all.
I have used text, created a symbol as a button, and so far not applied any
actionscript to it. when i preview the movie it "skitters" in and out as if it
can't understand that the text is a button. i do not want to place a graphic
here for various reasons.
should the text h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Browser ->Flash communication
Posted by sneakyimp at 4/7/2004 7:17:48 PM
Hey everybody:
this is kind of a cross-post but i thought it would be useful info for
everyone. I've created a FLASH movie to test the various ways your browser can
set values within FLASH. Please give it a look...it takes about 30 seconds and
you get to see the results broken out by TOT... more >>
getUrl and empty mc
Posted by sirrach at 4/7/2004 7:04:31 PM
Hi,
I'm trying to assign a getUrl function to my empty mc that I'm loading
onClipEvent(load). My problem is that it will not get the url on the mc
instance. No matter how I define it, it isn't working. It works if I use this
or just onPress (which means any part of the stage you click w... more >>
Simple Perl Question
Posted by The Big Giant Head at 4/7/2004 6:39:33 PM
Hello...
can anybody write me a simple perl script that says:
take this big long string literal from flash and write it into
the file called "atextfile.txt" then echo something back to flash
to tell me it's happened ?
The text file is very simple and just holds four variables like this:
la... more >>
Tweening Gradients
Posted by Harmony666 at 4/7/2004 6:36:30 PM
Hi
Can anyone tell me how I can animate smoothly from one gradient to another it
is to animate a landscape scene where the sky changes colour as the sun rises.
I am having difficulty changing from the sky at night which had several blues
to one which id blues and yellows. Thanks in advan... more >>
Fluid motion help
Posted by mr.tibbs at 4/7/2004 6:02:14 PM
I'm trying to simulate an object ( a bubble, actually) floating in a viscous
fluid, but I'd like it's movement controlled purely by ActionScript. So far,
my only instinct would be to use trig formulas to determine its x and y
positions. For example, if you wanted to move an object in a compl... more >>
Live Connect and the Mac
Posted by vin-E at 4/7/2004 6:00:01 PM
So I have read the technotes on Macintosh not being able to communicate with
the flash player, problem is - I am starting to lose the ability to navigate at
all on the Mac. I need a creative work around.
I have to pass a session variable with every link. If the links are based on
interac... more >>
button controling time line question
Posted by nosedive51 at 4/7/2004 5:39:50 PM
I have:
on(press){
_root.s2.nextFrame();
}
and it does it's thing but the user has to click over and over again. I need
it to advance one frame as long as the user is holding the mouse button down.
Help please.
Thanks.
... more >>
Help with flash printing.. PLEASE!!!
Posted by jeremyMack at 4/7/2004 5:33:32 PM
I have a single frame .FLA file with alot of vector graphics and a small JPG
in it. All the text on this document is in Outlines (all vector) so it IS alot
of data on the one SWF when its exported.
So what I have in an onLoad event is the following:
//PRINT PAGE
var my_pj = n... more >>
3rd year undergrad HELP!! will pay for your time
Posted by benjimanji at 4/7/2004 5:29:59 PM
Hi,
I?m a 3rd year undergrad at Nottingham Uni and im writing my dissertation in
Flash MX and Actionscipt.
I?ve run into a few problems which have turned into total nightmares and there
seems to be very few people in the department who are able to help.
I was wondering whether if anyone ... more >>
comma element in an array?
Posted by Jschweitz at 4/7/2004 5:07:09 PM
Hi,
I am using LoadVars to bring in array items, delimited by commas.
Unfortunately it is required that some array elements include the character ","
but not as a delimiter [example: "I need to add commas like this, thanks."]. We
tried using the %2C escape sequence but this does not work ... more >>
Need help in library external images management
Posted by KennyMustLive at 4/7/2004 4:56:44 PM
Hello.
i need to work with preloaded images at different movieclips at the same time.
since "duplicatemovieclip" cannot deliver possibility to make copies in
different movies, "attachMovie" method is seen to be more logical here.
with attachMovie picture from the labrary can be placed an... more >>
In flash play 7, the global variable can not run. just like, _global.XXXXX
Posted by ::Digitalboy:: at 4/7/2004 4:31:58 PM
dragable buttons
Posted by ogun at 4/7/2004 4:25:52 PM
how do I make a draggable button run along a defined route (e.g the draggable
object will be attached to a line and will move along it but not off of it when
dragged.)
If you can help please write out the coding below.
Thanks
Neil
... more >>
Append events? (multiple rollovers)
Posted by lingoingo at 4/7/2004 3:33:18 PM
Hi,
does anyone know a good solution to append an event on one clip.
I.e. when I have a movieclip with a rollover-event and want to add
another action to that event but keep the old script?
AS1 please
thanks for any help!... more >>
passing paramenters to functions
Posted by Brian at 4/7/2004 3:26:30 PM
I have an instance called indicator that I want to move with the
following script:
onClipEvent(load){
_x = -372;
_y = -80;
div = 3;
}
onClipEvent(enterFrame){
_x += (endX-_x)/div;
_y += (endY-_y)/div;
}
This instance indicator will be in several different places and usually ... more >>
Scoping Problem
Posted by akribie at 4/7/2004 3:25:49 PM
Since Flash does not appear to include state variables for the mouse, I have
created a global variable which is toggled true at a mousedown event and false
at mouseup or rollout event. Trace shows that the detection routines toggle
the variable as expected.
In a child movieclip is an onCl... more >>
I need to see my clicks ( help with click counter)
Posted by Oggie at 4/7/2004 3:13:28 PM
Hi, I have some click tracker code that works for what I need however, I want
to output the counter to a text box as image is being clicked, so user knows
how many times they have clicked.
Here is my existing code.
Frame action
function calculate() {
totalX = 0;
totalY = 0;
... more >>
ActionScript problem!!!
Posted by Xx)MaveriK[X] at 4/7/2004 3:09:26 PM
I created a MovieClip wich its instance name is "cursor" and set this script to
the frame:
======================
cursor.startDrag ( true ) ;
Mouse.hide ( ) ;
======================
Untiel here every thing were OK, the MovieClip was following the mouse.
Than i created another MovieClip... more >>
Need somehelp withthis script
Posted by FhErC at 4/7/2004 2:37:17 PM
I`m trying to make a zoom button in order tozoom in and zoom out a text whixh
is inside amovie clip but it doesn?t seem to work the script Im using is:
on(release) {
mc1._xscale = 500;
mc1._yscale = 500;
}
mc1 is the name of the text movie clip plis help me ou
... more >>
Basic button action question...
Posted by vancam at 4/7/2004 2:31:43 PM
Hi all,
I am relatively new to Flash and am in need of some assistance with button
actions. I have a pretty basic flash movie created and would like to allow the
user to click a Next button to bring them to a specific frame on the timeline.
This action will be repeated throughout the mov... more >>
repeat, repeat...
Posted by Gil at 4/7/2004 2:13:22 PM
I would like my Flash scene (project) to run, then, repeat twice and then stop on the last frame. In other words loop twice and stop.
Thank you,
Gil... more >>
scrollPane Zoom ??
Posted by loudmouth72 at 4/7/2004 2:02:30 PM
Is there a way to set the zoom from zooming from 0,0 to zoom from the center
of the scrollpane.
this is my code for the scrollPane.
when I zoom it zooms from the top left hand corner. I want it to zoom from
the center of the swf or image being loaded in the scrollPane.
thanks
lou... more >>
Flash & Cache
Posted by grob at 4/7/2004 1:44:02 PM
Is it possible to unload a movie AND clean it out of cache? I am trying to
prevent unauthorised use of commoercial Flash instructional lesson.
Thanks
Geoff
... more >>
Delete History/Cookie
Posted by allwyn at 4/7/2004 1:23:37 PM
Hi
How will I delete cookies,History through Flash Action Script.Am facing
problem when I am uploading new Images and reloading the Pages.After Reloading
of the page mY new Image should come instead of my Old Image.In some system new
images are coming and some it is coming with old Image.How... more >>
Key.getASCII()?
Posted by Davey J. at 4/7/2004 1:14:13 PM
Hi Everyone,
I'm having a problem with Key.getASCII(). I have some code like this:
if (Key.isDown(Key.LEFT)) {
keyRelease = "left";
keyCode = Key.getAscii();
}
if (Key.isDown(Key.RIGHT)) {
keyRelease = "right";
keyCode = Key.getAscii();
}
if (Key.isDown(K... more >>
onChanged not firing for one frame?
Posted by avalys at 4/7/2004 1:13:26 PM
I have a five frame movie, which basically presents a tabbed interface to the
user. Each frame is one tab. Each of the tabs has a set of TextFields, which
the user inputs data into. All the textfields on all the tabs have onChanged
event handlers added to them in their frame's actionscript.... more >>
where to begin to create this...
Posted by __icarus__ at 4/7/2004 1:03:09 PM
Hi guys
I have had a client ask me if I can put together something like
[L=this]http://pbskids.org/sagwa/color/paint/index_paint.html[/L] for him,
problem is I dont even know where to start. Does anyone know of a tutorial or
source file I can access to get an idea how to accomplish this?
... more >>
Running Movie Clips In Real Time
Posted by Harmony666 at 4/7/2004 12:43:26 PM
Hi
I want to create a movie of a landscape that changes in real time depending on
the viewer?s computer time and date. For example from day to night and
seasonal changes depending on the month. Is this a very hard thing to do? I
have had no luck finding reference to getting variables fr... more >>
clear screen?
Posted by michael nieuwenhuizen at 4/7/2004 12:28:22 PM
hello, i'm making a movie where something is constantly redrawn
on the screen http://www.michaeln.demon.nl/test/closedCube.html.
before i draw onto the screen i "clear" the screen by drawing a
white rectangle on the screen as big as the stage, and draw on
top of that. it seems though that the a... more >>
Send Variables Loaded Movie clip
Posted by vegasdodger at 4/7/2004 12:15:12 PM
I have a movie loading into a target blank movie clip on the timeline. I have
to send the variables from that clip to an asp page and receive a return. I've
done this before, but now completely spaced how to do it. Don't I have to
target the "parent" or "root" or something like that???? Do I h... more >>
Load SWF
Posted by Peter Fettes at 4/7/2004 12:00:26 PM
Can anyone tell me how to import/load a swf file into another swf file?
Thank You.
Peter.... more >>
SCENE TRANSITION!!
Posted by Wyatt at 4/7/2004 11:50:44 AM
I am having big problems w/my movie. It just doesn't GO. I set actions to
gotoandplay on frames and it just repeats the current scene. I am stuck and
have no idea what to do -- I have considered instead of using scenes just
having totally seperate flash files, but it would be too much loading. --... more >>
Hittest....expanding menues
Posted by kafir at 4/7/2004 11:33:58 AM
With a expanding menu-system how do a use hittest to make a area mouse
sentitive? This means that the menu should expand depending on how close the
mouse is at the menu. Please se attached fil.
Hope you guys can help...
... more >>
ScrollPane
Posted by bolo972 at 4/7/2004 11:05:07 AM
i all
i try to use a scroll pane with a createEmptyMovieClip
[CODE]var myCont = this.createEmptyMovieClip("content_promo",1)
this.Cpt_scroll.contentPath = "content_promo";[/CODE]
but i dont see my movie in my scrollPane
thanks for help
... more >>
Back and Forth, Caching
Posted by toobnoob at 4/7/2004 10:07:03 AM
I need a Back and Forth buttons to a E-Learning Project im doing,
The problem is that I need the Back and Forth function to "remember" or cache
were the user where and what movies that were loaded. Its 30+ movies.
... more >>
Dynamic Unicode
Posted by filiuppo at 4/7/2004 9:36:32 AM
Hi,
can anybody explain me why these two trace functions display different outputs
?
trace("\u2082");
trace("\u"+"2082");
I need to create dynamic unicode charachters (like subscript numbers) ...
Thank you
... more >>
Preloader
Posted by Manoj vn at 4/7/2004 9:13:26 AM
Hi forum,
My site contains some flash files, which will take some time to load. I want to add a preloader in each and every flash file. Any assistance regarding this will be accepted thankfully.... more >>
Attn. Mr Andrew Chemey
Posted by Manoj vn at 4/7/2004 7:57:53 AM
[Q]I don't understand what you want to accomplish. Do you want more than
oneblank field for the same question or do you want more than one
fill-in-the-blank question appear on the same "page"?[/Q]
In fact I need to have a paragraph with multiple blank fields, with each field
evaluated as a... more >>
checking player : authoring or browser ?
Posted by Niouze at 4/7/2004 7:03:39 AM
Hi,
Is there anyway to know from acction Script if if the player is the one used
for authoring mode, or if it's the web browser one.
I keep on having this problem while debugging : the path to image or xml
directories change if testing in authoring and when in the web browser.
While ever... more >>
dynamically load datagrid script?
Posted by theblessedone at 4/7/2004 5:06:45 AM
Hey guys,
Here's the problem. I want to be able to update my script to the
datagrid, without having to publish flash every time...and I'm not real
knowledgable with actionscript yet, so I was thinking about just loading the
script dynamically through a text file. Then just updating th... more >>
DataGrid Column NAmes ?
Posted by aregnano at 4/7/2004 4:23:58 AM
Hello,
I have a a grid with 4 columns. Is there a way to get what column name is
selected. Im sure its a simple function, but everyone i have tried is not
working as expected.
Any help would be great!
I am working in Flash MX NOT 2004
Thank You
MLA
... more >>
getURL()
Posted by janice_2k at 4/7/2004 4:06:02 AM
Dear All,
I am very new in using macromedia flash mx and javascript. I am trying to
use getURL() in lea_speak.js to call a function name processNew(arg) in
speaking.js. How shall i do so? Please advice and thanks in advance. Hope to
hear from you soon.
Rgrds,
Janice
... more >>
ID3 tags
Posted by Junkm at 4/7/2004 2:41:15 AM
Can someone please tell me the proper way to get the information from id3 tags
on mp3s so I can assign that information to a dynamic text object? No matter
what I do, it always just comes up as undefined, and I can't seem to get it
right, I'm not sure what I am doing wrong. Any help would be a... more >>
Dynamic Text alignment
Posted by AlienatorY2K at 4/7/2004 2:26:44 AM
Hi people, I have a multiline dynamic text field and the text is either 1 line
or 3 lines. Is it possible to vAlign the text in the middle? Cos currently the
if it is 1 line, it is displayed at the top of the textbox.
Pls help. Thanks
... more >>
loadvars: defying the laws of scope?
Posted by sneakyimp at 4/7/2004 2:18:56 AM
OK. the code below works, but it seems to me that it shouldn't because
lvarPageSaveResponse is defined locally in the function SavePage(). This would
mean that in the function called 'ServerPageSaveResponseOnLoad' it wouldn't
have any meaning...or would it? can someone explain this to me?
... more >>
Flash slide show using xml - auto advance feature
Posted by BlueWaterMedia.net at 4/7/2004 1:47:41 AM
so i have a flash slide show that i'm using an xml file to pull the images
from. it came with a next and previous button. so i added a play button and
that seems to be working. i just can't get the stop button to work. any help?
here is the code i have
[h]
//
// Event handler for 'Pl... more >>
progressive preloading?
Posted by inetwebguy at 4/7/2004 1:19:43 AM
I have an issue with a large swf Im trying to load.
It's a jukebox of sorts where the visitor clicks a song title and it plays 45
seconds of each song and there are 20 titles. Currently I have each song as a
separate swf file with a preloader in front of each individual song swf. what I
w... more >>
|