all groups > flash actionscript > september 2004 > threads for friday september 24
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
Playing through a stop command
Posted by clcarter at 9/24/2004 11:51:01 PM
I have a this.stop() command in frame 1 of the main timeline on a screen, but the movie plays right through it. Is there something I'm missing?
Please help!... more >>
loading remote data(text/plain) into flash player
Posted by cotona at 9/24/2004 11:05:26 PM
Hi,
I need to load remote data from a php script into Flash Player. The script?s
output formatted as text/plan and look like this:
some text in this line
more text in this line
more text...
I can?t use getURL because it don?t load data into Flash Player, only into a
browser. ok?
... more >>
seed random
Posted by abeall at 9/24/2004 11:00:52 PM
I am wondering if it's possible to seed a random number in Flash? Or if there is a good alternative for simulating a random number thus I can predict/replicate the numbers produced?
TIA... more >>
Intermittent loadMovie failure
Posted by Cloudette at 9/24/2004 10:50:12 PM
I have made a website that is practically 100% flash. I have a main flash
movie that has all the navigational items on it. All the content that is
displayed when the user is clicking on the main menu buttons are external swf
files that I load into an MC in the main swf file. I notice that onc... more >>
Action based on TIME OF DAY
Posted by DJSeebs at 9/24/2004 10:30:34 PM
I'm a little new with Flash so I'm not sure how hard this would be.
What I'm trying to do is, on release of a button, goto frame N, IF the time of
day is between TIME1 and TIME2, goto frame Y if time is between TIME 2 and TIME
3, etc....
Any tips or suggestions here?
... more >>
passing variables with loadMovieNum() ?
Posted by garroyo at 9/24/2004 10:07:53 PM
So I understand how to use loadMovieNum() to load movies on different levels,
but I am having trouble using it to pass variables. I read the help, and don't
quite understand how to implement the post and the get.
Movie A loads movie B which loads movie C. So I have a variable in movie A
... more >>
First three data grid rows are empty!
Posted by Al Baker at 9/24/2004 9:46:47 PM
The following .as file is a test to place ten lines of data into a datagrid.
The first three rows are blank and rows 4 through 10 contain the fourth through
tenth objects as they should. Why don't the first three objects appear?
import mx.controls.Alert;
import mx.controls.Butt... more >>
Can I dynamically remove parts of a mask?
Posted by SharkAttack at 9/24/2004 9:45:07 PM
I am using the mouse over to dynamically add to the mask layer, but can I remove parts of the mask?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
hitTest from a duplicated MC
Posted by chicken king at 9/24/2004 8:31:41 PM
hi...
i have a movieclip (let's call it "BOX") which is inside another MC (let's
call it "WALL")
the "WALL" MC is being perpetually duplicated via duplicate movie clip
i don't seem to be able to get the "BOX" MC inside the duplicated "WALL" MCs
to check for contact with a third MC (l... more >>
What does this do?
Posted by davidv42 at 9/24/2004 8:31:30 PM
Does anyone know what section refers to? Is it targeting a frame label in a
flash movie? or is it targeting something different? In the code below, I was
trying to figure out what "section" refers to in the following example:
document.write('<EMBED src="../nav_interior.swf" flashvars="sectio... more >>
Tweak to scrollable text field available?
Posted by kevin_tx at 9/24/2004 8:16:24 PM
Ok I can get the scrollable text box working by adding the following
actionscript to the "up button" using the following actionscript:
on(release)
{
scrolltext.scroll -=1;
}
For the down button I used the following:
on(release)
{
scrolltext.scroll +=1;
}
Ok, ... more >>
cached dynamic text
Posted by jay NO[at]SPAM grunt at 9/24/2004 7:46:15 PM
Hello everyone,
I have a small error that occurs only on windows and not macintosh. I Don't
use windows often (except to play Unreal) so i'm not sure how to address this
issue. I made a little guestbook that through Flash passes new entries to
ColdFusion that appends the text to a text fi... more >>
Discovering the name of a movie through Script?
Posted by Bahaar at 9/24/2004 7:29:21 PM
I have a large movie that uses createBlankMovieClip(), then later loadMovie()
to load in a sort of sub-movie. When the submovie is playing, the larger movie
is paused. Once the submovie finishes, it does a gotoAndPlay to a flag on the
large movie. The flag is the same name as the small mov... more >>
Controlling main movie via button in movie clip
Posted by stratcat900 at 9/24/2004 7:15:17 PM
I'm trying to have a button in a movie clip move the main movie to a new scene. I've coded the button as follows:
on (release) {
_level0.gotoAndPlay("Post", 1);
}
... more >>
Is my question stupid?
Posted by AkronNick at 9/24/2004 7:15:03 PM
Or am I just asking it wrong?
I have a presentation built with screens. The media playback component sits
in the main presentaiton slide, so it shows on every sub screen. The screens
change based on cuepoints. However, sometimes I want to change to a screen and
have some code that will ... more >>
actionscript tween
Posted by Tolk at 9/24/2004 6:58:10 PM
Hi prb quite an easy question to awnser:
I need to find out how to tween a mc using actionscript rather than using
frames. Im using flash mx and in help i said 'Note: You can also create
animation programmatically using ActionScript to change the properties of an
object, symbol, or instance.... more >>
simple buttons?
Posted by Carnivore at 9/24/2004 6:02:21 PM
so my problem is that this:
on (release) {
this.onRelease = function() {
getURL("index.php?page=topics", "_self");
};
}
doesn't really do anything when published. I'm sure there's a tiny tickbox
saying "enable hootenannys" somewhere, but I can't find it. help?
... more >>
How to open PDFs in Flash
Posted by cvgood1 at 9/24/2004 5:40:12 PM
Is there any way to import or open a PDF file in Flash. i am working on a CD
that has PDFs that need to open through a title/button but have been unable to
access PDFs in Flash?
Is there a secret hand shake or 'abra kadabra' action?
thanks for any help.
cvgood
... more >>
Send mail over full screen site
Posted by Hentschke at 9/24/2004 5:39:55 PM
hi, im having problems trying to send an e-mail over my full screen site.
Its strange, cause it works perfecttly when its not in full... I guess the
problem may be the java script ( window.open ). Can someone give me some
coordinates or solutions?
Thanks in advance.
... more >>
Percentage preloader problem. Please help!
Posted by Spindrift at 9/24/2004 5:30:04 PM
Hi all,
Thank you for the interest in my post...
I have two scenes in my Flash MX movie. The first, is a percentage preloader
and the second scene is the main movie.
For the percentage preloader, I want it to only load up to frame 115 of 218 as
after frame 115, each section has its o... more >>
target path help
Posted by Rookie10 at 9/24/2004 5:20:09 PM
I have a movie with several movie clips embedded into different frames of other
movie clips. If I need to communicate from a clip on the root of my movie to a
clip in a specific frame inside another movie clip that sits on the root of my
movie as well, how do i write the target path for that? ... more >>
Frame Rate
Posted by ginoDog at 9/24/2004 5:07:52 PM
Hi all,
I'm building a file using my own components which need a difference time frame
each , so -
since the file frame rate in determent by the _root frame rate I'm looking for
a way to change the frame rate of the difference Timelines using actionScript
(not by changing it in the Proper... more >>
Loading text files into a flash movie
Posted by Denver Designer at 9/24/2004 5:06:14 PM
I created a photo gallery template in Flash MX using code that erroring in
Flash MX 2004:
**Warning** Symbol=main image text, layer=text decription, frame=1:Line 1:
Case-insensitive identifier 'loadVars' will obscure built-in object 'LoadVars'.
loadText = new loadVars();
**Warning... more >>
TextInput Component backgroundColor
Posted by USF_kid at 9/24/2004 5:04:39 PM
I searched through the Flash help pages but I'm still not clear on how to
change the backgroundColor of the TextInput Component. Could someone please
tell me how to accomplish this?
Thanks in advance.
... more >>
Copy/Paste MC
Posted by bhg at 9/24/2004 4:26:29 PM
When I copy paste an mc with hitTest, the hitTest doesn't work. Here is the
script:
onClipEvent (load) {
var speedx = 20;
var speedy = random(20)+10;
}
onClipEvent (enterFrame) {
this._y += speedy;
if (this._y>=500) {
this._y = -80;
this._x = random(400)+50;
} ... more >>
converting a functions variable into a string
Posted by ssavage02 at 9/24/2004 4:24:11 PM
I have many audio clips that i wish to stream, i am attempting to create a
function that looks like this:
nar = function (narName)
{
narName = new Sound ();
narName.loadSound (narName + " _medium.mp3", true);
narName.setVolume = 100;
};
The problem is the line that reads:
... more >>
Window Component - Prevent Drag?
Posted by CuPoJava at 9/24/2004 3:45:38 PM
Is there any way to prevent the window component from being dragged?
Also, is there any way to get rid of the halo gradient in the datagrid headers?... more >>
loadMovie vs attachMovie
Posted by iaustin at 9/24/2004 3:06:54 PM
Hello,
Using MX2004:
From the main timeline and button action I use...
loadMovie("clip.swf", 100);//loads but, appear on top of my clip
attachMovie("clip", "_level300");//loads but; under the swf file.
When I load a movie then attach a clip from the library and even though I
assg... more >>
Drag n' drop problems (script inside)
Posted by EricLanteigne at 9/24/2004 2:40:44 PM
Hi all!
I have a problem with my drageable object when the users drag the object
outside the limit of the Flash stage in a HTML page. It seem like it lose it's
_.x and ._y coordonates. It will followed the cursor when it returns to the
stage but it can be drop anywhere on the stage after t... more >>
onMetaData & totalTime not working
Posted by jfarjo at 9/24/2004 2:20:08 PM
I've spent the last couple hours installing - reinstalling... updating trying
every fix... but I cannot get onMetaData to work...
this COULD be because the FLV was generated by FCS.... does it now throw in
any meta data?
And what about totalTime? Is that not compliant with FLV's genera... more >>
pause() flv with actionscript when screen appears
Posted by AkronNick at 9/24/2004 2:15:24 PM
Hi,
I am using the video template that jumps to screens based on cuepoints in the
movie matching up with screennames. On some of the screens, I would like to
pause the flv automatically, then let the user start the movie again by pushing
a play button.
Could someone help me with the... more >>
Stupid Question...
Posted by JohnwG at 9/24/2004 2:08:37 PM
I have a stupid question, I created to different movie clips on the main
stage... inside each movie clip I placed
a button... I need both buttons to import different movie clips from the
library... but every time I put this code on
it just imports the same movie for both buttons??? Why?
... more >>
How to show the PHP variable in SWF file?
Posted by Filinchik at 9/24/2004 1:07:29 PM
Hello,
Please help me how to show a contents of PHP variable in my flash movie?
Thanks, Alex.... more >>
Too fast for flash?
Posted by logeye at 9/24/2004 12:44:40 PM
I am loading swfs into levels. The first frame is blank with a stop action.
Everything works except for two instances.
first if I loadMovieNum("file.swf",2); and tell it _level2.gotoAndPlay(2);
from the same button command, it loads the swf but it does not go to frame(2).
It stays in frame... more >>
Hidden Commands in a Textfield or XML File
Posted by _|ascha at 9/24/2004 12:16:20 PM
Hi I want to read a text from a XML File wich is displayed in a Textfield. This
file should also have Actionscript commands to control the Flash Movie.
The Commands should control the FLV Movie position, wich is played
synchonioues to the Text.
Is that possible?
regards,
Jascha
... more >>
dyn text - Symbol % doesn't show
Posted by ejerez at 9/24/2004 12:09:51 PM
I try to load text from a file but some content is lost when the variable is
loaded.
For example:
(in the file)
area_a=Package 4 = Offsites 84%
(in the flash movie, dynamic field)
Package 4 = Ofsites 84
The symbol % is missing. What I need to do to show this symbol?
Thanks in ... more >>
News blog using PHP, MySQL, and Flash
Posted by mentalyptic at 9/24/2004 11:34:03 AM
I've made a news blog using PHP and MySQL. Everything works fine as far as that
goes, however, I want to have flash load the entries into the .swf. I've
followed several tutorials 2-3 times and still can't get any of them to work.
I've been to webmonkey, hotscripts, actionscripts.org, macromed... more >>
Grid Cellrenderer sample
Posted by Marco Santelli at 9/24/2004 11:24:11 AM
Hi all,
does anyone know where to find a sample on how to use the grid =
cellrenderer property?
I'd like to understand how to put conditional movieclip in order to =
apper on the list.
thanks
Marco... more >>
scrollpane - dynamic mc problem.
Posted by voxel at 9/24/2004 10:32:03 AM
I have a movie clip of which the contents are dynmically generated - a looping
duplicate movie clip and repositioning. The problem i have is placing the
"finished" clip in a scrollpane. As it stands now i have a button setting the
scroll contents of the clip but it is setting it as it's origin... more >>
Duplicate Movie in a mask...part 2
Posted by phil ashby at 9/24/2004 10:12:37 AM
Hi all,
posted a message earlier about placing a duplicated mc in a mask and got
answer...however...
My app creates dynamically named mc's and then places them in a mask...e.g
_level0.green_box.duplicateMovieClip("gb"+_root.boxcounter,_root.boxcounter)
tempinstancename = eval("_lev... more >>
AS2 - Firefox and base param
Posted by jaypl at 9/24/2004 9:04:39 AM
Morning all,
I encoutnered a bit of an issue with an xml navigation i've built. Within the
html page I've had to add another parameter to the html( <param name="BASE"
value="."> ) to get the external XML to load properly. It now works fine in IE
but not in Firefox. Should this fix the issue ... more >>
while loop problem?
Posted by direct-ed at 9/24/2004 8:40:34 AM
Hey guys, can anybody see a problem with this loop, it says its an infinite
loop.
_root.jane is a mc on the main timeline, it has the following code on each of
its frames
only the _root. part forward, the on frame bit is to indicate frame numbers
for you guys.
on frame 1 _root... more >>
addListener through an internet browser
Posted by MigWit at 9/24/2004 8:20:03 AM
Hi all,
OI have an swf in whcih actions are triggered by key presses, for this I use
the following code:
myListener = new Object();
myListener.onKeyDown = keyPressed; // keyPressed then carrys out the action
Key.addListener(myListener);
this works fine when I export the swf but w... more >>
Add enctype="multipart/form-data" with Form Action
Posted by josephrwalters at 9/24/2004 8:05:33 AM
Does anybody know of a way to include a: enctype="multipart/form-data" - along
with the Action/location of a JSP script, in order to process a form in flash?
I have tried everything the past few weeks.
This is the action I currently have added to my Submit Button, but need to
include the ... more >>
Bypassing the Preloader
Posted by Pockless at 9/24/2004 7:18:58 AM
I'm afraid my action script knowledge is fairly basic - my strengths in Flash
are as an animator. But here's what I'm trying to do for a project I'm
finishing today.
I have a number of 3 or 4 minute movies (about 3 or 4 MB each) with a
standard preloader that shows percentage loaded. It w... more >>
external editor
Posted by carlobensi at 9/24/2004 6:28:10 AM
does anyone know of an external script editor for flash MX 2004.
I'd prefer if it could replace the built-in editor completely.
Thanks, Carlo... more >>
Internet Connection Checking
Posted by MIPL at 9/24/2004 5:08:14 AM
Hi there,
I am using the following code in flash MX2004 to check the internet
connectivity. This is working fine when I run this file from a standalone
environment or from a server in the same domain where the checking URL
(http://www.google.com in the below code) is in.
ActionScript... more >>
dynamic placement of input text box
Posted by e_jogendra at 9/24/2004 5:04:12 AM
Hi every body
Now i am creating a elerning module containing some "Fill the blanks"
interactive. Where the question is dynamically generated and based on content
provided in xml file. My problem is how i place a "dynamic input box"
dynamically perticularly x and y position of the input tex... more >>
Two Atoms Run Into Each Other at a Bar (hitTest)
Posted by Happy Camper at 9/24/2004 3:10:35 AM
I have 10 electrons & 10 argon atoms. Circles moving around inside of movie
clips for our purposes. They can't cross each other. So I need to use hit
test to make them move back to the beginning of their respective movie clip
timeline when an electron crosses an argon. All the movie clips ... more >>
Accesing a movie clip's properties in a button?
Posted by Daro28 at 9/24/2004 2:50:33 AM
Is it possible (and if so, how?) to access a movie clip's properties which
resides inside a button instance?
Let's say i have a mc called box which I'm using as a background in a button
called btn , I want to change box's properties with an action from the root
timeline
eg. I want to c... more >>
Placing a time delay on a function.....i think
Posted by Shmooter at 9/24/2004 1:30:52 AM
Hi
I wanted to know how to set a 5 second time delay before a gotoAndStop( ); function is envoked
what statement to you use setTime, setInterval setSomething help?!?
Thanks... more >>
Creating a data structure
Posted by choffman NO[at]SPAM austin.rr.com at 9/24/2004 1:24:48 AM
I want to create an array of data records. How do I do something
like:
Name [string]
Description [string]
Properties [integer]
Carryable [logical]
as an array. Thanks.
... more >>
What is this called and how is it done?
Posted by Lime_Shmoo at 9/24/2004 1:11:46 AM
How is the navigation structure in this site: http://www.kurtnoble.com developed. What is this called. Where do I look for tutorials on developing something like this.
All help appreciated.... more >>
|