all groups > flash actionscript > may 2004 > threads for wednesday may 5
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
Can a nice person help me with some script?
Posted by March4Revenge at 5/5/2004 11:50:59 PM
Hi there,
So, I have this really complicated animation that I'm doing for a
photographer. In the photo gallery, when you click on a pic, he wants a
border around the pic to resize to the size of the pic you clicked on. I have
two types of pics in the gallery:
A) Portrait size (300 p... more >>
Variable Question ???
Posted by CF_Admin at 5/5/2004 11:16:53 PM
Does anyone know a way to pass variables directly between Flash movies (from one .swf to another .swf) without using HTTP?
Thanks!... more >>
Variable Trouble!
Posted by CF_Admin at 5/5/2004 10:59:59 PM
I want to pass a user name variable from a Flash registration form
(register.swf) to a Flash login form (login.swf), but instead of passing the
variable, it passes the variable name. What am I doing wrong? Please someone
help. This seems pretty basic... am I missing some simple syntax, or orde... more >>
new to flash, need help with html - not very good with html
Posted by marfi95 NO[at]SPAM yahoo.com at 5/5/2004 10:56:20 PM
Hi all,
This is what I'm trying to do. I'm trying to load a flash movie
transparently over my existing html page (not covering the full
screen, but 75% of it), so it is kind of similar to a "splash screen"
in the respect it is to be an introductory screen.
I already have a flash movie made... more >>
Creating a counter
Posted by Parp! at 5/5/2004 10:07:48 PM
Hello,
I'd like to create a counter in a movie that will simply counts up. When it
reaches n I will create an instance of a movie on the stage which will fade up
and out then remove itself from the stage, kind of like a partlce generator if
you like. So can anyone tell me where I would creat... more >>
Dynamic Text Field Issues
Posted by craigkaminsky at 5/5/2004 10:04:09 PM
Hi,
I am working on a Flash movie in which I would like to dynamically generate
some "buttons." I am just at the starting point and am having some trouble
figuring out how to properly reference text fields.
The attached code attempts to use variables to create and then reference the
d... more >>
Dynamically generating variable names
Posted by asiabackpacker at 5/5/2004 9:48:57 PM
I am duplicating a movie clip,
I then want to check the position of all the duplicate movie clips, and store
each value in its own variable.
For example, the original clip is called box0, the duplicates are then called
box1,box2,box3, etc... Let's say it duplicates ten times. Then I wa... more >>
2 digit preloader
Posted by plugin+ at 5/5/2004 9:22:22 PM
Hi people,
I have what I hope will be a simple problem:
I have a simple preloader using the code found at the bottom and what I want
to do is just have the dynamic percentage text i.e 98% display two digits at
all times, so that when say 8% is loaded then it displays as 08% and also make... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Set a varible on a duplicated mc?
Posted by ... James Smith at 5/5/2004 9:20:14 PM
Ok i have
userList =
["Jeffry","James","Jeff","Mark","Denis","Bryce","Ellen","Leigh","Jeffry","Ja
mes","Jeff","Mark","Denis","Bryce","Ellen","Leigh","Jeffry","James","Jeff","
Mark","Denis"];
num = userList.length-1;
user = 0;
function addList() {
currentX = 0;
currentY = 0 + _root.use... more >>
256 levels of recursion on MouseMove???
Posted by Chris Brandt at 5/5/2004 8:59:49 PM
Hi all,
I've just created a flash forms app and I've run into some trouble with
creating a mouseMove listener.
My application form has NOTHING on it.
My child form has it's class set as MouseView -- the code is below. It
contains a MovieClip symbol from the library -- just a blue squ... more >>
Binding objects Problem.
Posted by PETERSV at 5/5/2004 8:11:02 PM
I made a simple Form with 4 objects a label, a textbox and 2 imput box (all are
controls), I've got a web service too.
ths problem is when I need to bind an object to the webservice connector,
because they don't appear in the inspector manager because all objects are not
in root movie they a... more >>
SharedObject -- can it store mp3's or pictures?
Posted by tan270luke at 5/5/2004 8:00:36 PM
hellow all ... I'd like to thank you in advance for taking a look at this
// OBJECTIVE
I have designed a site that utilizes flash remoting to connect to my database
and query dynamic content (includeing text, jpgs and mp3s). I would like to be
able to preload and store them in a shared obj... more >>
start drag
Posted by Rob_jones732000 at 5/5/2004 7:55:37 PM
how do i use the startdrag actionscript to firstly
1. when mouse is clicked on an item allow the user to drag the icon. i know
how to constrain the item (its constrained down the centre of the page) but
dont know how to control it ONLY when the mouse is clicked on it. All this
would be on ... more >>
embedding an html document in flash
Posted by GLDark at 5/5/2004 7:54:48 PM
Hey folks, hoping to do what the title says and embed an html page within a
flash movie - figure I'd probably be using a movie clip to do it if it is
possible. I am sure you guys have seen the question before, but can anyone
give me a hand? if it is not possible, can it be simulated using a... more >>
Passing Variables Between Movies Does't Work
Posted by CF_Admin at 5/5/2004 7:52:53 PM
Hi all,
OK, I'm new to ActionScript, but intermediate with JavaScript and advanced
intermediate with CF and advanced with HTML/DHTML/XHTML etc..., but I can't
figure this one out.
I want to pass a user name variable from a Flash registration form
(register.swf) to a Flash login form (l... more >>
Random
Posted by MiniMurderdoll at 5/5/2004 7:49:08 PM
I have this code:
on (release){
count=0;
restraints1 =0;
restraints2 =0;
restraints3 =0;
restraints4 =0;
restraints5 =0;
restraints6 =0;
restraints7 =0;
restraints8 =0;
restraints9 =0;
restraints10 =0;
restraints11 =0;
restraints12 =0;
restraints13 =0;
... more >>
BIG problem Audio
Posted by Eduardo Dorantes at 5/5/2004 6:58:23 PM
Hi everybody!
I have a standalone proyect with the next features:
I have 4 scenes
I did create an instance to put music.
I use Loadmovie ("musicaX.swf","target"), obviously for each scene i load a
different music.
The music movies have a size between 65 Kb. and 250 Kb.
My problem i... more >>
tangent to circle
Posted by sj at 5/5/2004 6:46:53 PM
Hi,
how can we obtain the x y coordinates in a circle, where a projected line
from a point outside the circle meets the circle.
I think it is the tangent to the circle. and also there will be two tangent.
In my case the mid point, radius of the circle, the external point axis are
know. and ... more >>
switching between combo box values
Posted by ziofonta-Ulyxe at 5/5/2004 6:20:32 PM
how can i select/switch to a specific combo box value without making it direclty using the mouse? is it possible to do that with a command on another button?
thank you
Daniele... more >>
Changing Text within a button.
Posted by Chizl at 5/5/2004 6:19:57 PM
I'm having problems changing text within the button..
I have tried:
if(_root.Language==1) {
btnTalkToAgent.lblTalkToAgent.text = 'Talk to Agent'
} else {
btnTalkToAgent.lblTalkToAgent.text = 'Hable al Agente'
}
but nothing seems to happen.. It's a dynamic text field within a button... more >>
movieclip control
Posted by AG-1 at 5/5/2004 6:19:50 PM
Howdy folks!!! I would be greatfull to get help with creating a button that
rewinds a movie clip. I've only figured out how to make it go back a frame with
each click, what I want is for it to keep going back as long as the button is
pressed. So far this is what i have, "blue" being the name o... more >>
How to get sound from one stage to another
Posted by CRC at 5/5/2004 6:05:53 PM
I have a flash project with two stages that play the same sound and it works
just fine. However I don't want to hear the sound stop playing while in
transition from one stage to the next stage. Is there a way to make the sound
constantly play with out it stoping?
... more >>
playing forward and backward by mouseposition
Posted by philippe at 5/5/2004 5:41:26 PM
hi,
want to control the timeline dynamically by the position of the mouse.
that means when you move your cursor to the right, the movie plays
forward, when you move to the left backwards.
any ideas?
download the .fla here >>
http://www.philippe.networkartists.com/reversenavigation00... more >>
Help with Timer Actionscript
Posted by beedster at 5/5/2004 5:35:06 PM
I'm using the following script to implement a countdown timer in my flash
movie. It's supposed to countdown from 19 seconds and when it gets to zero it
redirects the user to my TimeOut page. For some reason it is redirecting the
user before it reaches zero. I originally had it set at 5 minutes... more >>
graphic or button variables
Posted by thecheff at 5/5/2004 4:50:56 PM
can you have graphic or button values in a variable? if not how can create a situation where I can reference a specific graphic or button on a new scene? if so how... more >>
getURL Kiosk Mode Frustration!!!!
Posted by Madhava Jay at 5/5/2004 4:22:18 PM
Okay, this one seems simple, but has driven me absolutely MAAAAD!
Basically, I have created a flash swf thats linked into a .html that has been
set as the windows desktop.
This is for a presentation where the end user can click some links on the
flash movie and launch some pdfs and web pag... more >>
combo box navi problems
Posted by scotty71 at 5/5/2004 3:58:17 PM
I've got a photo gallery set up over about 100 frames, and every 10 frames is a
'gallery'. I'm using the combobox to jump to each gallery. This SWF alone
runs just fine. However, the end-game is that this SWF loads into a main SWF.
Then, the comboBox totally stops working. The list won't ... more >>
KeyPress <ENTER>
Posted by RyderBrooks at 5/5/2004 3:14:47 PM
Simple Question:
I have a login page made in flash with a submit button. But instead of
pressing the button I would like to be able to just have the user press enter.
I tried the keypress<enter> option but no success. Does anyone have a FLA or
sample of how to do this.
Also...
Is ... more >>
Buggy Set Interval
Posted by red pencil at 5/5/2004 2:59:30 PM
Hi. I'm using this script in several frames of one scene using Flash MX (6).
stop();
timer = setInterval(everySecond, 6000);
function everySecond() {
gotoAndStop(14);
}
Depending on the frame, the gotoand stop goes to a different frame. After a
while, the playback is redirected... more >>
Tinting in actionscript
Posted by Gisborn at 5/5/2004 2:57:07 PM
Hello,
I've got a few buttons in my movie and the buttons have dynamic text in them.
I've come to a point where i want to alpha the buttons down to about 15%, but
the dynamic text is not being done. If i click on my button and look in the
properties, in the colour drop down go to tinting and... more >>
changing position of loaded movie
Posted by jigen3 at 5/5/2004 2:41:39 PM
hello,
i have an empty movieclip i am loading a movie into, but i would like to shift
where the loaded movie appears (change the _x, _y). how would i accomplish this
without shifting the empty movieclip itself?
i am trying (after the call to loadMovie),
_root.emptyClip.loadedMovie._x = 2... more >>
Embedding Flash Movies in a web page
Posted by j22 at 5/5/2004 2:38:35 PM
I must create a Flash movie and depending on what happens set the state of the
movie. The flash movie is then embedded in a webpage.The web page then queries
the flash movie to see what state it is in.
I don't know how this works. I will only be responsible for creating the Flash
Movies a... more >>
streaming video - detecting the end of an flv
Posted by Jeff Blume at 5/5/2004 2:32:43 PM
hey all,
i am using flash communication server 1.0 to stream pre-recorded video
segments (.flv files compressed with sorenson squeeze). i need to figure
out a way to accurately detect when the video clip has reached its end.
i've tried playing each clip to completion and watching the netStream.... more >>
visible on duplicated movie clips
Posted by Chris at 5/5/2004 2:20:36 PM
I'm creating a bunch of duplicate movie clips into which I put a single
imported JPG having read the filenames from an XML file ('total' is an
on-screen text box so I can see what's going on):
slidesNodes = this.firstChild;
_root.numberOfSlides = slidesNodes.childNodes.length;
total = "T... more >>
Drag Actionscript
Posted by Rob_jones732000 at 5/5/2004 2:03:15 PM
How could i use the drag actionscript and link it to another .swf but control
how much of the movie it plays. Could i do something like if i dragged an item
halfway down a page it would play so much of the movie but if i drag the item
back up the page it would reverse the movie. And finally wh... more >>
ComboBox still not working when loaded... More info this time....
Posted by brian at 5/5/2004 1:55:19 PM
I have a comboBox in a movie. I am using MX2004 for all my files. When I
export that movie and view it, the comboBox works fine. When I load that
movie into another movie though(loading into a MC not a level), the
combo box is still there, but does not open anymore.
I have the comboBox in t... more >>
gotoandplay then load movie ()
Posted by Shyne2010 at 5/5/2004 12:39:20 PM
is there anyway to program action script in a button to say goToAndPlay (frame) then load a movie or scene im new to action script.... more >>
fixed drop
Posted by g5604 at 5/5/2004 12:38:43 PM
Hi,
anyone know how to drop an dragged object to a target then onces its droped
make it undraggable???
p.s big thank you to all that has helped me recently. thank you for sharing
the wealth.
cheers,
G
... more >>
Text formating with ActionScript
Posted by Kimca at 5/5/2004 12:35:50 PM
Hello,
I have been trying to format a dynamic text field with ActionScript.. I would
like to do a left margin indent of 20 pixels and an indent (of the first line)
of -20 pixels.
If I use the GUI interface for the properties of the text box and click on the
format button to enter -20 f... more >>
attachMovie and prototype a function
Posted by Basement_media at 5/5/2004 11:52:04 AM
Hi,
can somebody explain me in a few sentences the princip of attaching movies and
prototyping functions to them.
I mean, i ve got a button which (onClick) should put a member (for example a
mc) to stage and then attach (="prototype"??) a function to it .
Thanx for help.
Daniel
... more >>
preloader
Posted by cubist_simbo at 5/5/2004 11:44:03 AM
I've created two files. There not very big but the company I'm making the site
for wants a preloader for dial up users. The preloader I've created checks the
percentage that has been loaded and when all is loaded it proceeds to the main
screen. The only trouble is that when it loads the resolu... more >>
can .flas get corrupted?
Posted by jim harris at 5/5/2004 11:41:57 AM
i can't publish from some .flas (MX) hit ctrl-f12, browser launches then
bombs immediately (IE 6.0.2800.1106 flash 7,0,19,0), other .flas are ok,
sometimes .flas are ok on first publish hit refresh then they bomb
these files do lots of .asp calls and loadmovies etc, a movie that doesn't
seems ... more >>
multilingual components
Posted by sschofield123 at 5/5/2004 11:25:47 AM
The help seems to be for creating dynamic multilingual labels. What happens if
I want to have multilingual combos? My users select the language for the
application within the application. Does xml method only pick up from OS? How
do I multilingualise datagrids? At the moment I'm using the colu... more >>
create symbol from AS
Posted by spookman at 5/5/2004 11:15:20 AM
Is there any way I can create a symbol from AS?... more >>
Controling Scrol "Pain" component
Posted by Drat at 5/5/2004 11:09:41 AM
Hello all,
can someone tell me how to have a scrollpane component "reset" it's vertical
Scroll back to the top?
thanks
b²
... more >>
Saving JPEG or BMP from Flash made drawing app
Posted by chouhdry at 5/5/2004 10:19:07 AM
hi all, i've made a simple drawing application in flash which uses, brush n
color fill, to color or draw in a movie clip. now i want to add Save button
there which shud save my made drawing as a jpeg or bmp. is this possible in
flash??
any ideas?? i'll be thankful to u all
thanx
Hassaan... more >>
how to make button invisible....
Posted by jarppi at 5/5/2004 8:58:10 AM
I have 4 buttons on screen (i maded symbol and button) i dont need all the
time those all, so can I use _visible command for buttons too? Or is there some
otherway to hide them.. I also tryed to convert those to movieclip then
_visible works ok... but becouse I have maded button work like thi... more >>
Detect, which MC is under a dragable Object
Posted by Basement_media at 5/5/2004 6:48:40 AM
Hi,
does somebody know, if its possible to put out the name of an object (for
example a MC or a button) which is under a dragable object?
I mean, for example, ive got a number of fixed elements (buttons, mc's, a,s,o)
and one dragable MC.
When i drag the MC over one of these elements,... more >>
fade sound
Posted by robotpanic at 5/5/2004 5:33:50 AM
Hi
I'm having trouble fading out a sound using actionscript. I can fade in no
problem using the following script but I cant work out how to get it to fade
out when it hits frame 500 or whatever on the main timeline. Is it just a
matter of setting a variable? Thanks.
nbs = new Sound();
... more >>
png,gif invisible; jpg, swf fine w/loadMovie
Posted by spookman at 5/5/2004 4:16:12 AM
When I use LoadMovie with png or gif, the image does not show. But I can make
it a jpg or swf, and it works fine. If I import the png into the flash library
and then make an instance of the symbol, it shows up fine. But if I try using
action script and the loadMovie, the image formats with ... more >>
Trace output not working in Flash 2004 Trial
Posted by mtvan at 5/5/2004 3:43:38 AM
Sorry, maybe I'm being really stupid but my trace outputs are not appearing,
e.g.
trace("hello");
does not ouptut "hello" or anything else to the output window. Cannot figure
it out for life of me. I have the latest version of the Flash trial.
... more >>
reading from a txt file?
Posted by She_Elf_ at 5/5/2004 2:57:22 AM
Got a question on using flash to read data values from a text file. Seems
actionscript 1.0 could do it, but when i try to run it in actionscript 2.0, I
get the oh so wonderful "undefined". I assume that either a) the procedure has
changed to do it or b) they took it out completely. To help giv... more >>
Simple load Movie not working
Posted by spookman at 5/5/2004 2:20:31 AM
I have a few lines of code that do not work. Can anyone help me?
In Flash MX, I created a movie symbol and put it on the stage and named it
holder1. Then I wrote action script on this movie instance for an onClipEvent
(load).
onClipEvent (load) {
_root["holder1"].loadMovie( "owl_3... more >>
how so i reload this?
Posted by Hunnie at 5/5/2004 2:04:52 AM
[L=click on the "contact" button for a
visual]http://www.graphicwebs.com/home.html[/L]
I have a button that when pressed, it loads an mc on a different frame.
however, after clicking on this button more than once, it will not reload...
any suggestions?
if you need for me to elaborate... more >>
|