all groups > flash actionscript > february 2005 > threads for thursday february 17
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
loading dynamic text issues
Posted by zfoster at 2/17/2005 11:52:48 PM
My issues that I am loading in text from a text file... everything works fine.
I publish my .swf and I can see the text in the .swf file when I double click
on the .swf. My issue is when I try to embed the .swf in a html file that is
not in the same directory as the .txt file and .swf file..... more >>
Can anyone please help me!?
Posted by Spindrift at 2/17/2005 11:48:07 PM
Hello there, Thank you for reading this. I have an .fla of my Flash MX movie
where I am trying to scroll a dynamic text box with a non-stretchable tracker
down the side. After many attempts at trying to make it work, it has all come
to nothing and I'm nearing my deadline so I was wondering ... more >>
Arrow pointing to a button
Posted by Alakrity Stamina at 2/17/2005 11:19:37 PM
Hi there, I need that an arrow point to one of the four buttons that I have
created around a circle, when the cursor move over one of the buttons, the
arrow must be between the circle and the buttons, I hope you to understand
me.:moon;:music;
... more >>
Need help for php forum login ! Thanks
Posted by InfernGames at 2/17/2005 11:12:25 PM
This script wont work for a phpbb2 forum login from flash. got any ideas ? I
got 2 text boxes on the mid left and a submit button.
on (release)
{
//Goto Webpage Behavior
getURL("Login.php?username="+username
+"&password=" +password);
//End Behavior
}
Whats my mi... more >>
Need help for php forum
Posted by InfernGames at 2/17/2005 11:12:04 PM
This script wont work for a phpbb2 forum login from flash. got any ideas ? I
got 2 text boxes on the mid left and a submit button.
on (release)
{
//Goto Webpage Behavior
getURL("Login.php?username="+username
+"&password=" +password);
//End Behavior
}
Whats my mi... more >>
Mac Issues
Posted by Triynko at 2/17/2005 10:42:35 PM
My code takes the text froma TextField, gets font metrics data for character
from an external Adobe Font Metric file (because flash's font metric methods
are inaccurate), then it does line/word breaking and rebuilds the paragraph
using individual movie clips for each word. The words line up p... more >>
gradually fade in
Posted by alicethomas78 at 2/17/2005 10:34:47 PM
I want to the movie clip to fade in gradually when the user clicks on the
button. What I have so far is just increasing the alpha every time when the
user clicks on the button. Can anyone help me?
stop();
mc1._alpha=0;
function fade() {
var nFadeSpeed = 15;
mc1._alpha += nFadeSpe... more >>
"Visble - true or false" only loads up when user interacts with swf
Posted by Rob_jones732000 at 2/17/2005 10:32:58 PM
An example of this is here: http://www.iso-land.com/newtest1.swf Theres two
copies of the bed and wardrobe, they are set to either: visible true or false
One copy is above the character and one below so that it looks like he's going
behind and in front of them. The two copies have double... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Fade away as loading
Posted by GhettoFabFlah at 2/17/2005 10:07:53 PM
I was wondering how to have a movie Clip fade away as the flash document
loaded. So like when it was at 50% loaded, the alpha would be 50%. Does anyone
know how to do this? (I'm so bad at this actionscript) ANyway if anyone could
help it'd be greatly appreciated!
... more >>
Quick SharedObject Question
Posted by gungus at 2/17/2005 9:31:04 PM
Hi,
I'm creating a site that when a user visits for the first time, they are asked
to enter a name before they enter the site.
I would like to make it so that on subsequent visits, they are already
recognized. and skip the user name step.
The code to drop the SO follows:
// ... more >>
What's the deal with CustomButton - can't create one...
Posted by orangechicken at 2/17/2005 9:29:40 PM
OK, so I was going through Moock's recent post about skinning components (yeah
I'm a little behind with that... I've always just rolled-my-own but am trying
to move to the v2 components for rapid prototyping). He briefly mentions at the
end about using CustomButton to create custom skins for b... more >>
Pausing a frame
Posted by libra37 at 2/17/2005 8:11:15 PM
How do I pause 1 frame for five second then go to another?... more >>
Preloader loads all scenes instead of 1 at a time
Posted by Rob_jones732000 at 2/17/2005 7:55:13 PM
I have an isometric game that contains many scenes, my current preloader loads
all the scene's at once. How do i make the preloader load each scene separate?
It should be layed out like this: preloader 1 scene 1 preloader 2 scene 2
preloader 3 scene 3 I want it to only preload scene 1 and w... more >>
how do you pause (not stop) audio?
Posted by thewizzard24 at 2/17/2005 7:29:40 PM
Hello all,
I am not new to flash, but newer to some of its more advanced actionScript
functions. I am trying to create a presentation that utilizes a voice-over
narration for a slide show. But I want to be able to pause the audio. I know
how to create sound objects and manipulate them i... more >>
reference to array element won't work
Posted by scottPadgett at 2/17/2005 7:24:07 PM
Hi, I can't figure out what my problem is here. This code exists on frame 1
of _root and it sets up onRelease() functions for 4 buttons that exist in the
movie. The part of this code that's NOT working is the lines:
this._parent._parent.statusObject.screenState =
this._parent._p... more >>
Attaching a UIScrollBar to a Dynamic TextBox?
Posted by j1e1g1 at 2/17/2005 6:57:58 PM
I' have a dynamic textbox with a variable name, which I load text into via the
loadVariables() function when my .swf loads. I'm trying to attach a
UIScrollBar to the textbox in typical fashion (drop the UIScrollBar component
into the textbox). My text will display properly, and it is nearly ... more >>
arguments is an array with variable length
Posted by (_seb_) at 2/17/2005 6:46:33 PM
Hi
I have a drag function, with 2 variables: 'myMC', and 'obstacles'.
'myMC' is the MC to be dragged, and 'obstacles' are the MCs that the
dragged MC shouldn't be dragged on top off. So the function checks for
'obstacles' hitTests, and if it encounters a hitTest, it stops the
dragging. Her... more >>
Hiding Symbols
Posted by dtburdick at 2/17/2005 6:19:43 PM
This is my first Flash project, please pardon if this is stupid. I'm building
a CD with buttons that load content into a main box. I created separate layers
each with a Movie symbol. That movie then will do what it needs to do, be it
load text into a textbox or display a table of PowerPoint... more >>
new Date Created from Variable HELP!!!
Posted by helloyall at 2/17/2005 6:08:08 PM
ok... trying to create a dateChooser Component, that when certain dates are
selected, certain text would appear in a textbox. here is the code so far...
the code that is comented is just some options i was also trying. I could
really use help on this. I am not a beginner, yet am not quite ... more >>
im nearly there but......
Posted by vikta at 2/17/2005 5:41:18 PM
ok then....
basically i have a collection of 16 movie clips (not different instances of
the same clip) named tile1-tile16. Each tile has a differnt amount of coins on
it and the tiles shuffle position randomly every time the application loads up.
Ok...... each tile movieclip has two fra... more >>
Looking for Exit script
Posted by bwiegand at 2/17/2005 5:41:04 PM
I am creating a short presentation in Flash that will be published to an .exe
and burned to CD to send to customers. I have incorporated buttons for them to
move through the CD (between .swf movies) but have also included an Exit button
that I'd like them to be able to use when they want to ex... more >>
loading 3 movies over and over....
Posted by Brian at 2/17/2005 5:05:25 PM
I have a root movie, into which I would like to load a movieA. Once
MovieA is done, it will tell the root movie to load the next movie,
movieB into the next level above movieA. Then the same will happen with
another movie, movieC. When movieC is done, it will load movieA again
into the next ... more >>
unloading actionscript
Posted by IndieMonkey at 2/17/2005 4:05:20 PM
Hello anybody, I am designing a game that stores a number of variables, then
if you get it wrong in the game it goes back to the previous frames to start
again... the only problem is that the original variables remain stored! I was
wondering if there is a to clear them like in director mx o... more >>
show variable value in dynamic text field
Posted by (_seb_) at 2/17/2005 4:02:50 PM
Hi all
I am duplicating MCs at runtime and each time the MC duplicates, I
incrmemnt the value of a variable:
sb_num = 1;
sb.duplicateMovieClip("sb"+sb_num, sb_num);
sb_num++;
so now I want to see the value of sb_num in a dynamic textfield, at anytime.
So I created a dynamic textf... more >>
Loading variables into Flash from PHP
Posted by Scott Bishop at 2/17/2005 3:55:16 PM
I'm wondering if anyone can help me with loading variables into Flash from a
PHP page. I have seen this topic on the forums and most deal with loading text
files and examples so far haven't helped.
Here's the (very basic) situation. I have two PHP pages, one with a form,
submitting the... more >>
onMotionFinished - specific newbie problem
Posted by PixelFool at 2/17/2005 3:52:25 PM
Apologies for the newbie post!
I'm wondering if and how I can insert "onMotionfinished" into this script.
What I really want is : After the first two changeClip actions are finished, I
want the third changeClip to happen.
Any ideas? THANKS!
:o
bprevention.onPress = function () {... more >>
onMotionFinished - specific newbie problem
Posted by PixelFool at 2/17/2005 3:51:35 PM
Apologies for the newbie post!
I'm wondering if and how I can insert "onMotionfinished" into this script.
What I really want is : After the first two changeClip actions are finished, I
want the third changeClip to happen.
Any ideas? THANKS!
bprevention.onPress = function () {
var b... more >>
Fade using ActionScript
Posted by cytron247 at 2/17/2005 3:35:51 PM
I have my students creating an operating system in Flash (well, at least the
design of one!) and they click on the Display properties window and another
movie clip is loaded into Level 1 which lets them change the display color of
the background.
When they click the X to close the window, ... more >>
Need help - javascript:openwindow
Posted by Dave Mennenoh at 2/17/2005 3:25:28 PM
I need to open a browser from Flash, but I'm doing something wrong
evidently.
In Flash, I have a movie clip named picButton. Then I have this in a frame
script:
picButton.onRelease = function(){
getURL("javascript:launchwin('map.htm' , 'newwindow' ,
'height=150,width=300'");
}
... more >>
How can I call a function name stored in a string?
Posted by MCR at 2/17/2005 3:17:05 PM
If I have the name of a function I wish to call in a string who can I use it to call the function. I have tried this but it does not work
aFunc='myFunc'
_root.eval(aFunc+'()')
TIA
Kevin
... more >>
Can I assign three values to a single variable?
Posted by cjf3rules at 2/17/2005 3:09:46 PM
Hi. I'm working on a multiple choice quiz and have a variable defined to hold
the correct option. The variable is called 'correctAnswer'. What I'm trying to
say, via actionscript, is that 'correctAnswer can equal option[1], option[2],
OR option[3].' (i.e., any of those 3 selections would be c... more >>
Confused About Local Variables
Posted by Bahaar at 2/17/2005 2:58:11 PM
I thought I understood that a local variable (either with or without the var
keyword) were lost after the handler exited. However, when I was demonstrating
this idea, I found out that this didn't seem to be the case. Perhaps my
example was just wrong...so I'll post here what I did and let yo... more >>
rollover rollout animation
Posted by caarts at 2/17/2005 2:33:52 PM
Hi there- hope someone can help. I have a movie clip that when you rollover an
animation plays. When you rollout the animation reverses. This works fine but
I want the entire rollover animation to play in full before it rolls out. Here
is the code. my_mc.onEnterFrame = function() { if (th... more >>
movieclip to play after hitting a button
Posted by Bruiser98 at 2/17/2005 2:29:26 PM
So I have a textbox, a button, and a movieclip. I want the user to have to
enter something in the text box to activate the button, which upon press of
said button, will then play the movie clip. FOr the life of me I cannot figure
this out. So far in the root timeline I have this...
stop();... more >>
Show / Hide Layers on a page?
Posted by Tim Kline at 2/17/2005 2:23:21 PM
I work for a travel company and I'm building an interactive hotel map, it's got
a list box and when you select a hotel and it shows you where it is on the
map.. pretty basic I guess.. Each hotel is on it's own frame of a movie clip
when you select one it just jumps to that frame.
I was goi... more >>
masking a text field
Posted by Ken Mosley at 2/17/2005 2:05:00 PM
Is it possible to mask a text field to a determined format?
Example: ssn(xxx-xx-xxx)... more >>
Action script to blur an image
Posted by shivali78 at 2/17/2005 1:55:10 PM
Hi,
I m designing a FLASH website & trying to drop an effect like dentsu.com
website's home page. I want transition effect similar like that which is
controlled by mouse movement.
Thanks in advance :)
... more >>
loadVariables vs. variables attached to url
Posted by SeanMcAuliffe at 2/17/2005 1:21:45 PM
The ultimate goal here is to be able to load a variable from a php file that is
the name of a jpg, let's say "test.jpg." Then, I'd like to use this variable in
the loadMovie function to fill in the url argument. For the sake of simplicity,
I'm using a txt file for now.
Text file has the fo... more >>
Relode
Posted by Jettemakaron at 2/17/2005 1:20:16 PM
On my site http://http://club.hattrick.org/rdrt but when u click around in the site the banner relode in every page, is ther anything i can do to make it stopp doing that?... more >>
Flash and firefox
Posted by Jettemakaron at 2/17/2005 1:14:16 PM
My banner dosen`t work in firefox so i need some help fixing it.
My code right now is:
(object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=7,0,0,0" width="880" height="170" id="banner" align="m... more >>
*Will* pay someone to help me - Tight deadline - Dynamic scrolling text
Posted by Tanya at 2/17/2005 1:03:43 PM
Hello all,
I've now spent FAR too much time trying to troubleshoot this issue, with
absolutely no success. I have Flash MX 2004 Pro 7.2 installed.
Here's the problem: I'm loading data into a template using an XML document.
This works great. No problems there. The problem lies in the UISc... more >>
move me
Posted by markatari at 2/17/2005 12:34:23 PM
Hi
Just wondered if anyone knew what the actionscript term 'move' does/is?
If you type this into the Actionscript window it turns blue so the code
recognizes it. However there is no mention of it in the actionscript dictionary
or the online actionscript dictionary.
It may be a proper... more >>
Photo Fx Actionscript!!
Posted by xwhyzed at 2/17/2005 12:29:00 PM
Anybody knows how to generate this great fx with AS?
(Theres some sample code but..)
http://yugop.com/ver3/index.asp?id=26
Thanks,
Oliver... more >>
Action scripts in movie clips
Posted by Russ at 2/17/2005 11:44:26 AM
Scripts within move clips don't work I have a menu which is within a movie
clip I have added actios to the button within one movie clip and I want it
to set the frame of another
on (release){
_root.main_mc.gotoAndStop("n_frame");
}
Help.
... more >>
how to play a movie clip to the next frame after stopping
Posted by Hunnie at 2/17/2005 11:24:13 AM
Hello. I am creating an animated slideshow of multiple images. The animation
has about 4000frames. When loaded it plays automatically. I have four buttons:
previous, play, stop, and next. The problem im having is the play button. I
would like for the animation to play continuously after it has... more >>
bat file telling flash projector what to do
Posted by ChuckyLeFrek at 2/17/2005 10:33:14 AM
I have a bit of a problem. I am developing an app in Flash MX 2004 that runs
alongside another executable. Basically the other executable has been created
by another party and all this other executable can do is launch another
executable. Basically this other executable has some buttons in i... more >>
asfunction- highlight text that was clicked on
Posted by Eric Kuhn at 2/17/2005 9:54:01 AM
I am using an asfunction on text to call a function - works great.
What i want to know is if there is a way for the text that was clicked on to
be changed (ie underlined - changed to bold- etc) after it has been clicked
on.
Below is a stripped down version with just the basices.
_globa... more >>
fast forward/rewind
Posted by ScooterMX at 2/17/2005 9:50:33 AM
I've got some learning content thats pretty lengthy, and the client wants to
create a rewind/fast fwd function (yes, I tried to convince them to shorten
the content...alas)
The concern is that the content uses scenes.
I can create a rewind based on gotoAndPlay (-x from the current) but what
... more >>
why isn't he doing the alpha setting and...
Posted by PDS at 2/17/2005 8:59:54 AM
why is he not doing the button settings alpha and enabled in the on =
(press) AS ?
this is the AS I have in the button :
on (press) {
naam =3D "Nadine";
geboren=3D"22 november 1918";
overleden=3D"2 februari 2005";
echtgenoot=3D"weduwe van de heer pds";
uitvaartdat=3D"zaterda... more >>
Display HTML content in flash
Posted by rhythmofrain at 2/17/2005 6:40:24 AM
Please help me to display the html content in flash,
I know only few html tags are supported in Flash,
Is there any way to read <table> tag and display table in flash,
Please tell me also if any third party component is available for
this.:confused;
... more >>
Advice required for converting Flash MX file to MX 2004
Posted by Sharnika at 2/17/2005 4:39:47 AM
Hi.
I've been using a custom-made Drag-n-drop app built in Flash MX as a template
to create many apps.
Have just upgraded to a new machine with Flash MX 2004, but found that the
template and created apps that I need to edit now do not run the same (eg.
skips frames, movie clip behaviour... more >>
Components and paths
Posted by dmcdonald at 2/17/2005 4:08:46 AM
Good Evening, am having trouble figuring out the very basic paths. This is what
I have: A main movie that is loading external .swf's one after another in
succession (my shell). With one of my external .swf's, I have a Flash MX
ScrollPane component loading a movie clip stored in the library... more >>
gotoAndStop and frames
Posted by kptgreg2 at 2/17/2005 3:33:19 AM
I have a movie inside a Scrollpane that I want to stop playing when a user
clicks on it. My movie has 100 frames and I want it to stop on whichever frame
is currently being played. I made an invisible button overtop of the
scrollpane and added the following code: on (release) {
BigScro... more >>
Flash Error on Mac - Script slow in loading
Posted by KayWije at 2/17/2005 3:07:51 AM
Our application was developed with a Flash front end, .NET and C# interactions
to a SQLServer Database. The application works perfectly in a windows
environment on any browser.
Just recently when users login using a Mac (OSX & Netscape) the system gives
and error saying the system is slow... more >>
JSFL Obfuscater Tool
Posted by mspres at 2/17/2005 2:58:53 AM
Hi, I have several JSFL's that I need to obfuscate the same way that
Macromedia does to protect MY intellectual property. Can someone at Macromedia
or elsewhere tell me how to obfuscate these the same way that Macromedia has
obfuscated theirs. Is there already a Macromedia tool for this or... more >>
email
Posted by Cheatachu72 at 2/17/2005 2:53:51 AM
im doing a site for my brother and im new to flash and wondering what i should write in the actionscript to have the client's email service pop-up when they click on the button... more >>
load movie from CD
Posted by Widya at 2/17/2005 1:53:25 AM
I have a website that uses lots of video. I already use Sorenson Squeeze to
compress my videos, but to cater to my audience with dial-up connection, I want
to distribute the videos onto a CD-ROM, and be able to load the videos into my
swf files on my website. Is this possible? If so, how do I... more >>
Getting URL
Posted by JohnnyDang at 2/17/2005 1:24:27 AM
Is there action script that can capture the url in the browsers address bar? I'd like to give a user a link that had a variable at the end, like www.website.com?variable
Thanks.... more >>
Login
Posted by gungus at 2/17/2005 12:22:13 AM
Hi all,
I would like to build a site where the first time a user visits, it prompts
them to enter their desired user name. (No password needed)
Then when the user returns after that, the site recognizes them and puts their
user name in a text box for personalization purposes.
(Ideal... more >>
|