all groups > flash actionscript > november 2004 > threads for wednesday november 24
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
MX2004 Search/Replace?
Posted by bloomk at 11/24/2004 11:22:24 PM
I am currently using MX 2003 (version 6) and i have a video game project that i
would like to convert to 7.0.... problem is.. 7.0 actionscript is case
sensitive. I know this will make the conversion dificult. My question is, does
7.0 (MX 2004) have a global action script search and replace fea... more >>
preloader/event manager related
Posted by vince_p at 11/24/2004 10:44:43 PM
I am trying to build a preloader but there is something wrong in my code. I
have a button (preLoad_btn) on the main Timeline on which there is a function
for loading a swf and calculating the preloading process. The function loads
the swf but the preloading process doesn't work. Instead of thi... more >>
Tree list that is read from directory
Posted by brunswickit at 11/24/2004 9:40:02 PM
I am looking for a way to display a directory tree with out using XML. I would
like the tree component to display all the files and directories located in a
directory with out creating an XML file. I post PDF files to the web every day
and I do not want to create an XML file every time and I... more >>
Infinate scroller, buttons dont work
Posted by kiltster at 11/24/2004 9:12:29 PM
I have used this bit of code for a infinate image scroller and it it works well
but now the buttons within the scroller mc don't work!! can any one help?
xcenter = 336;
speed = 5/100;
mc.onRollOver = function(){
mc.onEnterFrame = function(){
trace(mc._x);
... more >>
Godd MediaDisplay Component Tutorial?
Posted by Wolli World at 11/24/2004 9:04:00 PM
Does anyone know where you I can find a good tutorial that describes how to use
the MediaDisplay component WITHOUT the controller. I have to create my own
replay, prev, and next buttons, and I also have cuepoints that fire during the
video. Everything works great until I try to replay or go... more >>
Creating a file from SWF file
Posted by Saritha Pandey at 11/24/2004 8:07:26 PM
Hello all,
Can any one help me in creating a file dynamically from a swf file.
To be more clear I have create file button on my screen When the user gives
the name of the file in the text box and presses the create file button he
should be able create file in the filesystem.
Is this possib... more >>
Copy Object contents to LoadVars
Posted by Philip Bulley at 11/24/2004 7:51:38 PM
Hi,
Anyone know of an easy way to copy the vars inside an object created with "foo
= new Object();" into a LoadVars object.
ie:
foo = new Object();
myVars = new LoadVars();
i want to copy:
foo.hello
into myVars, to create:
myVars.hello
BUT: I don't want to alter the ... more >>
Play and Pause Video scripts
Posted by cmbs_finest at 11/24/2004 6:42:23 PM
I'm trying to get a script of mine to work. What I'm trying to acheive is to
have a pause and play button to control a movie clip.
This is what I have and I keep getting errors, more specifically syntax errors.
Here is the basics: Movie Clip instance name is 75video, play button instance... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP: KeyPad in Flash?
Posted by Tim Dixon at 11/24/2004 6:23:40 PM
Hi all,
I am developing a simple touchscreen application which requires the user to
input a room size (length and width)
There are 2 dynamic text boxes on the screen with variable names, 'len' and
'wid'
since the touch screen is to have NO keyboard at all, I was wondering, is
there a wa... more >>
Protect code
Posted by Yan at 11/24/2004 6:22:33 PM
Is there some code lines to protect a flash movie (version Mx) from
decompiler?
Thank you
... more >>
MM's own example Array.POP() errors out
Posted by eSpeed at 11/24/2004 6:10:29 PM
I was splitting a string into an array and using pop() to get the string items
in the newly created array. When compiled I got a Type Mismatch error which I
couldn't understand or correct. So I checked the example in the Flash Help
documentation. It looked exactly the same as mine in principal... more >>
String to MovieClip data type
Posted by jatinanand at 11/24/2004 4:09:35 PM
Hi there, I am getting one string from a list box and trying to handle a
movie clip with the same value of that string. Let me explain in a better way,
see i have created one message box component where user can select message box
type from the list box given in properties window of that... more >>
Re: Looping FLV
Posted by Rothrock at 11/24/2004 3:46:16 PM
Here is what I'm doing. I instantiate the media controller in the pause
position. I also set the autoplay to off. Additionally I have the controller
hidden. I create a set interval to check the percent loaded (using bytesTotal
and bytesLoaded). After I get to a specific percentage (10, 20, wha... more >>
how to inlcude & character in the url path of .AS file
Posted by flashnewbie114 at 11/24/2004 3:37:06 PM
how to inlcude & character in the url path of .AS file... more >>
wait
Posted by sandra.guerra at 11/24/2004 3:30:36 PM
I work with macromedia flash 5.
I need to wait for some seconds in a clip: does this function exist?
thanks
sandra... more >>
Shared Object - Appending/deleting data
Posted by Teji at 11/24/2004 3:23:55 PM
hi i want to append new record in my shared object.. and similarly how can i
delete a particular record from the shared object for example
================= NAME AGE ================== ABC 23 DEF 50 GHI
30 Can we append new data after GHI ?? and simililarty how can i ... more >>
Flash Load Movie not working in VB.NET
Posted by Aberon at 11/24/2004 2:54:22 PM
I have a movie that has 2 buttons. when you click the button, it should load
another movie.....pretty simple, and it works when I test it in Flash.
BUT....when I put the object in VB.NET....it shows the two buttons, and does
nothing else. no error...doesn't show movie, nothing.
Can some... more >>
Re: Looping FLV
Posted by Rothrock at 11/24/2004 2:25:16 PM
I forgot to mention that for many people the complete event doesn't work. It
seems to relate to what software you use to create your FLV. In those cases it
is a lot more complicated. I have suggested that you use the totalTime to find
the length. Then set a cuePoint at a half second or so befo... more >>
keypress sound toggle
Posted by janst at 11/24/2004 1:50:23 PM
Hi,
I am trying to make a keypress toggle sound on and off. I need to do it all in
one frame. (or by calling a multiframed attached movie clip???)...
This is what I am working with...
ambient_wave is a movie in the library (linkage identifier also called
ambient_wave):
actions on... more >>
Animated Tentacles
Posted by Nashimiron23 at 11/24/2004 1:32:40 PM
As stated above, I am trying to create an effect with wriggling tentacles like an octopus would have. Any suggestions?:evil;... more >>
array
Posted by suha at 11/24/2004 12:13:41 PM
I have five main headers. Header 1 has 3 bullet points. Header 2 to header 5
contains four bullet points each. This illustrated in the script as follows:
var i=0; messages = new Array( //first occurance new Array('header1',
'header1 first bullet point'), new Array('header2', 'header2... more >>
Button Acting Very Strangely
Posted by mattbailey at 11/24/2004 11:45:12 AM
I have 4 scenes and on each scene is a row of 4 buttons with the following
actions: on (release) { gotoAndPlay('scene 1', 1); } on (release) {
gotoAndPlay('scene 2', 1); } etc... When you click on the buttons something
very strange happens. If you click the 'scene 1' button once it goes ... more >>
Problems with loadClip()
Posted by antewik at 11/24/2004 10:43:05 AM
Hi. I am making a flash-file that should load jpg-files into a couple of new
empty MovieClips. I use 'myListener.onLoadInit = function ()', to set their
size and place on the screen. The problem is that the jpg-pictures appear on
the screen in their original size for a quick moment before it ... more >>
passing variables through geturl
Posted by sideburn at 11/24/2004 9:56:56 AM
Hi.. I have a flash file that dynamically sets a variable name for a url to
load but I am not sure how to pass it through a geturl.
Example:
test = "popup_window.html";
getURL("JavaScript:launchwin(test,'popup')");
i tried eval (test) and [test] but no luck.
anyone know the sol... more >>
Preload FLV files
Posted by borbolla at 11/24/2004 9:50:32 AM
Hi,
I know this must be a very common question, but how can I preload a FLV from a SWF file ?
Thanks... more >>
Detect Mouse leaving swf stage area
Posted by speedlab1 at 11/24/2004 8:43:13 AM
is there a way to detect when the mouse leaves the swf stage area in a browser?
as an example, if i were to mouse outside of the display window up to the URL
bar or just mouse off of the browser in it's entirety.
... more >>
protecting xml
Posted by Ian.S at 11/24/2004 7:17:31 AM
Does anyone know a way to protect XML documents when delivering flash content
on CD? Is there an encryption method that flash can decrypt or anything
similar? Can the xml be embedded in the projector in some way?
... more >>
variables in a text file
Posted by sideburn at 11/24/2004 6:38:11 AM
I have a text file... say vars.txt and I want 2 sets of variables in it like
this:
linksSetOne=;track1.html;track2.html;track3.html;track4.html;track5.html;track6.
html;track7.html;track8.html;track9.html;track10.html;track11.html;track12.html;
track13.html;
linksSetTwo=;track1.html;... more >>
Bug in EventDispatcher.as
Posted by rothlink at 11/24/2004 5:18:57 AM
Where should Actionscript bug reports be sent?
I'm using an external Actionscript 2.0 compiler that is more strict that the
built-in MM compiler which fails on line 48 of EventDispatcher.as. If a
Macromedia Actionscript engineer reviews this forum, please revise line 48 to
the following:
... more >>
Dynamically creating text fields within a function
Posted by djsodom at 11/24/2004 4:04:06 AM
Here is an overview. I want to open an XML file and then based on the number of
nodes, create a input text field and label for each node. My problem is I can't
get the text fields to create. The XML loads fine. I can create text fields
outside of a function, but I want it to be dynamic.
H... more >>
Actionscripts in "slide presentation"
Posted by lancelott at 11/24/2004 3:44:56 AM
I got some problem on controlling actionscripts in 'slide presentation'. For
example, if you have a 10-slide presentation, and you have some actionscripts
on slide-3. the strange thing is, when you open the presention, even if it's
still on slide-1, the code on slide-3 have already been execut... more >>
looping my banner
Posted by meiko at 11/24/2004 3:38:50 AM
I have a banner with two scenes. I would like to loop through the banner twice.
Besides copying and pasting my frames of both scenes and putting a stop at the
end of those, is there a way to just have the two scenes and at the end of them
that has an action that will goto and play the beginnin... more >>
BG change script
Posted by Alph Tech / STUART at 11/24/2004 2:07:52 AM
Hi, I'm using a Flash trial and have an extremely limited grasp of what I'm
doing, so keep that in mind.
What I'm trying to do is, on a basic level, change the background picture of
my game by pressing a button.
>How I've planned to do this is I use a Graphic symbol with 3 keyframes (1 f... more >>
Re: Looping FLV
Posted by Rothrock at 11/24/2004 2:03:23 AM
I'm using the media components so this may work. (I think there is something
similar if you are using the netStream class.) There is a complete event. So
when that fires you can say myDisplay.play(0); to send it back to the start.
... more >>
Infinite scroller
Posted by kiltster at 11/24/2004 1:17:09 AM
I Have been using this code on a image scroller. The problem is that i want the
scroller to only work when the mouse is over the scroller not just anywhere in
the page (see this link www.photography-arc.com.au/international in one of the
folio sections) can anyone help?
onClipEvent (load) ... more >>
multiple targets in one conditional?
Posted by (_seb_) at 11/24/2004 1:11:50 AM
Is there a way to put several mcs tragets within one same action? i.e,
if I wanted "mc1", "mc2", "mc3", and "mc4" to play if something happens:
if (something_happens) {
mc1,mc2,mc3,mc4.play();
}
Is there a proper syntax to acheive this? That would be very handy, and
in many cases it wou... more >>
Dynamically editable text
Posted by dsgnermom at 11/24/2004 1:02:22 AM
I have a client that has a tickertape feature on his site. He wants it to be
changed to a Flash version and have the text be updated dynamically. Does
anyone know how to do this?
Any help would be great!
... more >>
|