all groups > flash actionscript > september 2004 > threads for friday september 3
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
movieclip on main page repeats
Posted by StevenRAN at 9/3/2004 11:06:28 PM
I have a movie clip on the MAIN page.
After the movie clip ends I want frame 1 in Scene 2 (which is named
?portfolio1?) to play.
What is happening is that at the end of the movie clip it repeats the clip,
and does not go to scene 2 frame 1.
This is my action script
with (_root) {
... more >>
Referencing Components without using this.
Posted by dingus_foghorn at 9/3/2004 11:00:38 PM
I can't figure out how to reference a component without actually applying
ActionScript directly to the component and using the this.whatever notation.
There has to be a way that I can name a component something like comboBox1, and
then refer to it like comboBox1.whatever.
Any ideas?
... more >>
how to fill a dynamic text member animated...
Posted by bso_71 at 9/3/2004 10:35:04 PM
I want to create a dynamic text member ( "text1_txt" ) that I have on my stage
and when I press a button, the text that I have in another text member (
"text2_txt" ) stored in my libraryt starts filling up my "text1_txt" letter by
letter but pretty quickly. How can I do this?
Thanks for an... more >>
#include in switch statement issues
Posted by cabp ms at 9/3/2004 10:23:12 PM
Hi All, i got a problem working with some as files, i have an application that
shows some html like content, it reads an specific node of an xml file, each
xml node has an "asFile" attribute that specifies where the needed as file is
located, i tried to include the as files dynamically, now i ... more >>
troubles with XML
Posted by apaszczak at 9/3/2004 9:31:19 PM
Hi
I am a young(19) flash designer I have been using it for 3 years and lastly I
started to learn XML.
I haven't got any troubles with loading parsing or editing XML document the
thing is about saving it. Flash has two procedures send and sendAndLoad. I have
been trying to use them but it... more >>
Load Movie with scene info?
Posted by swiil at 9/3/2004 9:01:36 PM
Can i load a movie with a scene specification?
Thanks!
Chris... more >>
Image Exchange
Posted by bri2k4 at 9/3/2004 9:01:31 PM
Hi, I am still muddling through Flash MX 2004 Professional, and I am attempting
to:
Have a graphic on screen, say a box,
on rollover, have an image appear. Then on the next rollover, have a different
image appear (maybe up to five different images.)
Is there a simple script out there t... more >>
hitTest() vs. homemade hit test
Posted by abeall at 9/3/2004 8:59:21 PM
I was wondering which takes more CPU for Flash to execute:
if(mc1.hitTest(mc2._x, mc2._y, true)){
//hit
}
or using Math to detect distance between two objects:
delta_x = mc2_x-_root.mc1._x;
delta_y = mc2_y-_root.mc1._y;
distance = Math.sqrt((delta_x*delta_x)+(delta_y*delta_y));
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
FL2004 Datagrid: Unique Row Colors?
Posted by xbrotherx at 9/3/2004 8:30:02 PM
And I am not talking about how to alternate row colors, I know that one, but
how can I set a color to a specific row in a Datagrid Component?
For example, I have 8 rows and I want the first 4 to be red, the next 2 to be
orange and the last 2 to be yellow. Is this possible?
I have looked... more >>
Button rollover
Posted by gilberb001 at 9/3/2004 8:19:53 PM
Similar question to the one i had previously posted.
what I need is that when a button is in the rollover state it loads another
..swf movie (in this case on level6) and goes to a specified frame. So lets say
I have 3 buttons.
When button 1 is on rollOver state it goes to frame 1 of the... more >>
Add component to dynamic text
Posted by speedlab1 at 9/3/2004 8:04:46 PM
How can I add the Scrollbar component to a dynamic text field?... more >>
Goto Frame Labels via String Variable
Posted by toddunderwood at 9/3/2004 7:59:11 PM
I'm really pulling my hair out over this seemingly simple task. I have frame
labels in my timeline ("Slide1", "Slide2", etc.) and a button that, when
released, should send the playhead to the next consecutive label (i.e. if I'm
playing "Slide3" and click the next button I want to jump to the f... more >>
Flash menu to target CFML Include
Posted by rottmanja at 9/3/2004 6:48:55 PM
We are using a flash head and have out links with in the flash. We are trying
to get the links to target a data cell that we have designated as our main
loading cell. We are using this CFML script to load pages outside of the main
page...
Here is the code we are using:
We are getti... more >>
onClipEnvet error
Posted by Mic at 9/3/2004 6:39:28 PM
Hi,
I am using this scrip to load an external SWF.
extSWF.loadMovie("highLights/HighLights.swf", 4);
when I preview the movie in Flash (Ctrl+Enter) I receive this error
message, but the movie works fine. what does this mean? what handler
should I put?
**Error** Symbol=NavWords, layer... more >>
Button rollOver
Posted by gilberb001 at 9/3/2004 5:59:51 PM
Simple question. I want a few buttons when on the rollOver state to play a
certain fram in a movie clip.
For example when the first button is in the rollOver state it plays frame 2 of
a movie clip. And when another button is in the rollOver state i want it to
play fram 3 of the same movie ... more >>
multiple components on stage == weird behaviour
Posted by whoeiee::ean? at 9/3/2004 5:57:04 PM
I'm building an app. with v2 components. When I place only one instance on the Stage, everything works fine (see http://users.pandora.be/eani/source.fla.zip )
... more >>
loadMovie changing my path
Posted by kid_kurrupt at 9/3/2004 5:35:10 PM
Hi,
I'm using
_root.createEmptyMovieClip("PStage",0);
_root.PStage.loadMovie("c:\inetpub\wwwroot\Pictures\images\covers\Cover2.jpg");
to create a movie clip and to load a JPG to it. The absolute path is just
there for testing. When I test the fla, I get this:
Error opening URL "... more >>
Write a text file
Posted by Sudipto at 9/3/2004 5:23:38 PM
I am using some variables from a .txt file to read the values through
actionscript (loadvariable)
I futher want to store the changes made in this values in a the .txt file.
Simply to say I want to write in a .txt file.
I know it can be done through asp but is there any oter method through which
... more >>
scrolling
Posted by aj_fa at 9/3/2004 5:04:51 PM
Hi,
I am trying to get this code to control the scrolling of a list of buttons but
it wont work..
// ---------------------------------------------
// Speed is INVERSE
// ---------------------------------------------
speed = 20;
drag = "dragControl";
h = (this._height);
trace(h)... more >>
Reset a Dynamic Textbox or Two
Posted by point4design at 9/3/2004 5:00:04 PM
I have a movie that uses dynamic text to simulate filling out a form. I've also
added a replay button but when I press the replay button there is a split
second where you can see the form filled out before it resets and starts
filling out the form again. Is there a way for me to reset these fi... more >>
Dynamic Jpeg Auto resize?
Posted by swiil at 9/3/2004 4:41:06 PM
Is there a way to drop in dynamic content with load movie and get it to resize
automaticly? say for example i want to get a folder ful of images resized with
max constraints but not the same dementions. I want Flash to handle the size
differeance nessicary on the fly.
I could use suggesti... more >>
URL navigation
Posted by Horzes_Azz at 9/3/2004 4:34:26 PM
Here's another one.
I'd like to move from one URL that contains a Flash movie to another URL with
a Flash movie in it. Moving from URl to URL is easy to do, but I'd like to go
to a specific location in the new URL. Something like ... from: test.html
(which has flash movie) to: whoopdiedo... more >>
movies in succession
Posted by hsorg at 9/3/2004 4:11:13 PM
I have several movie clips that I want to play one after another - instead of
placing them all on the timeline, leaving enough space for each clip to play,
can I say in the script "once this movie ends, play this movie" and so forth
through all of my movies? How do I do this? Do I need to prel... more >>
Dancing Person with springy limbs
Posted by MacBros_33 at 9/3/2004 4:00:12 PM
Ok you're gonna think this is weird but, here goes...
I have a digital photo of a friend of mine and I have all the limbs in
seperate images (legs, foot, arm, hand, head, torso *just the picture, not my
friend heh heh*).
I want to have all these limbs attached with a spring effect and have e... more >>
Using .autoSize ?
Posted by SkyF at 9/3/2004 3:55:51 PM
Hi there.
I have a textfield with a size of 450 x 42. The textfield is linked to a
variable named "AText". After putting a text to the variable I want to resize
the textfield size to the size of the text. So I tought using .autoSize should
be the solution for it, but unfortunatley it does... more >>
disjointed rollover effect
Posted by eklemen at 9/3/2004 3:54:51 PM
Anyone aware on an online tutorial that discusses a disjointed rollover effect?
I have an interface that is divided into blocks, and I'd like to have blocks
appear/disappear when you click one of the blocks. Clicking a block would
reveal another block, at the same time hiding any others tha... more >>
Problem with spaces in TextField using html format
Posted by cleeeem at 9/3/2004 3:40:59 PM
I'm a using Flash MX 2004, player 7.
I have a textfield with
htmlText = '<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="72" COLOR="#000000">a<U>
</U>b</FONT></P>'.
First the display looks good. But if i use the code :
"var txt:String = _global.current.htmlText;
_global.current.htmlText... more >>
MX and MX2004 and embedded fonts
Posted by thoand at 9/3/2004 3:23:29 PM
Hi
I am experiencing this problem:
I have MX , and my working partner have 2004 installed
When I create a file and drop some dynamic text boxes (embedded),
I have no problem seeing scandinavian characters and so on.
When I send the file to my partner, he says these characters won't displ... more >>
Compression
Posted by Toddy Marx at 9/3/2004 2:53:07 PM
Is there a way to compress/decompress data (e.g. plain Strings) inside
the Flash client with Actionscript?
Thx!
-Toddy
--
Toddy Marx (my email contains no z)... more >>
Load Movie (specific frame)
Posted by simonjamesiredale at 9/3/2004 2:45:27 PM
Anyway to load a new movie at a specific frame?
this is the code i have that doesnt work!
on (release) {
if (_root.loadedString !="about")
{
_root.movieHolder.loadMovie('about.swf','whereFrame');}
}
... more >>
moving a clip to new coordinates from db (ASP)
Posted by calzino_bucato at 9/3/2004 2:40:18 PM
I have this problem:
I have an Access database containig two fields: they are the coordinates (x
and y) that I have to transmit to a movieclip into an swf file.
In the first frame of the swf, I have wroten this code:
red.loadVariables("http://localhost/asp2flash/red.asp");
where red ... more >>
moving a clip to new coordinates from db (ASP)
Posted by calzino_bucato at 9/3/2004 2:36:43 PM
I have this problem:
I have an Access database containig two fields: they are the coordinates (x
and y) that I have to transmit to a movieclip into an swf file.
In the first frame of the swf, I have wroten this code:
red.loadVariables("http://localhost/asp2flash/red.asp");
where red ... more >>
checkbox autosize
Posted by palmskov at 9/3/2004 1:10:06 PM
Does anybody know how to autosize the label field in a checkbox component? I duplicate the checkboxes with a loop and want xml to fill the label properties...... more >>
Variable Slice?
Posted by pinkyawn at 9/3/2004 12:38:34 PM
Hi, I would like to know if there is a way to insert the value of one variable into the middle of another variable?... more >>
Reading text file and asigning to variable
Posted by braviap at 9/3/2004 12:23:03 PM
HI
I have a doubt
I am able to read text from a text file and I am able to asign that text to a
text box also. But here I am unable to asign loaded text to a variable why
following is my code.
var clnts=""
var objTxtFile = new loadVars();
objTxtFile.load("clients.txt");
objTxt... more >>
Adding days to a Server Object Cookie Date
Posted by FayeC at 9/3/2004 12:22:14 PM
After looking for help trying to figure out why my JS cookie was not working
I found about the Server Object Cookies and a poster at Flashkit posted the
following AS:
Now = new Date();
Today = Now.getDate() + "/" + Now.getMonth() + "/" + Now.getYear();
Cookie = sharedObject.getLocal("Date");
... more >>
interactions playback problem
Posted by voxel at 9/3/2004 12:20:21 PM
I have a movie in which i want to record and playback user interactions. So
far I have the mouse movments recording ok into arrays and the arrays beign
applied to a "cursor" mc in play back - fairly straight forward. I also have
arrays tracking when a user clicks by scaling the "cursor" mc up... more >>
Roll over/Roll out problem
Posted by Andie200 at 9/3/2004 9:58:46 AM
I have a button issue, I have set up a sub menu and the buttons need to work as
follows; on the off state and out state they are green(frame2) and on over and
press they are orange(frame 3).
I have used the following code but when you roll out it stays orange. When I
added the roll out comma... more >>
how did they code that
Posted by willx at 9/3/2004 9:57:42 AM
any clues on how they coded this
http://www.spanishfirst.com/en/1_2metodo.jsp
you have to click on see demo(spanish lessons) and go forward three exercices
to the one where you have to match the countries traditonal food.
i could only work out it's a load of movieclips with a load of ... more >>
Flash refresh question
Posted by Marco at 9/3/2004 9:47:47 AM
Hello,
Question is there a way to load new data every 2 min. into a flash file
whitout to refresh the page ?
Thanks,
Marco
... more >>
Changing total
Posted by cornish_fi at 9/3/2004 9:23:08 AM
Hi,
I can't find any posting that corresponds to this, so I hope I'm not
cross-posting.
I've created a movie that allows the user to click on different buttons to
perform actions on a character's account.
For example, the character in the film has an opening balance of X.
If they top-up ... more >>
Re: change scroll track color
Posted by danieldmm at 9/3/2004 8:51:38 AM
I'd recommend you to read this :-)
http://www.ultrashock.com/tutorials/flashmx2004/skinning.php
... more >>
AS2.0 linking external class with MovieClip, cannot refer to movieclips instances and variables
Posted by Christoffer Enedahl at 9/3/2004 8:38:11 AM
Im trying to create a movieclip with a linked external class that
extends the MovieClip class. It sort of works but I cant refer to the
movieclips instances and variables.
First I made a movieclip with 2 textField instances with I called
"title" and "description".
then i marked the clip av... more >>
Live text
Posted by evilpixel at 9/3/2004 8:30:10 AM
I am using some live text in Flash, but I am having trouble with some special
characters. I need to use a degree sign ? (i.e. 20?C) I have tried using °
but this does not work (I use " for " and that works fine) Does anyone
have any ideas why the ° is not working or what I should ... more >>
how do you pause a loop for 1 sec?
Posted by direct-ed at 9/3/2004 7:39:03 AM
I guess many people could use this if someone knows how to do it.
I have a while loop that that tells an animation to play one frame each time
it loops.
I need the simplest way to get the loop to pause for x seconds between loops,
any ideas?
Thanks B.Singh
... more >>
movieclip visible/invisible on button release
Posted by no_clue at 9/3/2004 7:28:47 AM
hello, i am very, very new to flash and i guess my problem is very easy to
solve, so i am sorry to bother. but i just don't get on myselfe. i want to
start a movieclip on release and stop it on next release of a button. i tried
it the "visible" way but my "if-else" won't work.
stop();
th... more >>
PHP variable to Flash
Posted by ReallyNew at 9/3/2004 6:15:51 AM
Here is my question. I am trying to pass a variable from php to flash in
order to generate a URL. The flash code is imbeded on the PHP page. The URL
address is comprised of a variable located in PHP page and the rest of the URL
is hard coded in my flash script. I tried to String Concat in F... more >>
Can Date Chooser select multiple selectable days?
Posted by Sam_2004_TW at 9/3/2004 5:35:14 AM
I can use .selectableRange() to set only once,
can I set multiple day selectable,ex.1,5,8,25...?... more >>
Re: flash, javascript & netscape
Posted by blenz at 9/3/2004 2:40:49 AM
that link does not answer his issue....... more >>
Re: Load EXTERNAL movie???
Posted by blenz at 9/3/2004 2:36:59 AM
clearInterval Not Working
Posted by Don Wash at 9/3/2004 1:14:29 AM
Hi There!
Here's my script...
var varIntervalID;
function continueMovie()
{
clearInterval(varIntervalID);
play();
}
if (i == 5)
{
stop();
varIntervalID = setInterval(continueMovie,5000,"")
}
I recorded the Interval in varIntervalID but when I tried to clear the
Interval us... more >>
|