all groups > flash actionscript > march 2004 > threads for tuesday march 23
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
when are objects available
Posted by continuity at 3/23/2004 11:37:01 PM
I have a hand-built component... basically it is a movie clip continaing a
'label' text field and an 'input' text field... there are also some built in
methods so that I can change the 'input' text field to dynamic, change it's
text, run some validation etc... a page of these components make u... more >>
symbols together in MC?? edit MCs in MC?
Posted by Kay Poe at 3/23/2004 10:12:54 PM
Hi I am wondering if it's bad form to combine symbols on the stage into a
movie. I am duping another movie, giving it a name in the library, dragging to
stage, naming the instance, and editing in place because I want to swap out a
couple of graphics, but it will only allow me to go so far. I... more >>
XML.nodeType doesn't work?
Posted by Frank sf at 3/23/2004 10:10:20 PM
Hi,
I have a weird problem here, probably a bug in my code but I'm starting to
wonder...
nodeType never changes, it's always set to 1...
does anyone has a idea?
here's the code:
XML:
<main>
<search id="id1">
<criteria>...</criteria>
</search>
<search id="id2">
<... more >>
Creating a clock using server time
Posted by Atul Chowdhory at 3/23/2004 10:07:27 PM
I know how to create clock using the time on client machine... but any one how to create a clock which shows the time on server. ... more >>
Accessing frame of the main timeline from a button in a MC
Posted by GSB at 3/23/2004 10:01:14 PM
I have 4 frames in a movie. I have a movie clip in the first frame. This MC
has a button. On click of this button, I want the play to go to one of the
frames in the movie. A simple
on (release) {
gotoAndPlay("secondframe");
}
doesn't seem to work. How do I access the main timeline from the b... more >>
XML problem - loading special characters
Posted by b-so at 3/23/2004 9:49:47 PM
When I am loading XML data into my dynamic text boxes special characters are
being printed out in their escaped form.
For example, if my XML document says :
<tag>"blah"</tag>
the dynamic text box will print out :
"blah"
I've tried embedding font outlines.
I've tri... more >>
Pausing and restarting a sound clip
Posted by SamInLosAngeles at 3/23/2004 9:43:55 PM
Can someone tell me how you pause a sound clip in mid-play and then restart it from the same point?
Thanks for your help.
Sam... more >>
x and y scaling
Posted by B_vsstech at 3/23/2004 8:31:49 PM
Hello all....
I have an app and something is really really acting odd in it.....at the end
of the app I have some pictures that are loaded onto the stage via...
createClassObject(mx.controls.Loader, "icon3", 3);
icon3.load("images/" + _level0.iconImage4 + ".jpg");
icon3._xscale = 32;
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to create dynamic sized text box and bg?
Posted by mr breaker at 3/23/2004 8:26:14 PM
What is the best way to create a dynamic sized text box?
I am going to be reading some data from an XML file, and would like to display
it in a dynamically sized box.
ie, if the input data is only three lines long, I would want the box to be
that size. But I would like to add scrolling i... more >>
SET focus on text field
Posted by pixelgroove at 3/23/2004 8:06:55 PM
Hello,
I am working within the Learning Interactions components and I am curious if
anyone knows how to have the cursor set focus on a text box? Basically I have
a few fill in the blank, one for every frame and I don't want the user to have
to click inside the text box to enter the text.
... more >>
attachSound and loading swf into level
Posted by jay3001 at 3/23/2004 7:45:28 PM
This is in a swf (slideshow.swf) that I'm loading into a level of a main swf
(main.swf). slideshow.swf attaches and plays the sound fine when it's tested by
itself, but when I load it into a level of main.swf it doesn't play.
voiceNum = 1;
voiceover = new Sound();
voiceover.attachSound (... more >>
Help With looping!!!
Posted by mxMIke at 3/23/2004 7:36:45 PM
I am working on some falling sprites I want them to come in from the top of the
document and fall to the bottom while rotating. Then when they reach the bottom
I want them to start over making it seem like they never end. HOW CAN I DO THIS
ANYONE PLEASE HELP!!!!
... more >>
controlling the cursor position...possible?
Posted by pazzoboy at 3/23/2004 7:30:57 PM
Hello,
I would like to control the cursor position. I'm dragging a movieClip and
under certain conditions, I want the movie clip to avoid something. What
happens is that the movieclip avoids the other one, but the cursor ends up away
from the dragged movieclip, but is still dragging it. I... more >>
WINDOW POP UP PROBLEM
Posted by Fatmat at 3/23/2004 7:24:18 PM
Is this code ok? Or can you only have one action per button?
on (rollOver) {
gotoAndPlay (11);
}
on (release) {
getURL
("javascript:NewWindow=window.open('http://www.switch-design.com/work/web1.htm',
'width=500,height=500,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=N
o... more >>
XML problem - ignoring a <tag> within <TAG>
Posted by gaGeet at 3/23/2004 7:19:40 PM
Hi people, I need help concerning the fact that I want to ignore some tags
inside a tag.
In my flash program, when I read in the XML file, I want to interpret the
node's content as HTML:
[i] dynamicText.htmlText =
content.firstChild.firstChild.firstChild.nodeValue;[/i]
In my XML ... more >>
Preloader - No idea how to do them
Posted by Zoboda at 3/23/2004 6:41:17 PM
I need help with a preloader, ive never understood how to do them. I thought I
finaly had it sorted out but when I uploaded it I had to wait for the flash to
load in, and it was just a white screen and by the time I could see the site it
had already loaded in. Also Im pretty sure the preloade... more >>
list box elements and accessibility
Posted by andrew_d_r at 3/23/2004 6:28:21 PM
I am trying to make elements in a combo box accessible, so that the elements
can be visible for screen readers; however the individual elements in the combo
box are not showing as accessible.
The code I have produced is as follows
Firstly I create a function for a new object as shown bel... more >>
Flash MX 2004 Component Display Bug?
Posted by FlashMasterSteve at 3/23/2004 6:21:31 PM
I'm having a problem with the components in MX2004 when they are loaded from an
external swf. Once a component has been loaded and then is either reloaded or
another set of components loaded, clicking on the components causes an outline
box to appear (using halo theme colors). This is partic... more >>
Need Help - Any Suggestions?
Posted by charleuts at 3/23/2004 5:53:41 PM
Anyone know of any good tutorials using attachMovie to attach multiple movie clips dynamically and the most effective way to manage their depths? Any help is appreciated.
Thanks,
Chuck Vollmer
... more >>
if sound busy
Posted by AshtonBrown at 3/23/2004 5:42:20 PM
I play my voice over audio with this script:
voiceOver = new Sound();
voiceOver.attachSound("slide_2-1.wav");
voiceover.start();
Is there a script that would hold the playback head at point in the timeline
until the audio is finished and then continue to play?
Thanks in advance.
As... more >>
how can i do this
Posted by rogerbili at 3/23/2004 5:40:56 PM
i have some probleme in action script. and my problem is that i like to get the .fla of this effect (.swf)
see on this link
http://e-friends-rw.com/help/help_me.htm
plese help me !!!!!... more >>
password page
Posted by XFlashmanX at 3/23/2004 4:44:47 PM
Hi, smee again.
I know that you'll laugh at this question...
How can I make password page? So the user enters password. And if correct,
access is granted, otherwise not.
I've allready tried some inputText.password (); but I've lost myself in code.
I suppose that I'll need UI text compon... more >>
Is that a bug in FlashMX 2004?
Posted by Sson at 3/23/2004 4:43:14 PM
Hi
Me have found that textfield images will overlap the text
with which my_txt.html = true, also will only happen when specify the
embedFonts
the images will overlap the text while first veiw on screen
everything will be display well after the textfiled is scrolled by user
did anyon... more >>
action on MC's/ droptarget area
Posted by fazerlady at 3/23/2004 4:32:50 PM
I am trying to put 3 items into a droptarget area then play the next part of
the movie, I have got all three to dragndrop into the area, but am stuck as to
how you go on from there. What I want is to have a piece of code that says,
when mc_1, mc_2 and mc_3 are in "area" goto and play next fram... more >>
Negative levels in attachMovie? A mystery...
Posted by Seth Hill at 3/23/2004 4:12:40 PM
I need to create negative levels when I attach MovieClips. In other words, I
have a "wall" MC with a window onstage, and I want to attach an "outside" MC so
I see it through the window, behind the wall.
The only way I can get this to work consistently is to create an "empty" MC
onstage, t... more >>
password gate/imput text
Posted by propatria at 3/23/2004 4:05:23 PM
i was making a pw gate last night, and It works great with only one user name
and pw. My question is, how do i add more user names?
on (release, keyPress "<Enter>") {
if ((name=="admin") && (password=="852147")) {
gotoAndStop("pass");
} else {
gotoAndStop("fail"... more >>
Please help with loading variable...
Posted by sanantoniosilverbullet at 3/23/2004 4:05:09 PM
I need some help with a Flash coding issue. Here's the url where the fla is so
you can look at it:
http://sorbera.home.texas.net/boxster/
(right click on ctatest1.fla and save it)
In frame 17, if you click on the mouse over that's over "click here to
print...", and then look at the co... more >>
drag-n-drop using textBoxes doesn't work
Posted by cruise95 at 3/23/2004 3:45:05 PM
Hi all,
I have a problem concerning the drag n drop ability using movie clips
containing textBoxes.
My drag-n-drop works well and the text appears correctly. The problem arises
when you click on the TEXT and then drag the movie clip OR when you drop a
movie clip onto another movie cl... more >>
Have a MC follow another MC (help)
Posted by Hatake Kakashi at 3/23/2004 3:39:34 PM
We'll I'm trying to get one mc to follow another but I can't seem to get it to
work. Could you guys help out? I used this:
onClipEvent (enterFrame) {
//x movement
mx=_root._xmouse;
if (mx<_x) {
dx=_x-mx;
}
else {
dx=mx-_x;
}
moveSpeedx=dx/3;
if (mx<_x) {
... more >>
Sometimes it works, sometimes it doesn't...
Posted by Aglaranna at 3/23/2004 3:14:28 PM
I got a problem with a chat thingie I made. The problem is that it sometimes
works online, and sometimes it doesn't. And I have absolutely no clue why. When
I test the movie from flash (ofcourse with other paths to the external files)
it always works.
Does anyone know a problem?
The ur... more >>
with (_global){
Posted by lingoingo at 3/23/2004 2:29:13 PM
Can I make it work? Doesn't seem to ... the variables I fill inside the
"with" section are emtpy.... more >>
imput text box in to a txt file
Posted by quimkaos at 3/23/2004 2:23:58 PM
how can i save the content of a imput text box in to a txt file so i can
use it has a text to update a dynamic text box in other flash movie. i can't
use php mysql or other tecnologie like it.
... more >>
flash not playing nice with earthlink CGI
Posted by designomatic at 3/23/2004 2:04:07 PM
hi there:
i have a client who's hosted with earthlink (i know, i know), and i need to
get flash to submit some stuff to earthlink's built-in MAILTO CGI script. works
fine from HTML, not so great with Flash...it gives me a BAD REFERRER ERROR
("Sorry, this CGI is only available to sites host... more >>
speed changes
Posted by fu-meng at 3/23/2004 1:36:46 PM
hi. i've got a shell file which loads five external movies on(release) of five
different buttons. the first time i press each button the external movies load
fine and their speed is fine (they're all set to 40fps). but as soon as i click
a button the second time the speed increases. it's as if... more >>
Simplifying this chunk of code?
Posted by cjf at 3/23/2004 1:23:48 PM
Could somebody tell me please if there's a way to consolidate this chunk
of code? This works just fine, but seems like there should be a more
condensed way of doing it.
Thanks!
--cindy
function myFunction() {
if (_root.activeClip=="mainNavItem0") {
_root.mainNavClip.mainNavItem0... more >>
Adding listeners to setinterval
Posted by Ed Massey at 3/23/2004 12:36:28 PM
FlashMX2004pro
flashplayer 6.0+
Can I use a listener to call clearInterval() when it detects that a
movieClip containing the interval has unloaded?
//my intervals are called within the first frame of myMC as follows:
doSomething = function(someVars){
this._rotation+=5;
}
myObject... more >>
any reference for this
Posted by purple_am at 3/23/2004 12:00:06 PM
Go to this [L=site]http://www.fredperry.com/index.html [/L]
go to estore section and lets say footwear
You see there is a step one and image of shoes is loading.
Am trying to make something like that ( not all thats in the page only loading
the images dynamically in the rows and columns wi... more >>
Search box in Flash - to search html site and display in html
Posted by Chris Waters at 3/23/2004 11:45:21 AM
Hi
I am wanting a search box in my swf file that will search my site HTML
pagesand display the results in a html page.
I have just had a search but can only really find the google search examples
or examples that search the flash file and/or display the results in flash,
which i do not want... more >>
how can i create dynamic instance names of class?
Posted by biglad at 3/23/2004 11:45:09 AM
I have created a class file called Recipe.as
What I want to do is create instances of the Recipe class but assign it to a
dynamically named variable;
What I have so far is:
function createRecipe(id){
var objectName:String = "recipe"+id
objectName= new Recipe(this.menuID, this.menuT... more >>
Position a linked external SWF on stage?
Posted by kelly jones at 3/23/2004 11:27:50 AM
hi, can someone please help me??
i have loaded an SWF into my scene using the loadMovieNum action, i was just
wondering now that i have got it in my scene, how do i position it? At the
moment these are the actions that i have applied to the keyframe:
loadMovieNum("dialogue box.swf", 1);... more >>
Flash not seeing my IF statements -- Please
Posted by Bobby at 3/23/2004 11:04:57 AM
Hi All, I'm totally baffled by this one. I have a list box in frame 5 I want
them to pick a state. I assign that to a var named STATE with a on(press)
then later (Frame 15) I take STATE and reassign it to STATE1 then I check to
see what STATE1 is with my if statements and assign the number to Exp... more >>
Escaped characters like ß in external XML ?
Posted by Parelius at 3/23/2004 10:43:15 AM
I know that Flash supports the import of externals XML files which are either
encoded as unicode or according to a "traditional code page".
Unfortunately I have a datasource which outputs XML where all characters above
code 127 are ecaped in HTML 4.0 style like ß
Now, when I import t... more >>
How to launch an external application in swf
Posted by coolguy13 at 3/23/2004 10:07:41 AM
Hi,
I want to launch window's notepad on click of a button. I tried fscommand but
it works only for projector & not for swf files.
could any one help me to sort out this problem.
thanks in advance....
... more >>
Keeping Flash "always on top"
Posted by kischillin at 3/23/2004 9:44:19 AM
Hi.
Is there an actionscript that will keep a flash movie 'always on top' so no matter what is running in the background the flash movie will always be at the forefront of the screen? Thanks... more >>
position of a named frame
Posted by Christian Weiss at 3/23/2004 9:03:07 AM
Hello NG,
i had named a frame on the timeline of a movie as "myTitle".
In some places i need the frame-number, but how do i get this one if i only
have the name of the frame?
I there a function?
Greets
Christian
... more >>
variable + counter problem
Posted by Silencer-CH-AU at 3/23/2004 8:57:06 AM
I have the following setup:
a function called bands_func which is stored in an external file
"variables.as" and is icluded in frame 1, and later on called by a button
an array called bands_name_array containing names
an integer called bname
7 TextFields with the instance name sub_text fo... more >>
Going Nuts!!!! Targeting a MC that's been duplicated?
Posted by cjf at 3/23/2004 8:39:37 AM
Hi.
I'm struggling with this something terrible.
I have a MC called "subNavClip". Inside that is another mc called
"subNavItem" that's been duplicated 8 times. Is there a trick to
targeting a movie clip that's been created using duplicateMovieClip?
Here's the code for the duplicatatio... more >>
whats wrong man
Posted by purple_am at 3/23/2004 5:07:00 AM
hey guys and gals
look at this script
moviearray = new Array("imgs/image1.jpg", "imgs/image2.jpg",
"imgs/image3.jpg","imgs/image4.jpg","imgs/image5.jpg");
indx = 0;
while (indx<5) {
moviename = moviearray[indx++];
loadMovie(moviename, "_root.target");
}
am trying to loa... more >>
Shared Components
Posted by sfr2 at 3/23/2004 4:42:47 AM
Try this: Make two movies, in one movie ("A") make a movie clip with the
linkage of "A_link" and named "A_mc". In the other movie ("B") make another
movie clip and put code into it's first frame like:
#initclip 1
function newClass() {
trace(this + " newClass");
}
newClass.prototyp... more >>
> need help with preloading multiple movies
Posted by mike at 3/23/2004 2:29:20 AM
hi.. //
... i need to know how to preload multiple movies into a main movie // with a
percentage
display or something that indicates status of the movie being preloaded ?..
>> can anyone help me with this??
... more >>
media display hangs
Posted by fjoyce at 3/23/2004 1:11:35 AM
i got a handful of movies to play. i am using media display and media playback.
the movies are paused then unloaded. media playback works fine but media
display plays the first time but chokes the next media display. using action
script i checked autoplay, change, playing, content path all oka... more >>
Problem accessing timeline with _root
Posted by Tim Robertson at 3/23/2004 1:06:31 AM
Hi this is probably a really straightforward question but for some reason I
seem to be missing something.
I have a movieclip on frame 20 of my main timeline (only one scene). I want
to have a button in the movieclip that takes you back to frame 10 of the
main timeline. I have tried both:
o... more >>
MediaPlayback component won't view if burnt to CD
Posted by VUMich at 3/23/2004 12:20:42 AM
Hi
My client has requested that their website be optimised for distribution on
CDRom.
I have embedded some video, into the html, using the MediaPlayback component
in FlashMX2004 Pro.
The page views fine if it is previewed in Internet Explorer from my machine.
but...
Once I burn i... more >>
XML and italics
Posted by burritobot at 3/23/2004 12:04:36 AM
I'm reading a block of text into Flash with XML, and I would like to know of a
good way to italicize a portion of the block. Obviously, I cannot throw <i></i>
tags into the xml, because it will be read as a child node. Does anybody know
if this is possible?
... more >>
|