all groups > flash actionscript > april 2004 > threads for wednesday april 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
Targetting an element inside of an accordian pane
Posted by Paul Whitham at 4/14/2004 11:50:02 PM
Does anyone know what the correct syntax is to target an element inside of
an accordian pane?
I have a forms base application and prior to loading the accordian I was
able to target a Rich Text Entry component on a form called "Desc" with the
following code
_root.application.Desc.RTE_detail... more >>
using special characters
Posted by nateVeronica at 4/14/2004 11:18:17 PM
Hi could someone please help..
I am using a single quote (') in a text array. But when I call the text and
display it in a text field, the characters immediately after are separated by
about 5 spaces. (eg They' ___ ll)
As you can see its a problem. Now the text array is inside a dou... more >>
Multilevel menu
Posted by Doctor Web at 4/14/2004 11:08:49 PM
I'm creating a multilevel menu, a big menu, it has 4 submenus, the main menu is
vertical (this one can slide down to show the second one) and the others are
horizontal. I've been looking for some script that can help me out, but i
haven't found any. I can manage a 2 submenus , even working wit... more >>
Load variable from ASP file
Posted by paz at 4/14/2004 10:17:55 PM
I'm struggling with loading a single variable from an ASP file into Flash and a
dynamic tex box. I sure I'm missing something obvious. Any suggestions would
be greatly appreciated.
ASP File
<%
Response.write "Comments=This is the sample text."
%>
Flash File
myData = new LoadVar... more >>
Combo Box - Confusion
Posted by Benz862 at 4/14/2004 9:10:53 PM
Is it possible to have a combo box with a list of peoples names, so that once
it it selected I can have a seperate MC or SWF file load into a "placeHolder"
on the same screen? If so, could you please guide me through this process.
Much appreciated.
Glenn
... more >>
Problem with 'if' statement in 'on(press)' script
Posted by Marek FlashUser at 4/14/2004 9:05:27 PM
Hello,
I have been working on a game using Flash MX for the past couple of months and
I have encountered a problem I cannot seem to get around. I have a number of
movie clips that are supposed to be the objects in this game and the player is
supposed to be able to drag them around and drop ... more >>
Re: MenuBar Component Question
Posted by frankgrimes at 4/14/2004 9:02:56 PM
To use the top-level menu option only (no dropdown), try this:
menubar.mbItem200.onRelease = function(){
//some fabulous code
}
The first item added to the menubar is mbItem200, the second is mbItem201, and
so on.
Have fun!
:grimey
... more >>
Flash MX 2004: Button problem
Posted by Anthony at 4/14/2004 9:01:52 PM
Hi,
I want to make a button which alternatively stops the sound and restart
it. The aspect of the button also changes each time it is clicked. I already
managed to do it using a clip and the following script:
on (release) {
if (_root.music == true) {
gotoAndS... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How To Create .AS Files in Flash 2004 Standard
Posted by extravaganza_ at 4/14/2004 8:19:51 PM
I am new to Action Script. I am currently trying to work through the "Training
From The Source" Flash MX 2004 Action Script book and have run into a problem.
It says that I should open a new file of type ".as". I see no option to do
this. Is this something that I can only do from Professional... more >>
using button to remove attached_mc
Posted by Dave_090 at 4/14/2004 8:01:01 PM
Hey!
I need some help.
I have a button (button 1) in a movie clip, and then the movie clip is
attached using actionscript to the root timeline when another button (button 2)
is pressed (button two is on the root timeline).
I need to know how to make button 1 remove the movieclip it is in w... more >>
how to make a null onEnterframe not null
Posted by AngerBeaver at 4/14/2004 7:44:36 PM
I have an onEnterFrame (and although ive read in these forums your not supposed
to use code, thats the way my teacher showed us so far, so bear with me:P
)..............but at a certain time i want to make that onEnterFrame to stop
going into and then later i want to reinstate it.
What ive u... more >>
resume play on mouseOut P.S. attn. URAMI
Posted by stillwaiting at 4/14/2004 7:29:55 PM
I want my movie to play whenever resume playing on mouse out. I removed the
stop(); command from the mc and it now plays when the swf loads but once you
mouseDown it stops the playhead(which is what it is suposed to do). But I
need it to resume on mousOut. As you can tell I'm a beginner but I am
... more >>
URL and Flash
Posted by Mobius Blue at 4/14/2004 7:26:54 PM
I need a way to have a flash file some how detect what URL I'm at so that it
knows what frame to play. Or have the HTML page tell flash to go to a frame
number. Is this possible using HTML or COld Fusion or some other language?
... more >>
setFocus -- can't delete the text
Posted by zero0000 at 4/14/2004 6:55:51 PM
i have set the focus using
Selection.setFocus(instance_name);
that works just fine.
but now when users start typing, they can't delete the text unless they
physically select the text in the box (again).
could use some help.
thanks.
... more >>
actionscript too fast? Urgent help please...
Posted by PaulAnka at 4/14/2004 6:48:22 PM
Hi,
I have to following problem. I have to situations with a moving movieclip.
When the clip is at position x it is "off", and on another position - let's say
y - it is "on".
When my function sais "if it is on, make it off" it does it so fast the the
second "if it is off, make it on" is ... more >>
Delete a single element from an Object
Posted by Dream Lounge at 4/14/2004 6:23:48 PM
How do you delete a single element from an Object (structure)?
When i do this (for example):
delete
_global.Portfolios[_global.PortfolioSelected].Images[_global.ImageSelected];
...then all the properties for this object element are set to "undefined" --
what I need is for the elemen... more >>
Video Sound Volume Control?
Posted by S4Potential at 4/14/2004 6:05:29 PM
How can I control the soundtrack volume of a FLV video from the main timeline? ... more >>
Validate textfield for e-mail address?
Posted by Jay C at 4/14/2004 5:48:09 PM
Could somebody please post an example how you can validate a textfield for a
correct e-mail address?
Any help would be appreciated!
thanks.
J.C.
... more >>
Preloader. Could it be fixed?
Posted by Newsgroup2388 at 4/14/2004 5:46:17 PM
Hello again.
I created a pre-loader using this example:
http://www.actionscript4designers.com/wmg1/preloader.html but is not working on
my site. I would appreciate if anybody could give me an idea what did I miss
when assembling this pre-loader?
Feel free to download and take a look:
... more >>
file uploader issues
Posted by redboxinteractive at 4/14/2004 5:40:19 PM
OK, it was suggested to use YamZBrowser, and I see rave reviews all over the
net for it, however I cant get the damn thing to do squat. I have export thml
set to thier "html with yamzbrowser" and I am useing mx04 but publishing in
f6,as1 so shouldnt be a prob. for reference I am using ie on a ... more >>
Error opening URL
Posted by lingoingo at 4/14/2004 5:24:14 PM
I get an "Error opening URL" in my output window, but when I copy the
URL to the browser everything works fine.
Any ideas?
TIA... more >>
Change color on movie clip inside of a button
Posted by John Burns at 4/14/2004 4:43:07 PM
Is it possible to change the color of a movie clip instance that is inside of a
button (on the up state)?
I have a button with a movie clip on the "Up" state that basically just has 1
frame with a graphic on it. I want to dynamically be able to change the color
of that instance of the mov... more >>
ATTENTION: dCsAitek
Posted by jameslyon at 4/14/2004 4:26:28 PM
I wasn't sure you'd check the professional preloaders post on the 5th page so...
I whipped this up for you to pick apart [L=FLA]http://thinlime.com/misc/designerPreLoader.fla[/L]... more >>
navigate using a variable
Posted by Andra Veraart at 4/14/2004 4:16:21 PM
Hi there (again),
Is it possible to use a variable inside a gotoAndStop-command. If so what
would the syntax be.
What I'm trying to do is, have a user navigate to a part of the flash movie by
choosing options from two menu's.
So I've got a combobox wich gives me the var [i]taal[/i] and... more >>
get data from PHP
Posted by rockclimber at 4/14/2004 4:07:48 PM
I have a dynamic text file on my server I need to get into a Flash movie. I
have a php file that grabs the file and spits it out when asked. Nothing
special, it looks like this:
<?php
$fileName = fopen("data.shtml", "r");
$rawData = fread($fileName, 1024);
$data = trim($rawData);
$da... more >>
Scoping an Event Handler
Posted by jacksiegel at 4/14/2004 3:45:07 PM
I have the following event handler in Frame 1 of my movie:
next_btn.onRelease = function() {
trace("Got Here");
}
This works fine when the next button is on Level 0 of the main movie (in other
words, on the stage). But if I create a new movie clip symbol (named
NewLevel), p... more >>
Change properties of dynamically named buttons
Posted by John Burns at 4/14/2004 3:42:58 PM
I have a map of the US with each state being a different button. The instances
are all named by the 2-letter abbreviation for that state. (Maryland = MD,
Virginia = VA, etc). All of the buttons reside in the root level of the
movie. If I create hard-coded action script on a blank keyframe ... more >>
Variable in Component Value
Posted by Traci Grisham at 4/14/2004 3:42:45 PM
How do you reference a variable in a component's value field? Or can you?
Thanks
Nicki
... more >>
Load variables from ASP file
Posted by kevin NO[at]SPAM pasnik.com at 4/14/2004 3:37:08 PM
I'm struggling with loading a single variable from an ASP file into
Flash and a dynamic text box. I sure I'm missing something obvious.
Any suggestions would be greatly appreciated.
ASP File
<%
Response.write "Comments=This is the sample text."
%>
Flash File
myData = new LoadVars()
myDa... more >>
Need Help: Rollover Delayed Reponse needed
Posted by Schiavoni at 4/14/2004 3:29:28 PM
I have a button that displays a pop-up window on a rollover. However, I do not
want the pop-up window to show until the mouse has remained over the button for
2 seconds.
My action script for the button is simple:
on (rollover) {
gotoAndStop(5);
}
What I need is the code just ... more >>
Controlling multiple swfs !?
Posted by Anth2003 at 4/14/2004 2:02:17 PM
Ok so its been a while since I used Flash so bear with me, my lingo etc may be
a little off. I'm trying to figure out the best way to approach a problem and
wondered whether anyone has any ideas or advice.
Basically I want to have an HTML table with 3 rows. In each row I would like
to have... more >>
changing the look of a flash scroll bar
Posted by propatria at 4/14/2004 2:00:36 PM
hey all, its me... again! but anyway... how do i change the look of a scroll bar in flash?
any answer are helpful, and please dumb them down :) thanks... more >>
instance name displayed on a button
Posted by Andra Veraart at 4/14/2004 1:54:35 PM
Hi there,
I'm trying to create a button that displays it's own instance name, and when
pushed moves to a scene based on it's instance name. For some reason I can't
seem to get to the instance name.
What i've tried so far is a movieclip containing a Dynamic Text with varname
"inhoud".... more >>
Help with fscommand, please!
Posted by abo28 at 4/14/2004 1:40:37 PM
I bought recently an ad server software and I have some problems with the flash
banners. More exactly, I don't know how to make the software count the
clickthroughs.The instructions say the following:
1 define a variable in the javascript code of the campaign:
var MyFinalLink = "http://ww... more >>
Character spacing in Dynamic Text Field
Posted by chrscote at 4/14/2004 1:18:15 PM
I have a flash piece that I'm trying to make look like a computer screen with
Arial text. The text on the screen is spaced out at about a character spacing
of 2. I would like to make this text field a dynamic one, but I can't find a
way to set the spacing of the characters. Does anyone know... more >>
DataGrid contents not showing up
Posted by chieffan at 4/14/2004 12:52:19 PM
Hello, I am playing around with the datagrid and the xml connector in Flash MX
2004. The problem is, when I test the movie (control-->test movie, the text in
the datagrid is not showing. The grid does display where a scroll bar would be
and when I mouse over where the content should be it high... more >>
Linking Flash with external programs
Posted by The bloke from stoke at 4/14/2004 11:33:50 AM
Does anyone know the actionscript or how make a button link to an external
program so that when the user clicks on the button a program such as Microsoft
word would open?
Any help would be much appreciated!
... more >>
for.. looping hit test
Posted by jacubu2 at 4/14/2004 11:24:11 AM
hello All
having a rough time as usual
I am trying to get my head around 2 things
1) the looping bit
for (i=1; i<3; i++) {
setProperty(_root.drag[i],_alpha,20);
{
as an experiment trying to get this code to turn 3 mc drag1,drag2,drag3 turn
20% transparent
2) the act... more >>
AMPERSAND STRING MISSING
Posted by allwyn at 4/14/2004 10:46:56 AM
Hi
I am trying to pass Name Value pair from asp which contains ampersand in
string and posting those variable to my flash action script.My problem is that
I am not getting String after ampersand.I need to retieve the ampersand in
string also.
("loadDatatemp.asp" , "_root.loadtemp", "POST")... more >>
SCORM
Posted by Lars Johansson at 4/14/2004 10:39:27 AM
When sending an LMSInitialize to an LMS, how do I know that the
lmsInitialize command was successfull or not? Is the response returned to my
flash movie in any way, or do I need to create some kind of function in the
html page to return it to flah?
/Lars
... more >>
Access Variable from MC to MC
Posted by Ashish123 at 4/14/2004 10:25:36 AM
Hi
I have a problem in accessing a varible from nested movie clip.
Initially I have nothing on my stage. In my library there are 2 movie clips
which are attached to the root..depending upon the situation. Suppose A & B is
the name of the Movie Clips.
Now A movie clip has again one mov... more >>
Grouping MovieClip
Posted by Manoj vn at 4/14/2004 9:15:26 AM
I am having 5 movie clips on my stage. I had given on press events to the
entire 5 Mclips. Is there is any option to restrict events for all other
movieclips when a particular movie clip is clicked? Is there is anything like
grouping of movie clips?
... more >>
sleep() or wait() function
Posted by Greg_123 at 4/14/2004 9:06:49 AM
Can anyone help me with how to write a Sleep() function?
I have read the other posts on the forum about it, but i am in need of a
function that make the movie sleep for 3 or 4 seconds at a time, so that the
user can assess the output.
Can anyone help???
I thought it might have someth... more >>
Streamed video buffer
Posted by rockstarTom at 4/14/2004 8:41:59 AM
Hi,
I am having trouble with scripting a buffer for my streamed video, can anyone
tell me why?
I have a mc called bufferAni to show when it is buffering. It works the first
time, but then if you drag the playhead or if the playhead catches the load
progress bar it just pauses, when it ... more >>
Initialize Movie Clip as invisible
Posted by rjh at 4/14/2004 6:29:02 AM
Novice question:
At the movie start-
I have a movie clip instance on the stage that I want to have _visible=false
initially and then be able to switch to true with a button click.
I keep getting an error that I need an on Clip event so I may be confused as
to exactly where this property ... more >>
URGENT - Help with function
Posted by Ashish123 at 4/14/2004 6:11:03 AM
Hi
I am creating a tabular format report in flash using XML. And its generating
fine. Now I want to format it by putting a nice strip/band behind records. So
what I did is...created a movie clip for that band (fainted grey color)..and I
want this to appear behind each and every record.
... more >>
Flashnot loading in IE works ok in AOL & Netscape
Posted by stewy007 at 4/14/2004 4:59:48 AM
Any help would be great
here is the link
http://members.ebay.com/ws2/eBayISAPI.dll?ViewUserPage&userid=ebs-racing ... more >>
event handlers
Posted by etg7 at 4/14/2004 4:59:23 AM
can i do this???
delete someMC.onRollOut;
delete someMC.onRollOver;
thx... more >>
zoom in on click
Posted by xezton at 4/14/2004 2:51:21 AM
Hello. My question will hopefully be an easy one to answer.
All I want is to achieve this effect:
http://www.kirupa.com/developer/mx/perspective.htm
but instead of it just [i]happening[/i] when you load the movie
(onClipEvent(enterFrame)), I want the user to have to click the movieclip to... more >>
activate button states from actionscript
Posted by redboxinteractive at 4/14/2004 2:10:12 AM
OK, interesting situation, I am hacking a component to make it behave lisghtly
different. Problem is that I dont exactly understand all of the code in the
component, and its all written in french (*shiver*), so I am hesitant to change
much. So, the easiest solution is to cause some of the but... more >>
Hooking ProgressBar to LoadVars
Posted by spacewalk at 4/14/2004 2:00:58 AM
I'm looking for code samples for making the MX2004 ProgressBar component
reflect the loading state of a LoadVars object. Also for using ProgressBar with
a basic movie preloader. The load to be monitored needs to emit events that
ProgressBar can see. I'm not sure how to do that.
... more >>
help with prevFrame loop
Posted by crash84 at 4/14/2004 1:56:43 AM
Hello... I have a scrolling gallery of photos formatted as a movie clip within
a scene. Its playback is controlled by 2 buttons, one for forward, and one for
reverse. Forward works fine, but I cannot get reverse to continue reversing.
I have stops at each keyframe, so basically what I need... more >>
button and dynamic text
Posted by rubbersoul69 at 4/14/2004 1:56:25 AM
This is proab easy but I don't know flash that great. What I want to do is use
a dynamic text box and a couple of buttons. Say one button is BOB, one TOM and
one SAM. When I click TOM....I want the text to show up in the box saying TOM
and so on......can someone help?
... more >>
Could it be done?
Posted by Newsgroup2388 at 4/14/2004 1:08:57 AM
Hello,
Is there an ActionScript that can be added to a series of movie clips to have
nested movie clips play at a certain location?
Look, I have 4 windows placed outside of the document area in my showcase
page(w1, w2, w3, w4). Each one of these windows have a nested movie clip
(taw_wi... more >>
local MSAccess updates
Posted by frankgrimes at 4/14/2004 12:35:26 AM
Is it possible to update an Access located on a hard drive and not the web?
Or, is it possible to save text in ANY way? I could use local shared objects,
but that doesn't seem the most efficient.
Thanks!
:grimey
... more >>
|