all groups > flash actionscript > september 2004 > threads for wednesday september 29
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
multiple XML files
Posted by mmcd at 9/29/2004 11:56:06 PM
Howdy -
Can I use a wildcard (*.xml) to have Flash take all of the XML files in a
specified folder and combine them to create dynamic menus? At the moment, I'm
loading 1 XML file and using that to create dynamic menus/submenus, etc. But I
need to load multiple XML files, all with the same ... more >>
setInterval alternative
Posted by ONE_MASTERT at 9/29/2004 11:39:51 PM
i am working on a movie that moves a MC one way then when the end of the MC is
shown it waits 3 seconds and moves the other way right now im trying to use
test = setInterval(moveRight, 3000);
but i am having some problems like the clearInterval won't work and the ifs
are getting screwed too... more >>
Is this possible? - move a clip to another level?
Posted by Broabus at 9/29/2004 11:05:38 PM
I have a movie which loads into level 10 that is made up of two clips:
1. The menu, which sits on top.
2. the background image.
I want to preload the whole movie, then once its done loading, send the
background image clip down to level 2 so that I can bring new movies into the
levels b... more >>
Movies that load other movies that load other ...
Posted by Thanehand at 9/29/2004 10:43:08 PM
Given the directory and SWF structure:
\loadermovie.swf
\set1\set1main.swf
\set1\item1.swf
\set1\item2.swf
\set2\set2main.swf
\set2\item1.swf
Where loadermovie.swf loads set1movie.swf which in turn loads item1.swf and
item2.swf.
Is there a way to set a base path (similar ... more >>
setInterval?
Posted by TJMonster51 at 9/29/2004 10:19:39 PM
ok i have amde a counting function to move a MC verticaly. 1st problem im not
getting the setInterval to work with it. its moving to fast.
2nd problem. if i have a mc called "e" and then another one called "foo", how
do i get the "foo" mc to call on the funtion wich is named "counter"?
... more >>
get sound to stop
Posted by viperx116 at 9/29/2004 10:18:26 PM
I'm making a puzzle and it plays a sound when the puzzle is put in the right
place. Howerever, the sound keeps playing when you click on it. I only want it
to play once, how you make it stop?
Here's my script and I attached my fla :
if(bdraggable1){
p1_mc.onPress = function(){
this.... more >>
Reading the current URL from a browser
Posted by Taaroa at 9/29/2004 10:01:58 PM
Without using javascript or any other source except actionscript from the .swf
itself, is it possible to load the current url as a text variable in a movie
contained within the browser?
ie:
A form sends throught the URL something like this :
www.somedomain.com/mywebpage.htmll?var1=som... more >>
Disabling Windows Default Hotkeys
Posted by samuelfuller at 9/29/2004 9:49:16 PM
I am writing a program that will be using some of the Windows XP default
hotkeys. How can I use Actionscript to disable these keys while the program is
running, then re-enable them after I have closed out the program?
Thanks,
Sam
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Stopping a Movie Clip when it hits variable...
Posted by Happy Camper at 9/29/2004 9:11:09 PM
I know how to stop a movie clip where it's playing... but here's my scenario:
The movie clip "argon_mc1" has a looping "atom" inside. It loops for a while.
When the user clicks the button on the _root it goes to a new frame in
"atoms_mc", where "argon_mc"s are already looping away in thei... more >>
TextInput border margin
Posted by jshearer at 9/29/2004 8:37:34 PM
I have a instance of the TextInput component that is 18pixels tall using Arial
and fontSize is 12 - the bottom of the font is cut off. I know I can set the
border to none and this will take care of the font being cut off but then I
have no border. Is there a way to change either the margin a... more >>
button stays in down position after pressed
Posted by joesighting at 9/29/2004 8:26:00 PM
I am trying to create buttons that stay in the down state after being selected. Does anyone know a good way to do that?... more >>
load external swf possibility?
Posted by brian_z at 9/29/2004 6:53:10 PM
I understand how to load external swfs using the loadMovie script. I am just
looking to see if what I want to do is possible. I have a demo that is broken
into 7 different swf files and each one gets called by the previous swf. The
problem is that they are all 5 megs or more and the preload... more >>
Pause Sound
Posted by loka at 9/29/2004 6:11:01 PM
I have a pause button in my movie and when you click it the movie stops
playing. I want to be able to pause the sound when this button is clicked and
it to start back up right where it stopped when the play button is pressed? How
do I do this?
Help?
... more >>
Preloader Recommendations
Posted by loki_mdog at 9/29/2004 6:09:14 PM
I'm pretty new to flash but am a programmer by trade.
I'm looking for folks recommendations for components, classes (preferrably AS
2 friendly), etc that you flash experts use to preload your content (images,
sounds, xml).
I'm thinking of using it so that I have an XML doc (or array) wit... more >>
GotoandPlay within a _mc
Posted by MarcBosscher at 9/29/2004 5:43:27 PM
I have a timeline with a stop action on frame 3.
Frame three has a movie clip symbol.
upon completion of this movie clip there is a "click to proceed" button
On release it should go to frame 4 of the main timeline.
i am mental jell-o today, i've done this many times but for the life of me... more >>
GotoandPlay within a _mc
Posted by MarcBosscher at 9/29/2004 5:43:25 PM
I have a timeline with a stop action on frame 3.
Frame three has a movie clip symbol.
upon completion of this movie clip there is a "click to proceed" button
On release it should go to frame 4 of the main timeline.
i am mental jell-o today, i've done this many times but for the life of me... more >>
I have problems with loadMovie
Posted by nolikethem at 9/29/2004 5:21:25 PM
Hi,
I need the Force help...
I have Flash MX 2004 Professional with the last update and I have windows XP.
This is my problem. When I used loadMovie to load a pic or *.swf the flash
non-recognize the url. For exemple, my code:
loadMovieNum("http:\\www.gothicfender.culodejacobo.com\nov... more >>
Random flv files
Posted by damonhan at 9/29/2004 5:21:04 PM
OK I have one MediaDisplay component on the stage that I want to randomly load
and play a video file from my video folder. I've looked around MM site and in
the forums and didn't see anything on this. Any ideas? Thanks.
... more >>
control external movies?
Posted by FreaksArise at 9/29/2004 5:12:44 PM
I've been developing a pretty intense structure for an interactive demo. Many
paths, tracking devices (to control mc not users), levels, etc. Now the client
informs me that they want to have html content which will require framesets and
my flash movie to be split into modules and used within t... more >>
Array problem
Posted by h.w at 9/29/2004 4:59:22 PM
I have searched the web and the help to find a solution on this, but I still
can't figure out how to solve this... Looks simple, but not for me...
When I press the button I want "product_no" to be stored in order[1], order[2]
a.s.o
on (release) {
order = new Array();
order[n] = pro... more >>
sending from Flash to ASP
Posted by afroma_n at 9/29/2004 4:58:19 PM
Hi. I want to send from Flash to ASP and I have the next code :
--------------------------------------------------------------------------------
----
FLASH
escucha = new Object();
escucha.change = function(){
temp = "toma" // toma = text introduction to send to ASP
loadVa... more >>
Cookies and shared objects
Posted by lagiant at 9/29/2004 4:45:22 PM
I am creating a CD-ROM. I need to make it so that the user can come back to
where they were before in the .swf if they leave the program. Several people
have suggested shared objects, but I can't find a good demo that shows me how
to place it in. I found the code below, but not sure if it w... more >>
Elasticity with AS2.0
Posted by Catungo at 9/29/2004 4:43:05 PM
Hi, im a new actionscripter and im trying to understand this subject of elasticity, how can i make things move with elasticity?...
can anyone help me?
i will apriciate any help...
thnx... more >>
Bug? Instance variable behaving like Class variable
Posted by jonck NO[at]SPAM vanderkogel.net at 9/29/2004 4:36:24 PM
Hi everybody,
I'm pretty new to ActionScript, so perhaps it's a well known problem
I'm having, but I'm stumped.
To illustrate the problem I figured it would be easiest if I could
reproduce the unwanted behavior in a small sample case. Therefore I
created the class Sample:
class Sample {
... more >>
script request
Posted by XCanuckerX at 9/29/2004 4:29:09 PM
I was wondering if anyone can help me out with script for a button and
checkbox, when the checkbox is checked the button will link to one page, and
when left unchecked the same button will link to another page. Any help, hints
and tips would be greatly appreciated!
... more >>
Minor actionscript alteration
Posted by Goalie35 at 9/29/2004 2:59:33 PM
Hi guys.
I'm rather inexperienced when it comes to flash and know very little
actionscript however I was handed a flash website template and I needed to make
some minor alterations to it. All I needed to do was change the text on the
links and add a few additional text links. I was able to... more >>
loadMovie no longer working
Posted by Jonnomoose at 9/29/2004 2:55:11 PM
I need some help.
I had made a nice little slideshow where it would load the pictures into a
symbol making the swf nice and small for the web. (here is an example
http://climbingmonkey.com/2004memorialwknd/2004_memorialdaywknd.htm ) However,
now when I try to do the same thing I get eith... more >>
String Replace?
Posted by Thody at 9/29/2004 2:40:07 PM
I can only assume I'm missing something obvious, but I can't seem to find a
string replace function in actionscript. I must be missing it somewhere in the
documentation because I can't find any threads of others asking about this.
Basically I'm looking for a function like the PHP function
... more >>
Scroll pane slow when loading on page
Posted by mistainfa at 9/29/2004 2:25:39 PM
I have flash mx 2004, how do I add a prelader to the scrollpane, I'm having a
problem. the content takes to long
to load at times, and it's text with 1 or 2 images the scroll page itself
weights only 3k. so I'm thinking it's the scrollpane.
if ther is a solution to this issue I need one a... more >>
conflict between onPress and scroll
Posted by dave66 at 9/29/2004 2:22:13 PM
I am using an onPress event handler to enable dragging a TextArea v2 component
around the stage. It looks simple:
myTextArea.onPress = function () {
myTextArea.startDrag();
}
The problem is, the onPress event apparently "eats" the scroll event for the
TextArea itself, with the resu... more >>
Problem with setInterval in AS2.0
Posted by Jim Red at 9/29/2004 2:02:18 PM
Hello everyone
I have an AS 2.0 setInterval problem.
------ File com/motionarts/MASlider.as ------
class com.motionarts.MASlider
{
public var vThread:Number;
function MASlider()
{
}
function funcSlide():Void
{
this.vThread = setInterval(this... more >>
Actionscript for forms
Posted by brownd92 at 9/29/2004 1:34:30 PM
Hi there all!
I am new to the whole "Screens" apporach to programming with Flash and Im
having a few problems.
If I put this into the first frame of a normal app (not using forms):
var myMenuBar:mx.controls.MenuBar;
var myMenu:mx.controls.Menu;
var mnuFile:mx.controls.Menu = mn... more >>
Urgent - help referencing dynamcially attached mc
Posted by loop360 at 9/29/2004 12:14:04 PM
I am having problems referencing a dynamically attached mc as follows...
var libraryMC = "myPane";
var container = _root.myPaneContents;
var newInstanceRef= libraryMC + "Item_mc"; //returns "myPaneItem_mc"
var newObjectCount = objectCount (container); //returns number of mc's in
containe... more >>
How to get filename from Movie Clip?
Posted by h.w at 9/29/2004 10:53:05 AM
Ciao Amigos!
I load a random number of images into 100 Movie Clips. The user can choose 5
images and then mail them.
My problem is that I can't figure out how to get the filename loaded into the
Movie Clip (or how to mail the images)!!!
regards
H?kan W
... more >>
Pointers or References in ActionScript
Posted by Blade alSlayer at 9/29/2004 9:06:41 AM
Is there a way to make a variable act as a pointer(*) or reference (&) to another varible/object, like in C/C++ etc.?... more >>
WordWrap in MultiLineCell.as not working right
Posted by databell at 9/29/2004 7:04:26 AM
I've got a Data Grid which uses the MultiLineCell.as file for a CellRenderer
and no matter what it only presents the code as one line. It should be multiple
lines that wrap and they don't. I've got the example from the LiveDocs for you
to look at so where did I go wrong or did I go wrong at al... more >>
HELP with : _name property
Posted by Ashish123 at 9/29/2004 6:53:41 AM
Hi,
I am using Flash MX 2004, Falsh Player 7 and AS version is 2.0
I want to get my buttons instance name when clicked on it, how do get that.
Script written on my button:
on(release) {
trace(this._name) //my alert window displays blank :sure:
};
Any idea y i am not getti... more >>
Loading text into flash error
Posted by Denver Designer at 9/29/2004 6:09:06 AM
**Error** Scene=loading, layer=Layer 25, frame=1:Line 1: Clip events are
permitted only for movie clip instances
onClipEvent (loadText = new LoadVars();
**Error** Scene=loading, layer=Layer 25, frame=1:Line 4: Unexpected ')'
encountered
title.text = this.titletext;) {
**E... more >>
Resizing swf clip within a movieclip?
Posted by Toyemann at 9/29/2004 6:05:16 AM
I'm trying to load and fit a swf movie within another movie clip.
Some swf movies do not fit properly.
The Width and the Height are litle larger than the VIEWABLE AREA.
For example:
I have a PARENT movie clip which is 400 x 300.
I have a CHILD movie clip which is 600 x 400 and working ... more >>
Pausing/Stopping Play
Posted by Grizmeister at 9/29/2004 4:57:11 AM
I'm designing a presentation in Flash Professional MX - nothing fancy, just
using scenes and basic transitions. However the person delivering the
presentation wants to be able to pause/play the scenes at any time with a
simple mouse click.
Is this possible? There are no buttons or movie cl... more >>
Making color change clickable
Posted by Figure2 at 9/29/2004 4:14:00 AM
This is a visual aid of what I am trying to accomplish:
http://www.hannon-illustration.com[
... more >>
LoadVars.load not triggering onLoad
Posted by TrioRocks.com at 9/29/2004 3:33:29 AM
According to the debugger, my LoadVars variable is being loaded when I invoke
the load() method. However, my onLoad event handler is not being triggered.
It's like the load() method doesn't know that the data has finished. What
would cause this? Here's the code:
var newsContents:LoadVa... more >>
Call a function inside a component
Posted by KreeK at 9/29/2004 2:35:41 AM
I've found many tutorials on components broadcasting/dispatching events to
listeners, but I want to do the reverse I want to call functions inside my
custom component and have it update based on outside variables. I have a public
function inside my component's class file shouldn't I be able to... more >>
useHandCursor = true;
Posted by xcoldnet at 9/29/2004 1:40:50 AM
I am using useHandCursor as I want the classic hand to be displayed while the
mouse is over a movieclip.
...it does not works.
I am tring with a simple test using a button.
the actioscript code is:
my_btn.useHandCursor = true;
i test the application and when the mouse is ov... more >>
How is this effect created...?
Posted by Spindrift at 9/29/2004 1:01:59 AM
Hi all,
Thank you for reading this...
How could I create the effect that is on the home section of this Flash
website:
http://www.3dcom.co.uk/index2.htm
The bit I want to do is the photo of the buildings and the river that changes
state as the mouse hovers over it.
Thank you ... more >>
AS 1.0 + Video: Progressive Download
Posted by brainiac_7 at 9/29/2004 12:27:28 AM
I'm new to Flash video. I have to crank out a static site for a videographer.
We'd like to offer aprox. 1 minute/1 MB size video previews on the site. Short
of a streaming server (too expensive), Flash 7's progressive download option is
the next desirable, with Flash 6 player's wait-for-entire... more >>
::aScripting::
Posted by StargrrlGrafx at 9/29/2004 12:03:55 AM
Script Help
--------------------------------------------------------------------------------
This should be easy to do.
I have a movie which loads thumnails using actionscript:
http://www.amydawnelle.com/fitzgerald.htm
What I need to do is have an image appear initially and th... more >>
|