all groups > flash actionscript > july 2004 > threads for monday july 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
using shared objects to play/stop movies
Posted by kitallen at 7/5/2004 11:36:09 PM
Hiya,
Am very rough on Actionscript - trying to make a system where my movie
remembers whether to play or stop from page to page. So far I've got:
Frame 1:
local_data = SharedObject.getLocal("moviecontrol");
if (local_data.animate="off") {
gotoAndStop(360);
}
then a button... more >>
another attachMovie problem
Posted by AutomatikStudios at 7/5/2004 10:35:20 PM
Okay, so I'm attempting to attach 3 movies. 2 start at the same time and I can
get those to work fine. The third I am wanting to attach after those first 2
play. I tried doing attachMovie at the end of one of the other clips I attached
but had no luck. Is there a way to attach a movie after so... more >>
must use localhost for dynamic content
Posted by utopianfool at 7/5/2004 10:23:23 PM
HI:
I just created my first PHP-MySQL-Flash application. The problem is that when
I access the app from my browser it the dynamic content (variables generated by
php file) aren't showing up. Everything is fine in the testing stage. I can
even access it if I goto http://localhost/myfile.swf B... more >>
evaluate change in text field after time ????
Posted by Tony at 7/5/2004 10:12:09 PM
Hi...
anyone know how to do this ?
an input text box.
The user starts typing and the movie checks to see when he has stopped.
So I'm guessing this:
an invisible button under the text field that starts a MC on roll over.
This MC eveluates the value of the text field every half second or so
... more >>
preloader help
Posted by -] at 7/5/2004 10:08:56 PM
hi. im making a pre loader bar i want the bar to look like its expanding
left.. 2 right this is my code
in the first frame
iStatus=0;
setProperty("pBar",_xscale,0);
the second frame
setProperty("pBar", _xscale, iBytes);
text=iBytes add "%";
third frame
if (iBytes<100) {
... more >>
loadVars problem
Posted by goseta at 7/5/2004 9:17:51 PM
Hi I have this code:
var myvar = new LoadVars();
myvar.action = "getSlides";
my problem is that I need to set variables for the LoadVars object
dinamically, like for example
var mytestvar = "action";
var myvar = new LoadVars();
myvar["mytestvar"] = "getSlides";
I thougth the ... more >>
Flash to PDF ?
Posted by feiloiram at 7/5/2004 8:41:48 PM
Is there a way to build a pdf-file from within flash?
I have different data that I can presented in a nice paper-like way with flash.
My users however expect a pdf-file?... more >>
Index of an accordion child
Posted by feiloiram at 7/5/2004 8:23:52 PM
I have an acoordion on the stage.
The first child is added by default, other childs the viewer can add childs
dynamicaly.
The actionscript in the movie that is presented in the childs is run
immediately when the new child is created.
I have tried the following :
var ChildIndex_nbr:Numb... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
duplicating dynamically loaded jpgs
Posted by JasBU at 7/5/2004 8:18:50 PM
Hi everyone,
I'm building a dynamic gallery in MX 2004 w/ AS2. As part of my transitions
when a clip loads, I need 4 copies of the loaded jpg (the effect is going to
be something like the galleries at www.eccentris.com). I don't want to eat up
four times the bandwidth though.
I w... more >>
LoadVariables into movie clip
Posted by mrmattrice at 7/5/2004 7:54:51 PM
I just upgraded from Flash5 and I have a dyanamic text field mc in an animated
mc and am using:
loadVariables("text.txt", "/my_tf_clip");
But it isn't working...how do i get the variables sent to the clip? I think i
have a brain-cramp ;-)
Thanx in advance.....
Matt
... more >>
connecting 2 computers using flash
Posted by lumeeguvnor at 7/5/2004 7:27:35 PM
has anyone any ideas as to the way that one connects 2 computers so that flash
movies can communicate with each other.By this i mean on a LAN not the
internet.I can get 2 movies to interact when they are on the same pc but not
when i network 2 together using windowsxp network.
Any help would... more >>
Combo box to screen
Posted by gypsygir94 at 7/5/2004 6:18:46 PM
I am trying to trigger a screen with a selection made from a combo box.
The name of the screen with the combo box is DanceClasses.
Right now, the combo box has the following selections available: Florida &
California.
I am trying to figure out California right now.
I have created ... more >>
Circle of color
Posted by Nixy at 7/5/2004 5:57:25 PM
Is that possible to script something that dynamicly create a circle or a square
of color. This shape of color allow the user to pass the cursor over it an
choose a color just like any software (Flash, photoshop, illustrator). I want
to do it in ActionScript.
Se this site : http://www.inany... more >>
Can a function recognize a movie clip instance?
Posted by danoliv at 7/5/2004 5:41:16 PM
Hello,
When I pass the value "chevroletinstance" to the myinstance parameter in this
function, the function doesn't recognize it with the event handler methods:
myinstance.onRollOver = function() { ...
The first four lines inside the function work well -- that is, when I use
attachMovi... more >>
PHP email problem
Posted by incompleteunit at 7/5/2004 4:58:40 PM
Hi everybody
I've got a flash site with an email form which calls a php script. Up until
recently it worked fine. I changed the php script slightly and it stopped
working - so I reverted back to the original script, but it seems to remain
broken. The odd thing is that I have a dynamic text... more >>
Can variable control alpha of a movie clip?
Posted by bobrun at 7/5/2004 4:27:38 PM
Can variable control alpha or color of a movie clip? ... more >>
Can variable control alpha of a movie clip?
Posted by bobrun at 7/5/2004 4:27:34 PM
Can variable control alpha or color of a movie clip? ... more >>
Loaded SWF in Empty MC appears wrong
Posted by snurg at 7/5/2004 4:07:43 PM
I have a SWF loading into an Empty Movie Clip on my main timeline that appears
towards bottom-right of screen,
along with the content within the SWF off-center from the background
The SWF itself, when in Test Movie mode, appears fine on screen
The other puzzling thing, is when other SWFs... more >>
tree level
Posted by sschofield123 at 7/5/2004 3:49:59 PM
how do i find what level in a tree i've selected?... more >>
menubar component face color
Posted by wadearnold at 7/5/2004 3:43:40 PM
I am trying to change the menubar component color via actionscript. You can do
this currently by changing the tint in the inspector but it seems to be
impossible to change it via actionscript. This makes it really hard to make
different themes for a website when you can only leave the menubar ... more >>
Complex Plotting & Layout
Posted by mrism at 7/5/2004 3:39:47 PM
hi, i have an issue in flash.. see if you can tell me any solution. i have a
rectangle movieclip of size 200 x 200 (but size can change) and i have to plot
variable number(sometimes 10 or 15 or 18 or anynumber) of smaller rectangle
movieclips(of different sizes like 30 x 40 or 50 x 35) on that... more >>
preloading 150 images
Posted by Stephan Knuesel at 7/5/2004 3:23:38 PM
Dear list
I need to display 150 thumbnails and the according big images in a flash
movie. There's a loader scene where all the other content is loaded in as a
preloader. After that there's the main scene where the navigation for all the
other pages appears. The gallery page will consist... more >>
ifFrameLoaded & Flash Player 7
Posted by FearTheHands at 7/5/2004 3:08:28 PM
I'm having a repeat problem I experienced when I upgraded from Flash player
5 to 6 now with 6 to 7:
I am using the following action script below to avoid my intro movie
repeating itself each time the movie is loaded
ifFrameLoaded ("home") {
_root.gotoAndPlay("Second");
}
This wo... more >>
Alpha not working in for loop...help please!
Posted by trackfive at 7/5/2004 2:58:50 PM
I put some code in a "for" loop to adjust the alpha levels of a certain amount
of movie clips whose current alpha levels are set to "0". Here is what the code
looks like...
for (var y = 3; y<7; y++) {
this.current_clip = "blank"+(y+1);
this.current_clip._alpha = 100;
}
... more >>
smooth scroll
Posted by unit_flash at 7/5/2004 2:54:05 PM
i am trying to scroll some images accross the screen.
with my simple try to just increase the xposition by some pixels the motion is
not smooth.
can anyone point me to a bit of code that will move images nice and smooth?
thanx in advance for your help!
judith.
... more >>
Combo box that goes to screen
Posted by gypsygir94 at 7/5/2004 2:48:46 PM
Hi, I need very basic help. I have a sombo box on the stage. I have entered
my labels (0-Florida, 1-California). I'm not too sure what to enter in the
data. For California, I want it to go to the scene Classes_cali. How do I do
this?
I have no action script in yet. I'm very new to ac... more >>
Sound Object Fade In - desperate for solution
Posted by Claude Saccaro at 7/5/2004 2:08:31 PM
I'm having a problem getting this Audio Object fade in code to work.
Movie Clip name: teaseraudioMC
Linkage ID: teaseraudioID
Instance Name: teaseraudio1
on frame 1 of main timeline I place:
A frame containing the linking Movie Clip and this code in a keyframe in
a separate track:
te... more >>
Creating a button action inside of a loop.
Posted by Paul Whitham TMM at 7/5/2004 2:06:50 PM
I am trying to build a graphically interface for a course booking system. I
have created a buton called EmptyChair, and using a loop command have got it
to replicate the number of times I want. The problem I am having is that
despite the mouse changing to a hand over the image, the events that I ... more >>
XML help!
Posted by tg-1 at 7/5/2004 1:14:21 PM
Hi ALL,
What are the names given to this XML File hierchy? in AS2 ? WITH MX2004 PRO?
-------------------------------------------------------------
function sortData(node) {
if (node.firstChild.firstChild.nextSibling.nextSibling.nodeName ==
"galleryname" || node.firstChild.firstChild.n... more >>
re- sizeing sheep?
Posted by pags at 7/5/2004 12:45:03 PM
i have these sheep that are going to be put randomly off the lefts side of
stage but i want them to decrease in size the further they get away(higher)
this is what i thought but it doesnt work
sheep._x = -sheep._width;
sheep._y = Math.random() * stage_height;
sheep.size = sheep.size/... more >>
Relative position but not scale - help
Posted by sjursen at 7/5/2004 12:04:01 PM
Is there a way to force a negative result/number to be positive?
I have the code:
this._x = ((_root.MCdoobie._x) + 100) * ((_root.MCdoobie._xscale) / 100)
..I want "this" MC to get its _x value from another MC. The MCdoobie is
changing position and scale through a menu-system, but I just... more >>
Dynamic Button Actions
Posted by Samuraitang at 7/5/2004 11:32:01 AM
Hello,
I am trying to make a load a set of images into a Scrolling MovieClip and
make each individual image into a button using ONLY ActionScript.
So far I have loaded the images with no problems using a for loop and
createEmptyMovieClip, but am having trouble with adding the action onPress
... more >>
save image
Posted by p.pangkor at 7/5/2004 10:01:13 AM
hello,
i've created a photo album (is a flash exe), which can load extenal picture
and also allow user the add on some effect to the picture. but is it possible
that after i add the effect to the picture, i save the picture as another file
name and sent it to other user?
Thank you.
... more >>
AS2 Doubt?
Posted by KalViv at 7/5/2004 9:50:19 AM
Hi All,
I have class called myButton.as which extends MovieClip with onPress function
in it.
class myButton extends MovieClip {
function myButton() {}
function onPress() {
trace("inside class onPress");
}
}
In my fla file, I created a MovieClip (mc1) and in AS2 Class of Linka... more >>
setProperty with text
Posted by Dark_Flame at 7/5/2004 9:33:30 AM
Hello,
I'm trying to use a loop to show an array of text in various text boxes, the
only way I can see of doing this is setProperty using
for (i= 3; i < 17; i++)
setProperty('shift' + (i), text, shifted_signal);
However it would seem I'm not allowed to use text as a property in
... more >>
loadMovieNum problem
Posted by asilter at 7/5/2004 8:51:32 AM
i have added "arama.swf" into _level0 with
loadMovieNum("arama.swf",1);
with an event in the arama.swf i want to load "kayit.swf" into _level0. can i
do it with these codes :(in arama.swf) ?
because it does not work and nothing added on 2nd level.
not working code in level1(arama.swf)... more >>
Accessing TextField in a MC from _root
Posted by Ashish123 at 7/5/2004 8:37:50 AM
Hi all,
I am creating dynamic textfields into a MC using a for loop:
for example:
for(i=0; i<100; i++){
createTextField("data"+i, i+100, 10, 10, 100, 20);
this["data"+i].text="" //data fetched from XML file;
}
Now I want to access the values inside these MC ie which are their in... more >>
pass varaible into flash
Posted by Jackson at 7/5/2004 8:16:51 AM
Hi,
I create an ASP page to retrive images name from database. How can I
pass the images name/variable into Flash? so that i can use the
loadMovieNum("DynamicImage", MovieClip);
Jackson
... more >>
accessing variables from an other .swf
Posted by stripeySocks at 7/5/2004 7:45:43 AM
Hi there.
I spent some nights on finding out how to access a variable which is used in
an other .swf file, without any luck :(
What I wanna realise is setting a variable on true if file2.swf is loaded and
checking in file1.swf if the variable in file2.swf is true and if so loading a
movi... more >>
how to move movieclip continuously and...
Posted by asifbhura at 7/5/2004 7:34:19 AM
Hi everyone
I have attached FLA file. I want to be moving this two line continuously. one
line(ln1) should be coming from up. and line(ln2) should be coming from down.
when both line touch to each other.both must be gone back. this all work must
be continuing.
Please help me
wait... more >>
Passing Array values
Posted by OniLink at 7/5/2004 5:04:00 AM
Im basically trying to make and array global. I have made the array in the
frist frame of the main timeline and Im trying to use it through a movieClip
script aswell...but with no luck.
Is there a way to make an array global so that everything can refer to
it....or is there some other way?... more >>
Validate Input Box ? ?
Posted by RoyMunson2004 at 7/5/2004 3:21:40 AM
How can I validate an Input box to only accept Numbers,
so as to avoid the Nan response coming up ?
I thought that setting the character to Numerals would do the trick but
unfortunately
it only works when I test the scene, but if I export the swf, it stops
working.
Am I missing somet... more >>
mouse cursor in movie
Posted by modom at 7/5/2004 2:14:54 AM
Hi,
I'm trying to learn a little flash and have a movie with 3 graphics in it that
fade in and out and have links on each graphic.
Whenever you put your cursor over the graphics to click the cursor doesn't
change to a hand so it's hard to know if these are really links without putting
... more >>
How to: Continually move a symbol on enterfra
Posted by creativearts4kids at 7/5/2004 12:09:16 AM
I have a symbol that, when the movie enters frame "x", the symbol moves on the
y axis 2 additional pixels. In Director, I use something like symbol.locv=
symbol.locv + 2 -- this would continually add 2 pixels to the vertical location
regardless of the playhead location after entering frame "x"... more >>
|