all groups > flash actionscript > april 2004 > threads for friday april 23
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
I need some guidance on this. Thank You.
Posted by Miguel Dias Moura at 4/23/2004 10:56:30 PM
Hello,
i am using Flash MX 2004 and Actionscript 2.0.
I am starting a new flash project and i need some information before i start
it. My questions are:
1. I need to be able to receive/send data from/to a database from my flash
web site. What is your advice? I am completly lost.
SQL, ... more >>
cellrenderer and dragging
Posted by ctvrtlik at 4/23/2004 10:07:27 PM
any reasons why the following snippet doesn't work in a cellrenderer?
function onPress() {
trace("pressed");
var newclip = this.duplicateMovieClip("newClip", DepthManager.kTopmost);
newclip.onPress = function() {
trace("xxx " + this);
this._alpha = 50;
thi... more >>
Please, someone help me. dynamic folders and file
Posted by exor? at 4/23/2004 9:10:07 PM
this is what i know, someone please help me. i know now that Flash does not
have the ability to create files and folder on the hard drive [which sux, but
is ok]. i do also know that director has the ability to create and write to
external text files.
however, i don't know if director has t... more >>
Dynamic Movie Clip construct
Posted by tofletch at 4/23/2004 7:57:30 PM
hello,
I'm attempting to dynamically place a ComboBox on the scene, and then
dynamically add items to the drop down list - all from XML. As I parse through
my XML file, when I encounter a specific type of entry, I want to create a
dropdown list that contains information from the childNode... more >>
_x and _y not working..
Posted by art1234 at 4/23/2004 7:55:36 PM
I've been trying to attach and place on the screen the four instances of a
button. I can see that the instances were created because when I hardcoded
(button1_btn._x=300; for example) it does work. But the result that I have with
the following code are, four instances of that button placed at ... more >>
Can actionscript screenshot?
Posted by Graff|ti at 4/23/2004 7:47:49 PM
Can Actionscript create instant images(I'm thinking image files, or as Flash graphics) of the flash screen at a given time during movie play?... more >>
Best way (if any) to send variables to disk?
Posted by Graff|ti at 4/23/2004 7:43:50 PM
Can Actionscript save variables to local disk? Sharedobject doesn't seem to
work & I don't want to store variables in Cookies, but in files(any kind will
do)
I know Macromedia Director does that. Can I write some lines in my flash movie
so that when it's being run by Director, it will tell D... more >>
ScrollPane Component missing functionality?
Posted by ZekieD at 4/23/2004 7:17:30 PM
I'm having trouble using the ScrollPane component with a movie clip that has a
dynamic size.
My scrollpane represents a timeline to which the user can add events, thereby
stretching the size of the movie clip designated as myScrollPane.content.
However, when myScrollPane.content grows beyon... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
target different levels
Posted by jdudan at 4/23/2004 6:53:59 PM
Hello.
I am trying to target a frame in level1 from level0. The button on level0 has
this code on it.
on (release) {
_level1.gotoAndStop(1);
}
This does not work.
Thanks very much for any help.
... more >>
Won't gotoAndPlay next scene
Posted by Projectionist at 4/23/2004 6:35:25 PM
I have a question I don't know if anyone knows the answer but I thought I'd ask.
Here is the URL I am working on.
www.benwood.net/corrigo.html
What I would like to happen is that once the movies have played the user is
taken to another page. I thought this might be a simple gotoAndPlay ... more >>
compiling external actionscript
Posted by face7hill at 4/23/2004 6:20:18 PM
Hello folks,
When I compile an .swf from a .fla using an external actionscript file (e.g.
#include "actionscript.as"), every time the .swf runs, does it read the
external .as file? Or is it compiled into the .swf when you create it in the
Flash environment?
Thank you very much for yo... more >>
Using a URL variable
Posted by JustWorkAlreadyGeez at 4/23/2004 6:14:32 PM
I'm wondering how (or if) Flash can use a URL variable passed into it in a
conditional statement. I've tried guessing at the syntax in a million forms
and I've found nothing in the help. I even notice one old posting with the
same question on this form that was never answered.
Basically,... more >>
using setInterval to move object
Posted by eazy at 4/23/2004 5:28:18 PM
Hi, I'm having trouble using setInterval to move an object across the screen.
I have four links that are suppossed to move an object (a movie clip
containing different backgrounds) to various positions on the stage. I'm using
a function to determine where the new location needs to be, and tha... more >>
executing dynamic AS?
Posted by Roger at 4/23/2004 4:57:29 PM
Hi all,
If there a way to execute dynamic AS at runtime? What I'm trying to do is
something like this:
operator = "+";
a = 1;
b = 1;
execute("c=a"+operator+"b");
//so now c should be 2.
TIA,
Roger
... more >>
Need help on project
Posted by Heros_Darkness at 4/23/2004 4:44:20 PM
I got choosen along with 2 others to make a educational game for kids in 1st,
2nd and 3rd grade. We got most of the information we required but there are
still a few things we need to know. Most of all we are makeing a type of
sidescroller game and we need to make it so when the character move... more >>
Goofy! Background is a link (and shouldnt be)
Posted by Meggles78 at 4/23/2004 4:38:17 PM
I've built a website using Mason, Perl, and Flash. For some reason, most of my
Flash components have backgrounds that when clicked on direct to another page
on the site (different pages for IE and Safari). I've tried making setting the
wmode to transparent windowless (actually, I've tried th... more >>
target scene in different swf
Posted by jdudan at 4/23/2004 4:20:45 PM
Hello.
I have one swf in level1 that has a different set of buttons in different
scenes. I would like to target this swf with the level0 swf buttons. How can
I target a scene in a swf on a different level?
I would also like to play the unload of the current scene of buttons before it
... more >>
Flash MX 2004
Posted by Blackpromise at 4/23/2004 4:05:39 PM
What are the difference betwwen the two editions ?
Darren
... more >>
AS2: classes
Posted by michael nieuwenhuizen at 4/23/2004 3:40:25 PM
maybe a silly question, as i just had my first look at MX2004, but ...
in AS2, why do classes have to be stored in external .as files? why
can't they be part of the movie?
mike
--
portfolio: http://www.acousticshock.com
recent flash experiments: http://www.michaeln.demon.nl/test
... more >>
swapDepths Trouble
Posted by damonkohler at 4/23/2004 2:53:58 PM
I have a scene where I have some draggable objects. I'm using swapDepths to
make sure the dragged object is on top. My problem is, if I go to another frame
that is not supposed to contain those draggable objects, any objects that were
dragged previously will show up. They will also show up if ... more >>
external swfs loading in IE on PC,but nowhere else
Posted by OneDanShow at 4/23/2004 2:53:54 PM
Hello everyone,
I'm currently programming an online campus map for Auburn University in
Alabama. You can see the test version here:
[L=Click here]http://www.onedanshow.com/map/[/L]
If you visit the map in IE on the PC, all the building images, which are
external swf files, will load... more >>
How to embed images files
Posted by FRANIK at 4/23/2004 1:11:15 PM
I have a small problem.
Client wants to change images in swf file [b]himself[/b].
So I would like to know how to prepare swf file to import extern pictures from
exact folder with exact name.
Similiar to importing video file.
Help.
If you have already any fla file send me please to my e... more >>
Focus on textField!
Posted by Gerrard at 4/23/2004 12:26:02 PM
I have a couple of text fields on stage and I want the active text field (where
the marker/cursor is) to be highlighted.
Any ideas on how to accomplish this?
I thought of making a MC with the highlighted backgrounds for every field in
different frames. I also know I can use getFocus(), but I... more >>
Radio Button in MC
Posted by Orbit3000 at 4/23/2004 12:22:38 PM
I need to get the state of a radio button (say r1) in a movie clip (say MC1).
How can I do this?... more >>
I need help from whoever considers himself a guru
Posted by radoo at 4/23/2004 11:43:57 AM
yes, that's wright!
I fount the detection kit, the system.capabilities thing and lots of stuff in
my research...
I want to integrate perfectly flash in (x)html, including detection of player,
download, auto selecting user's resolution and stretchiing the html page
accordingly, switching th... more >>
Stop my external SWFs loading topleft.
Posted by iane at 4/23/2004 11:35:53 AM
I have a movie which loads external images into a blank MC on the main
timeline. Only problem is, all images load at the topleft point of the blank
MC. All images are different sizes and I just want them to load centered on the
screen, not top left. Is there an easy way around this?
... more >>
How to make transitions
Posted by Jason Cook at 4/23/2004 11:08:55 AM
How can I do a transition like http://www.windowsmedia.com/MediaGuide/Home
I'm not getting linear gradient masks to work, and am at a loss.
Thank you
... more >>
Looping Script
Posted by evilpixel at 4/23/2004 9:54:27 AM
Does anyone know if it is possible to control the speed at which a scripted
loop runs?
i.e. I have a script which goes:
for (y=0; y<400; y++) {
_root.instanceName._x ++;
}
But it goes so fast that the instance is moved straight to the end point, but
I want it to animate across ... more >>
Store a .swf
Posted by hiswords at 4/23/2004 9:53:05 AM
Hi guys,
Is it able to on - _parent.loader.loadMovie("session01.swf")
_parent.loader.loadMovie("session02.swf")
_parent.loader.loadMovie("session03.swf")
load these movies all into the loader at once and store it in some variab... more >>
Controller
Posted by evilpixel at 4/23/2004 8:55:29 AM
I have a Flash movie where I want to have different backgrounds moving in, I
have this working with a controller:
Frame 1: stop();
Frame 5: _root.instanceName._x +=10;
Frame 6: if (_root.instanceName._x == 500) {
gotoAndStop(1);
} else {
gotoAndPlay(5);
}
This works fine b... more >>
Where does persistant shared object reside?
Posted by Keoki_SoftwareDeveloper at 4/23/2004 7:14:03 AM
Where is the local shared object "cookie" on the hard drive?... more >>
SWC going once, SWC going twice,...
Posted by geut at 4/23/2004 5:36:40 AM
This is the third time i'm asking for a scrollbar component ( a .swc file) but
it seems no one has it. Therefore if you have any ideea hot to make that or
where to get it from, please share it with me.
thanks, geut.
... more >>
another weird problem
Posted by JiZhang at 4/23/2004 5:17:01 AM
the same syntax of <img> tag works for 1 file but not the other.... more >>
How to call from actionscript to C# or VB.net?
Posted by Mr flash eye at 4/23/2004 5:08:49 AM
when i click a button, it should call/send variables o to C#.
please help!... more >>
very weird problem with movie size
Posted by JiZhang at 4/23/2004 4:51:51 AM
I have deleted everything of a movie including the library files but the saved moive file is 3mb. What is wrong with it?... more >>
Setting var to have 2 numbers after decimal point
Posted by OniLink at 4/23/2004 4:34:09 AM
Hi,
Im having a problem converting a grand total price to have 2 decimal places
even when there are no cents.
Here is my code:
--------------------------------------------------------------------------------
-----------------------------------------------------------------------
onC... more >>
Different Frame Rate on one movie is Possible
Posted by jahanzaib at 4/23/2004 3:49:27 AM
Hi , i was working on a music palyer project . My main movie has 24 frm
rate.And the music file which was to load has 12 frm rate . When i Test my
movie . The music file(With moving picture) was playing with the frm rate of 24
.. But the next time when i Test this movie again , It was playing ... more >>
need array help... big time
Posted by eljefeloco101 at 4/23/2004 3:46:17 AM
I've been working with Josha Davis' tutorial from Flash To the Core
(http://flashtothecore.praystation.com/) on chapter 21 -- It's an awesome book,
book the way he uses an array for this tutorial is a bit beyond my skill level.
here's the code:
for (i=0; i<max; i++) {
// attach new item... more >>
simple password
Posted by KeithJohnson at 4/23/2004 3:29:39 AM
Has something changed with putting a simple password on a page that checks
compares a name and password.
I was able to do it in the past but for some reason with mx 2004 I can't get
it to work.
on (release, keyPress "<Enter>") {
if ((name == "Keith") && (password == "test")) {
gotoAn... more >>
simple password
Posted by KeithJohnson at 4/23/2004 3:29:28 AM
Has something changed with putting a simple password on a page that checks
compares a name and password.
I was able to do it in the past but for some reason with mx 2004 I can't get
it to work.
on (release, keyPress "<Enter>") {
if ((name == "Keith") && (password == "test")) {
gotoAn... more >>
XMLSocket.send not working
Posted by sneakyimp at 4/23/2004 2:31:26 AM
i have a simple flash movie that i'm using to test my PHP socket server. the
XMLSocket.send command is getting no results.
my onData handler for my socket, defined in frame 1, seems to work. mySocket
is a global var defined and initialized successfully in frame 1.
when the connection i... more >>
Input Text & Key Listener Conflict
Posted by CSEd2 at 4/23/2004 2:04:27 AM
I am attempting to set up an input text box such that when I press the ENTER
key I can proceed to other frames. In the first frame, I have placed the
myKeyDown function below:
//--- Set up listener for key stroke and function for key down
function myKeyDown() {
if (Key.getCode() == Ke... more >>
Can a preloader display custom integers
Posted by amdorsey at 4/23/2004 2:01:05 AM
For example, instead of writing actionscript to display percentages (i.e.
0-100%) Can you say, write a custom script to display an amount to another (e.g
1767-1840 - begin at 1767 and count up to 1840)
... more >>
_global Variables and Dynamic Text Boxes
Posted by Chris Hayes at 4/23/2004 1:21:50 AM
I don't see it documented anywhere, nor have I heard it mentioned but it
appears that Flash has a problem displaying _global variable values in
dynamic text boxes when setting the var property in the property inspector.
I am not able to display the variable successfully using just the var
prop... more >>
|