all groups > flash actionscript > may 2004 > threads for friday may 14
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
how to access linked movie clip via DOT syntax???
Posted by adamteam at 5/14/2004 11:53:16 PM
I have a movie clip that exists only in the library linked to a scrollpane
component using its linkage identifier. It scrolls perfectly. However, in the
movie clip there are additional movie clips I wold like to control, but for
that I need to be able to access them using DOT syntax. How can t... more >>
Loop on Rollover
Posted by gbhumphrey at 5/14/2004 11:30:34 PM
Hi all, Im a newbie to Actionscript and here's my problem. I want an event to
loop during a rollOver. Here's the code I have
on (rollOver) {
setProperty("filmstrip", _y, Number(getProperty("filmstrip", _y)-50));
}
What happens here is the "filmstrip" movie gets moved 50 pixels ONCE. ... more >>
printing a text from a text box
Posted by goFlashMX at 5/14/2004 10:47:12 PM
I am trying to make a button that will allow the user to print out his notes from a textbox. Does anybody know how to do it?
thanks... more >>
Slider
Posted by clcarter at 5/14/2004 9:07:58 PM
I'm having a terrible time trying to produce this slider. Here's the idea --
for each pixel the mouse drags a slider, another movie clip moves 1 frame. I
keep track of the last _x position so that I know if we're going forward or
backwards. I only want whole pixels, so I round off _x to see if... more >>
MX2004 textarea component with external text file
Posted by B at 5/14/2004 7:54:30 PM
In the past I have loaded external text into a dynamic text box and then I've
attached the scrollbar component for scrolling purposes. I have now upgraded
to 2004 and there is no longer a scrollbar component. I've looked in several
places and I'm reading that the textarea component is to be... more >>
textArea text color while html=true?
Posted by Rooster60602 at 5/14/2004 7:46:56 PM
Does anyone know of a way to control text color for the textArea component when html turned on?... more >>
I need a Action Script for List Box
Posted by Nosferatus at 5/14/2004 7:13:03 PM
When i select a item of the list box, a movie clip begin. (play)., So, when i choose another element of the list box, the movie clip stop and begins a new one.
... more >>
TabIndex - Focus Manager BUG!
Posted by studio-playground.com at 5/14/2004 6:47:22 PM
http://64.207.177.164/flash/test.fla... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Replacement for LoadVars
Posted by jbuckle25 at 5/14/2004 5:33:22 PM
Ok.. so it seems that LoadVars no longer works with Flash 7 or AS 2.0 (or
something) - I am getting errors all over the place. Is there an easy
replacement for this, so that I don't have to replace all my server code that
expects simple posted variables.
thanks,
-jbuckle24
... more >>
unable to access textfield within window compone
Posted by bliss322 at 5/14/2004 5:03:17 PM
i'll preface this by saying i'm just startin out with mx04. i'm trying to
access the text property of the textfield component that i have placed within a
window component and i'm just not getting the path right or something
actionscript:
_root.attachMovie("Window","newsWindow",0);
new... more >>
Animation using Actionscript
Posted by maddynate at 5/14/2004 4:53:19 PM
Hey all, I am wanting to animate several things on the scrren using actionsript instead of tweening. Can someone point me to a good tutorial or pass some code my way?
Thanks for the help!!!
Russ... more >>
How to prevent flash from auto-installing?
Posted by Lunatech3D at 5/14/2004 4:41:36 PM
I have a Flash movie that is sending data to a database via PHP. The problem is
that if users don't have the Flash player installed on their browser they will
be asked if they want to install it. I don't want this. If a user does not have
the Flash player installed, I don't want them to be bot... more >>
help!
Posted by Karina Arias at 5/14/2004 4:17:31 PM
how can i make my actionscript program run in a different layer than in =
the one runs by default.
tx
karina... more >>
Using asfunction within a <![CDATA[ *]]> wrapper
Posted by javier34 at 5/14/2004 4:13:28 PM
Hi all,
I'm having trouble using asfunction within a <![CDATA[ *]]> wrapper. I'm using
the CDATA to allow for extra html formatting (within the dynamic text field)
but somehow the asfunction doesn't seem to like that. The link comes up with
the proper formatting and it is active but the fu... more >>
HELP with URL
Posted by Dusty_Rods at 5/14/2004 4:08:15 PM
Hi it s my first post im developing a login that sends a varaible to ASP
i take the number value from a input box.
which is cool i then need to format it like so
var age:String = "22"
myloadVars = new LoadVars();
myloadVars.send(my_URL+"myage="+age,"_blank","POST" )
so i use this as a ... more >>
XML Load and Web Services
Posted by Christopher at 5/14/2004 4:06:47 PM
I'm really new to the Flash world and I'm trying to use a Graphing component
that pulls and uses XML data from a web service on an aspx page. I'm having
a really hard time trying to debug the flash file to figure out where it is
bombing. I think it's hanging on the XML load function even though I... more >>
targeting a MC in a loaded movie...
Posted by brian at 5/14/2004 4:06:31 PM
I have the following problem targeting a MC in my movie that is loaded
into another movie. Let me explain...
I have a button inside a MC instance called "btn_mc_01". The MC is on
the root timeline of a movie called web.swf. The actions for the button
are on the root timeline in the actions la... more >>
Detecting end of video with Media Playback comp
Posted by breckend at 5/14/2004 3:54:46 PM
Anyone know how to detect when a movie being played in the Media Playback
component has reached the end? When one video finishes I want another one to
load up in the same component. Some kind of listener I reckon.
The best I can come up with is to have a function that reads in the parameter ... more >>
Print only one frame?
Posted by ckpro at 5/14/2004 3:34:21 PM
Is there a way to add a print button that simply prints only the frame a user
is on?
I want it to be compatable with Flash 5 player, so I need to use the print()
action not the printjob action. Is there a way to get it to only print the
frame i'm on and not all of the frames In my movie?
... more >>
Tangent - formulas
Posted by sj at 5/14/2004 3:09:31 PM
Hi,
where can I get some of the formula related to circles and its tangents from
an external point.
... more >>
DataGrid Sort Direction?
Posted by jbuckle25 at 5/14/2004 3:03:40 PM
ok,
i have been looking for the answer to this for 2 hours... how in the world do
you know the sort direction (asc || desc) of a datagrid.
here is some code:
objDataGrid.headerRelease = function(event) {
trace("i need to know the sort direction - here!");
};
this.myDataGrid.addEv... more >>
Textarea question
Posted by rythmikone at 5/14/2004 2:40:42 PM
I have a textarea component displaying some dynamic data...working great.. but
it is displaying any apostrophies as a small box...
http://www.cavaliermortgage.com/indexsb.asp?location=VA
Anyone know the workaround for this?
... more >>
Retrieve Macromedia Director Variables into Flash
Posted by Mark Webley at 5/14/2004 2:17:56 PM
Can any one help and advise on how I can get, Macromedia Flash to read Macromedia Director variables.
Mark Webley
Freelance graphic designer/ programmer... more >>
clipping a movieclip?
Posted by spons_ at 5/14/2004 2:10:32 PM
Hi,
A newbie question about actionscript: is it possible to clip a movieclip using
the borders of another movieclip?
I have a large rectangle as a background, with a smaller rectangle on top of
it. On this smaller rectangle, clicking results in drawing a circle with the
clicked positi... more >>
Delay Timer
Posted by strikker at 5/14/2004 1:42:05 PM
Hello everyone,
I tried to do this example
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=288&thre
adid=739028 but could not get it to work? Anyone have any ideas?
I will attach the file.
Thanks
... more >>
HELP PLEASE - connecting flash to coldfusion
Posted by helpppp at 5/14/2004 1:10:18 PM
am using the book, "complete flash remoting mx" by joey lott and i can't do
the "create an e-commerce website" in the back! i've typed in all the code and
it's all correct, but the connection between flash and the coldfusion componet
does not work.
i have connected coldfusion to sql and th... more >>
Scroll pane component
Posted by jmoggio at 5/14/2004 11:58:40 AM
I'm trying to change the color of the scroll pane component border, or make it
transparent, or remove it altogether. The help section says the scroll pane
doesn't support styles or have its own skins, just the scroll bars do. Anyone
know how to effect the scroll pane's look?
... more >>
presentation keypress
Posted by munchkinmaud at 5/14/2004 11:40:32 AM
Is there a way to link a keypress to a button for a standalone interactive
presentation using Flash 5? For example I need to be able to press various
keys at the same time in order to show two seperate events occur on the screen?
If there is a way, is there a limit to the number of keys that ... more >>
else if
Posted by g5604 at 5/14/2004 11:04:19 AM
Hi,
i am trying to set up an else if statement for my drag and drop?? any ideas
how to make it so when the target is not hit.. i can set up an action? heres
what i got:
onClipEvent (enterFrame) {
if (_root.boom.inkhit.hitTest(_root.mc1.lenshit) && _root.lightvar == 1) {
_root.boo... more >>
Nerwegian letters ?,? and ? is missing...
Posted by Fagerheim at 5/14/2004 9:34:13 AM
Hallo, I have found a chat FLA with cgi script, and to script with dat
extension, that I want to use on a webside in Norway.
The problem is that when I am trying to use the letters ?,? and ?, these
letters are not show`n in the swf file.
Is there a way to encode the script so that I can use... more >>
Get the instance name of a mc
Posted by Basement_media at 5/14/2004 8:59:46 AM
Hi,
is there a way to get back the instance-name of a mc, onClick.
I treid the following ActionScript (attached on a mc):
on (press) {
trace (this._name);
}
It works, but it puts out something like "instance21", but not the detailed
instance name.
Every help appreciated,... more >>
Help me to Read Variable on Timeline Frame
Posted by Salio at 5/14/2004 8:39:47 AM
Hello Friends,
I am not able to do the simple thing... and dont know where i am commiting a
mistake. What I am trying to do is.. in the 1st Frame I have declared a
Variable and trying to read a valued of this variable from JSP file but some
how the value is not comming in the SWF file.
... more >>
AS2 on Flash Player 6 ?
Posted by Preludator at 5/14/2004 8:39:11 AM
I?ve heard of problems running Applications written with AS 2.0 on older Flash
Players ( before version 6,0,65 )
Not only that the performance is worse, there are supposed to be stability
issues because variables are called with the use of registers since 6,0,65.
But all my tests with AS2... more >>
strange bahavior using onRollOut
Posted by Beatrice1 at 5/14/2004 7:35:17 AM
Hello,
Attached is the file (test19.zip) containing a test flash file where I try to
do the following:
1) Inside a movie clip I have two others (next to each other)
2) when the mouse moves over, the mc will move either to left or right based
on the
mouse position relative to the ... more >>
button and movie clip problem
Posted by the amatur at 5/14/2004 7:11:23 AM
i have a button which is a movie clip....
the problem is that i want the button to open a movie clip when i click on it
but this doesnt work
it only works when i use a button which is not a movie clip...
my button(movieclip) is in the first scene and the movie clip i want to open
is in... more >>
Problem with loading movies
Posted by Manoj vn at 5/14/2004 6:58:16 AM
Hi forum,
I have a parent movie in flash(parent.fla). Now i want to load child1.swf,
child2.swf and child3.swf in to this parent movie one by one. The action should
be at the first frame of my parent .fla and no actions to child movies. While
giving the action with 'loadMovie()' only the ch... more >>
Quick setInterval question
Posted by rnadiv at 5/14/2004 6:14:05 AM
This must have been asked and answered here, but I cannot find it.
I have six mc's and want to pass each in succession to a function called by
setInterval. When mc6 passes thru and meets a condition, clearInterval kicks
in. The logic of what I want might even look like this:
on(release... more >>
Last Minute Slide Presentation question
Posted by SergeTs at 5/14/2004 5:36:03 AM
Hello,
I am preparing a flash slide presentation for a trade show on Monday. In the
end of every slide I have put in a "stop()" statement to prevent the slides
from repeating over and over until a forward or back button is clicked.
However, for the show, I need the entire presentation to... more >>
gotoAndStop and possibily a return?
Posted by DIE2self at 5/14/2004 5:18:25 AM
First off - Newbie alert. Sorry. I'm good with other languages, but
Actionscripting is pretty new for me.
On that note - I have searched newsgroups, including this one for a solution.
It may be out there, but I could be searching for it incorrectly.
I have a for loop with a gotoAndSto... more >>
Actionscripting in MX verses Professional?
Posted by Ken Foster at 5/14/2004 5:10:45 AM
Can someone please fill me in on the different set ups for the actionscript
panel in MX versed Professional. Is it true that MX has retained the normal
expert mode. Whereas Professional has opted for a different set up??
... more >>
trace if the level is not used
Posted by JiZhang at 5/14/2004 3:45:12 AM
I want to dynamically attach movieClips to the stage in different levels.
Is there a way to check if a level is not used before I attach the movieClip?... more >>
trace gives "undefined" for variable type
Posted by eliptus at 5/14/2004 3:17:41 AM
var totalbytes = _root.getBytesTotal();
_root.getBytesTotal();
trace(totalbytes);
This returns the amount of bytes in the output window when I trace the
variable however when I do the following using "_framesloaded(); and trace my
vaiable "test1" the output window shows undefined.
... more >>
preloader for external swf
Posted by mali perica at 5/14/2004 2:24:12 AM
so i have one main swf movie wich got his preloader in first frame:
stop();
loadInterval = setInterval(preloader, 10);
function preloader() {
if (getBytesLoaded()>=getBytesTotal()) {
gotoAndPlay("ok");
clearInterval(loadInterval);
}
}
that is ok. but now i have 350 swf mo... more >>
Problem with parsed variable
Posted by S1n0Byt3}: at 5/14/2004 1:59:39 AM
I am using php>flash for a catalog system that I am building. I have it
betatesting to a localize text file. Upon loading the variables, it does this
fine, however, when it comes to the conversion, I am hitting a literal brick
wall. Somevariable="2", but when I convert it comes out NaN. or wor... more >>
dynamic loading of links
Posted by marcjones51 at 5/14/2004 1:58:29 AM
Investigating how to build a dyanamic web site in flash...the idea is i load a
movie with text and video; based on content in the movie, the user selects one
of several links; based on the selection, the application retrieves a new set
of content (text, video, new links) and plays. Again, base... more >>
Dynamically generated movie clip
Posted by WyrdMagick at 5/14/2004 1:40:18 AM
I'm generating an empty movie clip using the createEmptyMovieClip method. Once
it's created I load an image into it and set the position, which works fine.
The problem is that the onRelease method isn't working properly. I want this
movie clip to act as a thubnail that when clicked, will call... more >>
if Frame Loaded
Posted by eliptus at 5/14/2004 1:08:13 AM
Hi I am writing some preloaders for various parts of a site that I am
developing and would like to know if anyone can shed some light on the
ifFrameLoaded action.
I have written several percentage based loaders but I have a situation where I
want to check if a certain frame or frame label ... more >>
|