all groups > flash actionscript > june 2004 > threads for wednesday june 9
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
Dynamic Text Linking
Posted by army gd at 6/9/2004 10:09:59 PM
I need to know if there is a way to link individual lines of text within a
scrolling text box to specific frames (within the same movie) or other movies
without turning each line into a stand-alone button. The text box is being used
as a menu selection area.
Thanks
... more >>
partial load preloader
Posted by JFalk1 at 6/9/2004 10:00:35 PM
I am trying to create a preloader that will load half of the swf document, and
then play. I have tried everything I can think of and have only been able to
create a preloader that plays after the entire file is loaded. Can somebody
tell me how to do this?
Thanks a lot
Justin
... more >>
Opening PDFs using getURL method
Posted by Crocke at 6/9/2004 9:13:26 PM
Hello I am having problems telling Flash to load PDFs within a specific window.
I am creating a Flash projector (.exe and hqx) using Flash Professional 2004.
Here is the code I have:
on (release){
getURL("pdfs/myFile.pdf", "_parent");
}
This works fine each time I tell Flash to o... more >>
Open image in new window
Posted by mleonard77 at 6/9/2004 8:43:36 PM
Is there an easy way to open a larger image (800x600) in a new window by
clicking on the medium sized image within the flash movie? Also, do I need 2
different image files to do this? One at 800x600 and another medium size of
the same image, or can I just instert the larger one and Flash wil... more >>
dynamic button problem
Posted by xcyclopx at 6/9/2004 7:21:42 PM
Hello.
I create a list of button MC (MovieClips) from data from PHP with
attachMovie(). the button shows data and when it's clicked it call a function
with a variable. And then shows another MC wich do another request containing
the variable received. everything is sweet. Except that on... more >>
Changing color based on a Variable
Posted by Larry.russell at 6/9/2004 6:20:34 PM
I am new to actionscript and I am having a bit of a problem. I have an oval
that I would like to change color based on a variable. Such as if Variable
s1=green the oval is green. Is there a way to do this?
... more >>
Cannot get AttachMovie to work
Posted by Lumber Jack at 6/9/2004 6:12:49 PM
Cannot get AttachMovie to work
Can somone supply or point me to a BASIC code example of how to implement AttachMovie command.
I tried the Flash reference example without success.... more >>
Perpetual loop for one armed bandit
Posted by Mark at 6/9/2004 5:38:17 PM
I need to build a "one-armed-bandit" for a user.
I'm going to build an animated strip, bit like http://www.gsk.com/index.htm,
where the spinning wheel slows down to rest at the desired icon, e.g. the
lemon.
How do I build the strip so I can keep on spinning it through several
rotations, sin... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
onKeyUp problems
Posted by fullyarmed at 6/9/2004 5:35:48 PM
Evening all,
I'm trying to wipe out a variable when any key on the keyboard is released.
I've tried:
_root.onKeyUp = function() {
delete _root.left_correct;
};
with no joy - then also
_root.onKeyUp = function() {
if (Key.getCode() == Key.LEFT) {
delete _root.left_correct;
}
... more >>
Please send me your Quiz Template .fla's
Posted by stevenjs at 6/9/2004 5:11:59 PM
Greetings,
For some reason there are no up or down state alpha fields in my Component
Inspector for the Hot Spot Learning Interaction component in Flash MX 2004.
Everything's there as discussed in the documentation, except the crucial alpha
boxes. I tried uninstalling and re-installing F... more >>
Scrollpane text indent
Posted by dlcmpls at 6/9/2004 4:42:42 PM
Hi all
I am getting desperate to solve my problem!!
I am using a scrollpane to display text. The text will be scrolled up and down
within the scrollpane. The idea is to have a scrollpane that lists my client's
schedule. There could be up to 30 items at any time, so I thought a scrollpane... more >>
Slide Show Using a Database?
Posted by MyFlashMXIN at 6/9/2004 4:20:22 PM
I seen this free sample: http://www.flash-here.com/downloads/fhslide.html This
slide show is pulling the files from a directory using php, not quite what I
need but a good idea... Still I would love to see the AS behind it... Anyways
on to my point....
It game me an idea for a new project.... more >>
Works with 6 not with 7
Posted by MDiogo at 6/9/2004 3:47:45 PM
I have the following function.
function getdigit (digit)
{
if (length (display) < 6)
{
if (display == "")
{
display = digit;
}
else
{
display = display + digit;
}
}
}
This is to insert numbers in a dynamic text box with a variable name
"display"
Then i hav... more >>
Trouble getting scrollPane working w/attachMovie
Posted by charleuts at 6/9/2004 3:47:32 PM
Hello, I am using the attachMovie method to populate a scrollPane. Problem is
I cannot seem to get the scrollbars to appear at all and/or the scrollPane to
refresh and automatically put scrollbars in if needed. I have tried all the
following methods in my script (commented out). Does anyone... more >>
Building in a delay...
Posted by MikeMalphurs at 6/9/2004 3:18:54 PM
Hello-
I am doing a Flash animation that has no functionality. It will simply play
straight through the timeline. In the past, if I wanted, say, a 10 second pause
in the movie, I would just add the appropriate number of frames to the
timeline. But I was wondering if there was an alternativ... more >>
Javascript: how to pass literals
Posted by VooDoo Chicken at 6/9/2004 3:09:50 PM
hi, i dont really do javascript, so what i use are things i find in the web and
whatever i can do with those changing it as i suppose its done as long as i
dont need to read the tutorial, so please if you see more mistakes besides of
the one pointed let me know.
i am trying to use a function... more >>
How to make datagrid.columnNames dynamic??
Posted by arno at 6/9/2004 3:06:59 PM
Hi,
I want the following with dynamic data:
datagrid.columnNames = ["Amount", "Code", "price", "Description",
"totalprice"];
To fill I use:
dataGrid.addItem({Amount:partList[i], Code:i,
price:languageArray[configObj.currentLang]["munt"] + " " + priceStr2,
Description:languageArray[configO... more >>
Numeric values not displaying with dynamic menus
Posted by mleefiend at 6/9/2004 2:28:37 PM
We have dynamically generated dropdown menus and for some reason numeric values
are not showing up. Alpha values show up fine but if you have a combination
such as "Euro 2004", only the "Euro" portion of the string displays. Has
anyone encountered this and knows how to fix it?
We have th... more >>
Load Scenes
Posted by cg_ at 6/9/2004 2:22:26 PM
I have a movie tha has 4 scenes. Each Scene has its own loader using the "if
frame loaded" command to keep it simple. The thing is that if i go from scene
one to scene 4 the loader from tha scene does not work.... i understand why...
the timeline is still loading scene 2 or 3 ... is there a wa... more >>
TextFormat object, but I can't get it to work.
Posted by cjf3rules at 6/9/2004 2:12:06 PM
This is really starting to annoy me. I've tried numerous alternatives, but
can't get this script to work. So I now ask the scripting gurus for help. Any
advice is appreciated. (I'm trying to control the appearance of text that's in
a dynamic text field)
-----------------
testing = "T... more >>
Listener's (Flash MX)
Posted by bjcustoms at 6/9/2004 1:55:49 PM
If I had 12 text fields on an object and needed to "listen" for, say, sequential changes on each one, it would be best to create one listener and move it from text field to text field, right?... more >>
Waiting for a variable to change
Posted by coulterk at 6/9/2004 1:22:10 PM
I have a movie that goes up and down the timeline and I want to control it from
a variable. My script is along the lines of:
if (ButtonValue ==1){
this.onEnterFrame = function () {
if (_root._currentframe == 15) {
gotoAndStop (89);
} else {
_root.prevFrame ();
}
};
... more >>
Putting db data in dynamic text ??
Posted by UsualSuspect at 6/9/2004 1:00:52 PM
I have a DB, I used PHP to store data in it...
I just can't retrieve the info and show it on the swf scene...
My PHP page is not the same the swf is in..
If you have a simple PHP and actionscript code that I could use... I searched
a lot on the net yesterday... Everything is too compli... more >>
BUG ?
Posted by Chris B at 6/9/2004 12:59:56 PM
Anyone care to check why the text is blurring in the movie
mx preofessional 2004
FLA and SWF provided here
http://www.planetchris.co.uk/testing/
chris... more >>
Neat navbar, a little slow
Posted by krunchy at 6/9/2004 12:37:24 PM
Proud of this navbar, take a look, but its not running very smoothly. anyone
know how I could get it to run better? the boxes are kind of jerky. Thanks,
krunchy
http://www.highercirclesmusic.com/temp
... more >>
Timer Trouble
Posted by sjslovechild at 6/9/2004 12:36:56 PM
Below is a timer script that someone was kind enough to post. It uses an array
to pic one movie from a set to play after a certain amount of time has passed.
I have two problems.
1. the longer the script runs it seems to have a cascadeing effect. Running
more and more movies at the same ti... more >>
Passing parameters to a function
Posted by MaartenBel at 6/9/2004 11:48:15 AM
I've already spend HOURS on this "simple" problem, so please please help me.
My application consists of four components, which are all attached to a
class-file (as file)
In one of those classes, i made the following function:
function setNeedsAfterAction(optionarray:Array,id:Number)
... more >>
including external actionscript at runtime???
Posted by Dave at 6/9/2004 11:40:12 AM
Is it at all possible to include an external actionscript file on demand at
runtime? I know all about loadVars, but this is different. I'd love to be
able to edit an external "config" file rather than having to open the .fla
file every time I make a small change.
I've RTFM'd, looked all over... more >>
Moving On (k)
Posted by W. Kirk Lutz at 6/9/2004 11:35:54 AM
I'm having trouble kicking my movie onto the nextFrame of the main
timeline while using an external .as files.
Here's the script(external .as file) I have attached to multiple objects
in my main timeline:
current_x = this._x;
current_y = this._y;
if (Counter<>10) {
this._x = current_x-... more >>
preloading issues
Posted by mediacitizen at 6/9/2004 11:33:25 AM
Hi all,
I have a couple of preloaders which work fine for basic flash movies. However,
it doesn't work when loading a swf into a blank movie clip...
I'm loading external swfs into my main flash movie using the following code:
loadMovie ("folio_viz.swf","empty"); which obviously just rep... more >>
IF and Else problem,
Posted by bantwanlee at 6/9/2004 11:33:04 AM
I facing a problem for the if (MyNum=="1").. below is the sample I create
____
if (wall == bg1)
{
this.background.loadMovie ("http://www.outpost.com.my/background/bg01.swf");
}
else
{
if (wall == bg2)
{
this.background.loadMovie ("http://www.outpost.com.my/background/bg0... more >>
HELP with Variables ?
Posted by Chris B at 6/9/2004 11:19:42 AM
Can anyone explain why this works:
_root.animationcontroller.animation1.gotoAndPlay(2);
BUT this BELOW doesnt (when used in the below function - playanimx
doesn
seem to be recognised!), even though the trace shows it up as
-- "animation1" which is how I want to refer to it ?
var... more >>
Calling custom actionscript methods from jascript
Posted by ramesh_mbabu at 6/9/2004 10:41:29 AM
How can one invoke a user defined action script method from a java script? An example will be helpful... more >>
click on button to transfer an image from CD
Posted by EdMX at 6/9/2004 9:00:36 AM
I'm producing a photo gallery project with a sequence of images on CD, I want
inexperienced users to have the option to click on a button and save the images
to their local drive via the 'save as' dialog box.
It seems a pretty simple operation - any ideas how this might be done?
... more >>
Close Window Component
Posted by Jadro at 6/9/2004 7:55:48 AM
I have opened window from button that is in movie clip on main timeline.
Code attached on button:
on (release){myWindow = mx.managers.PopUpManager.createPopUp(_root,
mx.containers.Window, true, {title:"Video -Crkva Sv. Jakova",
contentPath:"swf/video_crkva.swf", closeButton:true});
myW... more >>
Help! Can Actionscript call/run .exe file?
Posted by janice_2k at 6/9/2004 7:31:35 AM
Dear gurus and members.
I am a newbie in Flash and Actionscript. Hope you can share some knowledge and
expertise with me. I plan to create a button on my website, using Flash &
Actionscript that checks for a .txt file. If the file exists, the actionscript
will call and run the software(name:... more >>
getUrl
Posted by loofa at 6/9/2004 4:43:16 AM
ok i'm trying to open this url in a new window how do i do it?
getURL("http://www.gravity226.com/main", .................);
what do i put?
thank you
Tommy... more >>
control _root timeline from a button inside MC
Posted by mgcarley at 6/9/2004 4:38:24 AM
gidday everyone,
i have a bit of a weird issue - i'm creating a small website for a client (2
scenes), and its nearly finished apart from some functionality. one of those
unfinished bits is the navigation. The navigation is a movie clip with a button
on each layer. now, the content of the ... more >>
Different frame depending on what is keyed
Posted by runescape at 6/9/2004 4:26:15 AM
Hi,
I am trying to create a program that leads the user to the frame depending on what he/her keys in.
How do I do so?
Anyone have any sample or methods?
... more >>
slide show - pic fading in and out
Posted by jplymale at 6/9/2004 2:31:56 AM
My sister got me the flash mx for my birthday, i just gt it a few weeks ago, i
have made a basic slidesho for my website out of pictures of my wedding. but
what i want to do is make each picture fade in and out automatically. Does
anyone care to tell me how to do this? I am very new to flash s... more >>
X++ Hell
Posted by Cookra at 6/9/2004 1:41:30 AM
Hi All,
Its late and I guess ive been working to long.
I have a button which I need to run a simple counter
on(press){
x++;
trace(x);
trace(this._parent._parent.product[x]);
}
For some reason x returns Nan every click... What am i doing wrong here?
2004 mx Pro
... more >>
Can someone explain in English how to....
Posted by Rayzor at 6/9/2004 12:54:50 AM
I am new to action script and I was wondering if there is a relitively easy way to produce drop down menu's in Flash.
thanks... more >>
|