all groups > flash actionscript > october 2004 > threads for thursday october 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 31
Play & Stop With the same Button
Posted by Pazsion at 10/7/2004 11:11:53 PM
Hellow friend!
How could i make that the same button change the action from play to stop the movie and viceversa with every click?... more >>
Resposnse to sendAndLoad(...) is very slow
Posted by drtog at 10/7/2004 10:14:36 PM
Hi,
I have created a very large Flash system that is giving some issues. The
problem has to do with response time. Here is what is going on
1) Make a request ot the server for a list of images using sendAndLoad(...)
2) When the list comes back we created a movie clip for each image. The im... more >>
<! JSFL query
Posted by wainui at 10/7/2004 10:08:41 PM
Hi!
I am just looking into the JSFL api fo rthe first time and finding it hard to
get a handle on it..
Basically for my first sample I want to be able to get an array of all
elements on the stage and change the stroke of that object to .5 .. this is
what I have got so far but it doesn'... more >>
Movie clip Problems
Posted by tmccowin at 10/7/2004 9:19:06 PM
Hi I am working on a very simple movie to randomize pictures embedded inside a
movie clip. I have written AcionScript code, but I can not get my pictures to
randomize as I had intended. I have tinkered with the code in various ways and
have only been able to get one or two pictures to display.... more >>
Unable to target a MC
Posted by bhouse02 at 10/7/2004 9:14:04 PM
Hello all,
I seem to be having a problem targeting a movie clip just one layer deep from
the root from a button that is in a seperate clip .. 3 layers deep. I've tested
it to make sure that the syntax is correct and it works fine targeting the
_root. I simply want to change the frames. Thi... more >>
loading an image using a url ???
Posted by dmk2gti at 10/7/2004 8:12:38 PM
does anyone know how i could create maybe an invisible movie or something like
that, that would load a picture using a url.
i have a gallery of images at photobucket.com and i wanted to be able to load
an image into a flash site i made without having to put it in the flash movie.
any ideas... more >>
help-- calling functions from external javascript
Posted by Wendy Bardsley at 10/7/2004 8:00:10 PM
Hello,
I'm using mx2004, publishing in flash 6.
I'm accessing an external script that I can't modify -- it has a function that
opens a window and populates it with content.
(script src is loaded in the head of the html doc that loads the flash movie)
When I call the script from a regular... more >>
Using txt Files From Folder
Posted by jthereliable at 10/7/2004 7:51:07 PM
My question is that is it possible to upload a .txt file into flash and then
put what it says into a dynamic text or something.
Reason why I want to do this is because it will help make updating a site alot
easier and I don't have to keep going back and forth inside Flash.
Thanks in adva... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
email form
Posted by JPI at 10/7/2004 7:46:35 PM
I have a perl script to process an html email form, and it works splendidly.
Now I have tried to create the form in Flash, and send all the data from the
form using:
formName.loadVariables("http://url.of.script", "POST");
The result is, I get a security warning from Flash, and I rece... more >>
Drawing API -- different colored lines
Posted by eljefeloco101 at 10/7/2004 7:12:47 PM
Hi, I'm using the Drawing API to draw lines from point to point. I'd like to
change the color of the line from circle1 to circle2 to 0x00BBEE, while keeping
the others 0xFF3300. Any ideas on how to make this happen?
_root.createEmptyMovieClip("drawing", 1);
_root.onEnterFrame = function(... more >>
accessing dynamically loaded jpgs in a movie clip
Posted by agerdes at 10/7/2004 6:57:29 PM
I am trying to make an Infinite menu that is completely built on the fly using
dynamically loaded jpgs. I start out by creating 2 empty movie clips that will
then house the individual movie clips that each jpg is loaded into. I need to
be able to click on the jpg to access an onRelease functi... more >>
pulling the lever
Posted by The 350Z at 10/7/2004 6:29:29 PM
Hi
I'm trying to solve the logic problem here, but it's kinda tough.
Here's my problem.. when I click on a_btn, clip will move to the right and
stop after 50. pixels
a_btn is also a trigger to make this lever (rot), going from 45 degree and
back to its normal state, so that when you clic... more >>
Text Link To Frame Label
Posted by Jeff Friedman at 10/7/2004 6:11:47 PM
How do I select text within a graphic symbol and create a hyperlink to a
FRAME LABEL within the same .fla file?
... more >>
Changing State of Navbar buttons in movieclip
Posted by Jeff Friedman at 10/7/2004 6:10:04 PM
I have a navigation bar with buttons as part of a movie clip. I want to
change the rollover state on the button corresponding to the current page to
indicate where the user is on the site.
I can't change the button state for a particular instance of the
MOVIECLIP...only for the whole movieclip... more >>
Enumerating/Extracting XML Attributes
Posted by stillcrazyafteryears at 10/7/2004 6:08:23 PM
Hi I have a problem with a certain XML problem that should be easily done,
however, I think flash may have forgotten to provide a function for this.
Basically I have loaded an XML file into a series of nodes. Each type of node
has its own set of attributes.
MainNode.attributes.title = "s... more >>
LOADING MORE THAN ONE SWFs IN A SCROLLPANE
Posted by FlashyMC at 10/7/2004 6:06:49 PM
Hi there!
I have a scrollpane that loads several different movie clips, depending on
what button I select.
I was wondering if the Scrollpane can load a SWF instead?
...here is the code for the buttons to load a movieclip:
on(release){
_root.attachMovie("big03", "screen",1);
_root.s... more >>
local / global coordinates again?
Posted by FreaksArise at 10/7/2004 6:01:20 PM
(I searched in all the other posts prior to posting)
I have a 100x100 pixel square.
I placed an OnEvent script on this square:
-------------------------
onClipEvent (mouseMove) {
//find mc top left corner
mcx = this._x;
mcy = this._y;
//find width and height of mc
mc... more >>
TextArea component + newline
Posted by keyriest at 10/7/2004 5:58:24 PM
No matter what I've tried, I can't seem to insert carriage returns/line breaks in the TextArea component (2.0). Sure this is an easy thing to do, any thoughts?
thx.
-c... more >>
delaying the _alpha
Posted by flashuser79 at 10/7/2004 5:42:10 PM
Hi Guys...
I was wondering if anyone could help...
Im using this code to face my movieclip, but I'd like the effect for it to
fade to 10, but only after 7 seconds have passed...
this._parent.corporatetext_mc._alpha = 10;
does anyone know how to achieve this?
Thanks in advance!
... more >>
Listener not picking up end of video
Posted by bcmDoug at 10/7/2004 4:22:37 PM
I am encountering a problem with my listener not picking up "playing = false"
when my video is over. I am having a video play then, when the video is over, I
want a "next" button to appear. My listener is paying attention during the
playback of the video and returning TRUE but once the video i... more >>
can't assign function to Movieclip made w/ script
Posted by nickname-taken at 10/7/2004 3:14:36 PM
I would like the four movie clips I created with this code to have onRelease
actions, but how it is now, they don't even turn into the "buttons" like they
should.
Also, I was wondering why I cannot access the movie clips after I have created
them. for example, tracing _root.array4._alpha ... more >>
Please help with fscommand exec
Posted by LH at 10/7/2004 2:31:46 PM
Anyone know the syntax for addressing an application in a subfolder of fscommand folder
this doesn't seem to work...
fscommand ("exec","/test/application.exe")
... more >>
hitTest help
Posted by The flash God at 10/7/2004 2:12:19 PM
Hi!
I have a mc who can hitTest several other mc on the stage. I don't want to
loop all the mc on the stage to know wich one i hit and I don't want to enter a
condition on all my mc either.
I really wonder if there is a way to know wich movie collision with my mc.
something like:
... more >>
Open and Closing a Menu
Posted by Justdusk at 10/7/2004 2:05:14 PM
All I want to do is close one button movieclip when I open another button
movieclip. I have a menu of twelve buttons. How do I reference a frame in one
button in order to close that button when I open another button. I assume it is
a if statement but I am having trouble referencing the specifi... more >>
ComboBox not sending correct value to ASP
Posted by Tim Robertson at 10/7/2004 2:05:08 PM
Hi there, I think I am not understanding something..
I have a form type page in flash with comboboxs and textfields.
When I send the values to my ASP page, it is reading the textfields values
no problem, but it only reads my combo box value as: _level0.uni rather
than the choosen value.
... more >>
Problem
Posted by ginoxl at 10/7/2004 1:25:57 PM
I am developing a travel website where there are 9 destination cities. I have
created, in essence 9 separate swf's (1 for each destination). As the visitor
selects the destination city, they are prompted to select their departure city,
which in turn creates a varible entitled "dep_c" (represen... more >>
Navigational challenge with modular movies
Posted by Screenweasel at 10/7/2004 1:25:55 PM
All right.
Let's say you have 6 different movies that are meant to operate in a series,
but the sequence of movies is always different. So while the movies can be
strung together in a 1-2-3-4-5-6 sequence, they can also be 3-6-1-5-2-4 or
anything, really. The sequence is based on certain f... more >>
GetUrl - On a frame though, not on button?
Posted by digitaldaz at 10/7/2004 12:44:58 PM
Can anyone please help me !
I'm new to flash and need to know what the script is i need to add to a
'FRAME' to jump to another URL when the movie finishes playing !
I'm using Flash mx 2004 Pro and its a nightmare becuase they have stripped out
all the 'pre-written' scripts that you used ... more >>
Label: Click Event
Posted by WebNewsReader at 10/7/2004 12:02:17 PM
Hi!
First of all i very new in this.
I'm trying do have a simple menu with 2 labels that change their content on
load based on this simple code:
onEnterFrame = function () {
var actualdate:Date = new Date();
var actualyear:Number = actualdate.getFullYear();
label1.... more >>
measuring the area
Posted by e_jogendra at 10/7/2004 11:51:27 AM
Hi everybody!!
Could i measure the dynamically drawn area. I think every body face same kind of situation.
Thanks
JNS... more >>
dynamic masking problem
Posted by e_jogendra at 10/7/2004 11:30:04 AM
Hi everybody!
I am developing a scratching game. In which user have to scratch the icon. For
this, i have drawn a box dynamically and mask it to the icon image. But problem
is how can i judge the perticular icon has been scratched. Is there any
solution? I think there is a way but i dont k... more >>
printJob with nested screens
Posted by PaulPhon at 10/7/2004 10:57:29 AM
I am trying to use the printJob commands to print multiple screens from a slide
presentation in Flash MX 2004 Pro. I've gotten it to work properly in most
cases, but I have a problem with graphics and text that are on nested screens.
For example, if I use the command "my_pj.addPage(_root.prese... more >>
Preloading Images
Posted by Ashish123 at 10/7/2004 10:24:16 AM
Hi,
I am making students photo id card for a School. Suppose in the given space I
can display 4 students card in a proper format, of which they will take a print
out and can use it.
Lets say there are total 50 students then there will be pagination (50/4=13
pages)
with next and back ... more >>
about flash
Posted by p010 at 10/7/2004 9:35:29 AM
In Flash I create one Dynamic text. I want to animate that with rotation. Is it posible or not if posible tell me the how?... more >>
External text files
Posted by g5604 at 10/7/2004 8:31:30 AM
Hi,
is it possible to export frame lables to store in a text file on a local machine then call that text file up to jump to that saved lable?
cheers,
Gareth ... more >>
ActionScript Help: Stop Music
Posted by FlashMXDood at 10/7/2004 4:59:09 AM
Hello,
OK...Got One Scene with 2 buttons: Play and Stop: MP3 is about 3100
frames...these are all in different layers and on Frame 1: Actions, Play, Stop,
Song.
however, I placed the mp3 (Song) on frame 25, hence, my action script for the
"Play button" is
on(release){
gotoAndPla... more >>
ActionScript not working (at all)
Posted by ScottishCaptain at 10/7/2004 3:44:54 AM
Greetings to all!
I'm working on a Flash presentation. Here are the details, I was hoping
someone might be able to help me out. I'm fairly new to Flash MX, but I think
I'm doing everything right, although, it isn't working at all so I must be
doing something wrong. Here is what I've done o... more >>
my bytecode limit
Posted by Cordell Rozenburg at 10/7/2004 2:56:29 AM
???**Warning** The class definition for 'myLibrary' exceeds the bytecode limit
of 32,767K. Please extract some functionality into other classes or risk
unexpected behavior at runtime.
Can't store it as XML, b/c the XML has to be formatted as Javascript. Can't
store it as HEX b/c the string... more >>
help with loadmovie and levels
Posted by Human Bean at 10/7/2004 2:16:26 AM
I have a main movie with a "home" scene, that has a number of buttons. This
button have an animation, thay fade in diferent shades of gray. When you are
over them the others turn light gray and the button selected turns red.
I tried different ways of doing this, and the only way to do it is ... more >>
Button links using getURL won't work
Posted by HooHaster at 10/7/2004 1:33:58 AM
I can't quite figure out why it won't work.
I have a flash animation nav menu with six buttons. Each button has Up, Over,
and Hit defined, with the hit as a perfect outline of the button. The
actionscript for each button reads:
on (release) {
getURL("home.htm", "_self");
}
Wha... more >>
buttons using movie clips
Posted by JF213 at 10/7/2004 1:19:10 AM
I am more fimiliar with director then flash so forgive me.
I am trying to create buttons using different movie clips rather then using
the button clip inside of flash. I created a movie clip for the normal state,
over state, down state, "once another button is clicked state". I am doing ... more >>
control embedded movie with buttons
Posted by BigDaddy at 10/7/2004 1:15:18 AM
Hi
I'm trying to use a button to resize an embedded movie file. I found
something that said to use the
'instance name.height' and 'instance.width'. I've tried to use '= 1024'-
didn't work. I've tried '.768'- didn't work.
Is it possible?
Any help you can offer will be appreciated.
... more >>
Move then stop the ball every 25pixels
Posted by The 350Z at 10/7/2004 1:01:48 AM
Hi
can somebody help me, Im working on a school project and Im stuckd.
the idea is to have this ball moves after you click on a button, then it will
stop moving after it has moved 25 pixels to the right, and when you click on
that button again, it will move again, and will stop after movin... more >>
Rotating dynamic text fields
Posted by MGladstone at 10/7/2004 12:45:14 AM
I'm making a wheel like on Wheel of Fortune. I made the tick marks around the
outside edge by making an MC with a tick mark at each side (width of the wheel)
then dynamically copying and pasting it x amount of times around the wheel.
This looks fine and rotates properly. However, I added a dyn... more >>
Can I start a loaded movie at a particular frame?
Posted by Triynko at 10/7/2004 12:37:16 AM
I am loading a flash movie using a MovieClipLoader object.
Assume all frames of this loaded movie have actionscript on them, and I cannot
modify the movie.
I need to send the loaded movie to a particular frame, before ANY actionscript
on frame 1 of the loaded movie is executed.
The Mov... more >>
|