all groups > flash actionscript > august 2005 > threads for tuesday august 30
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 31
Repeat a function?
Posted by LSNsaltlamp at 8/30/2005 11:52:44 PM
I am currently using the following function:
onClipEvent (load) {
this._height = (200/(_parent.mission._height/227));
}
But I want this._height to change whenever _parent.mission._height changes.
How do I loop this script?
... more >>
Umm, help with stopping the actions?
Posted by chris4osu32 at 8/30/2005 11:46:40 PM
okay, in my first scene, i have a lot of buttons fading in, then they stop.
heres the prioblem, it keeps going onto the next scene without anything
prompting it to go....the goal is you clcik the buttons to do it, and the
buttons work, it just never gets the chance to stop so you can click it... more >>
determining what's been pressed
Posted by canobeans at 8/30/2005 11:11:29 PM
Hey Folks,
So, anybody know if there's a way to determine which button or movie clip has
been pressed from one global script -- without putting a script in every button
and movie clip in the whole project? Seems like there should be some function
I just don't know about like "Object Under... more >>
need help quick
Posted by dyak6 at 8/30/2005 10:35:46 PM
working on a project, creating cd for corpartion, 26 min to dead line.
need code for a button, that when clicked will eject the cd or just close the window.
please help ... more >>
Action Script Normal Mode?
Posted by Kate_Allan at 8/30/2005 10:06:21 PM
Hi,
I am attempting to learn some basic action script to add behaviours to
buttons. All the tutorials i have looked at including the Macromedia University
Flash 2 course mention that when you press F9 it brings up the action panel
(which it does) and that on the left hand side there will b... more >>
Launching External Applications
Posted by baazil1 at 8/30/2005 9:18:34 PM
I have been researching a few about launching external apps (ie., PowerPoint
Application) and it looks like it can not be done. I would just like someone to
verify for me...
I have a Flash Presentation that will ship on a CD. This CD contains the swf
file along with some mpg, doc and ppt f... more >>
Accessing an array off another array's event
Posted by bwm_razel at 8/30/2005 8:18:50 PM
Alright, as of now, I have a bunch of rollOver/rollOut code in a .as file so
the programmer can just drag a button onto the stage and a popup box, give them
instance names, and it will automatically work. Right now, the code looks like
this, very long:
roll1_btn.onRollOver = function() {
... more >>
random load swfs
Posted by bundas1000 at 8/30/2005 8:10:33 PM
Can some one pls tell me whats wrong with this:
if your swfs need to be named differently e.g fish.swf cheese.swf eggs.swf
then use:
swfArray = new Array('fish','cheese','eggs')
loadMovie(swfArray[Math.round(Math.random()*swfArray.length)]+'.swf')
* I get an error :
**Error** Sce... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
running only twice
Posted by yaniv73 at 8/30/2005 7:47:05 PM
i have this code , i have 15 images in the xml file
the script is getting into my onEnterFrame just once, any idea?
the script:
function loadXML(loaded)
{
if(loaded)
{
xmlNode = this.firstChild;
_global.images = [];
for (var i = 0; i<xmlNode.childNodes.length; i++)
... more >>
Bug with Window Component?
Posted by jbwii at 8/30/2005 7:06:12 PM
I have a flash movie with a preloader that creates a popup window from within a
class .as file.
This works correctly untill I change the "export frame for classes" in the
publish settings to frame 3.
After that change the popupmanager fails to create the new window.
If I reset the expo... more >>
_y is inaccuarate
Posted by LSNsaltlamp at 8/30/2005 6:45:30 PM
Why is it that
onClipEvent (load) {
this._y = (-541);
}
places the clip at a different spot than specifing y as -541 in the properties manager?... more >>
Re: Flash Form with radio buttons to php and email
Posted by rustler2001 at 8/30/2005 12:15:04 PM
Hi Promotional
Just searching the database as I have exactly the same problem as you did a
year ago, have the mailer sorted but cant get some sort of check boxes or
whatever to work, did you ever sort the problem out and get a solution, I would
be very happy if you could show me. rosullivan@... more >>
"goto " problem
Posted by viplex at 8/30/2005 12:14:28 PM
Hi.
I'm using flash 5. How can I jump to specific scenes? Next/Prev is not enough
for me, and
gotoAndPlay ("C", 1);
doesnt go to scene "C", it simply jumps to the next scene. Please someone help
me soon.
Viplex
... more >>
Cant get info from radio buttons...HELP Please!
Posted by rustler2001 at 8/30/2005 12:10:48 PM
I have customised a form that allows the user to fill in the info required and
then send it back to me via a php mailer (have a look at attached, both FLA and
PHP file). I really really desperatley need to have a question in there that
says male or female, but to answer the user must click a r... more >>
MC becomes static after onPressActionscript
Posted by Phladmin at 8/30/2005 12:00:31 PM
Hi,
I've got a flash application with three movieclips. When onRollover the mc
fades in untill 100%, on Rollout to 80 %. This works fine. When I add the
following code :
mc1.onpress = function()
{
gotoAndPlay("labelname");
}
the mc becomes static and the Rollin/out doesn't work... more >>
tapping keyboard query
Posted by stiky at 8/30/2005 11:15:52 AM
Hi All,
I'm working on a little game where I need to propell a rock. I want to give
the player 5 seconds to tap the space bar, the more taps in that time the
further the rock will go.
Is it possible to do this?
And if so, what would the coding look like?
A big ask I know... more >>
Dynamically change MC layer
Posted by chris.. at 8/30/2005 11:10:53 AM
Hello
I am working on a film with MC's that scale on rollover. The
expansion/contraction is controlled by actionscript using the onCiipEvent and
onRollover and onRollout.
Some of the mc's become hidden (onRollover) as they are underneath other movie
clips. I would like to make the acti... more >>
[FLASHMX2004] passare dati da Flash ad ASP
Posted by Alessandro at 8/30/2005 11:06:15 AM
C'è una cosa che sto facendo che mi incuruiosisce non poco e non riesco a
risolvere!!! Sto scrivendo uno script che da Flash deve passare variabili ad
ASP il quale le interpreterà ed estrarrà dati da un DB rispedendoli a Flash
(e questa è una cosa che ho fatto centinaia di volte) con il metodo... more >>
setting Flash Player window to required width and height
Posted by aa at 8/30/2005 10:15:41 AM
I can set the window of the Macromedia Flash Player to full screen using
fscommand("fullscreen", "true");
How do I set it from Action Script to some other width and height?
... more >>
onSoundComplete() with STREAM sound
Posted by totofish at 8/30/2005 8:11:50 AM
Hi there
I'm having truble to call function when sound complete with sound object using
streaming MP3
What Event handler should be use in that case ?
to make it clear: when using stream mathod in sound object -
duration - gives the duration of current track
possition - gives total time... more >>
NEWBs question.. var problem
Posted by bluesbrotha at 8/30/2005 7:54:45 AM
hellou everyone
can someone pleease tell me how to get to a variable in a function?
in my example gtype... here's the code:
function getgame_Result(details){
var gtype = details.items[0].gtype;
}
thx alot
bb
... more >>
flash and xml problem
Posted by yaniv73 at 8/30/2005 6:21:58 AM
HI
what i have is an two xml with image data what i need is to take the
photosTop xml and upload it as an image thumbnail to the tops movieclip
and when you are clicking on one of the thumbnails it is upload a the bigger
image ( photoB in the attributes allthough i didn't make the big phot... more >>
calling a variable for _height
Posted by LSNsaltlamp at 8/30/2005 12:59:22 AM
I am working with a movie where the variable a1h is defined as 0. I have a mc
with the script:
onClipEvent (enterFrame) {
_root.a1._height = 0;
}
This script works properly. However I want the height to be defined by a
variable. But the script:
onClipEvent (enterFrame) {
_root.a1._... more >>
Building a photographers website...
Posted by monkeyboy58393 at 8/30/2005 12:59:08 AM
I am building a website in Flash for a photographer. I need to be able to put
numerous amounts of photos on there. Ne one have any ideas on how to go about
this? Is there any way possible that I can have the photographer be able to
update the pics that are on there?
Should I switch my who... more >>
Trying to work with images - mouse over ....
Posted by fotofundie at 8/30/2005 12:39:05 AM
So i'm trying to make a photographic website, what my goal is, is that when the
user runs the mouse of the image, it will pop up in the middle of the screen in
a larger format. I have my thumbnails positoined where I want them, and I have
tried ti make them each a graphic, button, and movie, b... more >>
color transform : attempting to achieve tint via actionscript
Posted by abeall at 8/30/2005 12:00:00 AM
I have this:
MovieClip.prototype.addProperty("_tint",function(){ return
this._color.getRGB() },function(a){ this._color=new
Color(this);this._color.setRGB(a) });
myMovieClip._tint = 0x990000;
works well enough, basically colorizes the movieClip, but what if I wanted the
color tint to... more >>
properties and local variables
Posted by Popeye the Sailorman at 8/30/2005 12:00:00 AM
HI, Ihave a very simple example of a class that (when it gets instantiated)
shows a movieclip. When I click on the clip a function (doIt) has to be
executed. In the first example it does not work. In the second example it does
work. The only difference is that in the first example obj is a pro... more >>
AS for rectangle Roundness??
Posted by zikey at 8/30/2005 12:00:00 AM
I have writen a class to create a rectangle! code is below:
class DrawClass extends MovieClip {
function DrawClass() {
trace("debug class");
}
function drawRect(x1:Number, y1:Number, x2:Number, y2:Number):Void {
with (this) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x... more >>
loading img into createEmptyMovieClip
Posted by sirtcarlos at 8/30/2005 12:00:00 AM
i used the below code on a previous website that i created in Flash MX. I am
now using MX 2004 and the script does not appear to be working. It will create
and load the text into a new text field, but the images will not load. can
someone take a look at this and let me know if you see what ... more >>
Variable is changed dynamicly, how to use "watch"???
Posted by luciewong at 8/30/2005 12:00:00 AM
HI,
I mean, I can't be the only one, having this question.
A variable is changed dynamicly, so <onChanged> or <onSetFocus> is not the
issue. No direct interacting.
The value of the Flash variable is changed through a button in the Html page.
The new value arrives perfectly in Flash, in m... more >>
Problem with Scenes
Posted by jonathan001 at 8/30/2005 12:00:00 AM
I am working on a project that has two scenes. i am trying to get an image on the first scene to play the second scene when clicked on. How would i do that?... more >>
HELP NOW!
Posted by monkeyboy58393 at 8/30/2005 12:00:00 AM
I need to be able to control the actions for a movieclip...such as play, pause...yeah...
so if neone could supply the actionscript in detail for me that would be great! thnx!
E
... more >>
How do you define a variable with a variable?
Posted by LSNsaltlamp at 8/30/2005 12:00:00 AM
I want to make the value of _global.a1h the same as _global.a1h2. i.e. if
_global.a1h2 = 215 then after my script runs I want the value of _global.a1h to
be 215 also. I tried:
on (release) {
_global.a1h = _global.a1h2;
}
... more >>
How to Post data to DB?
Posted by Lab at 8/30/2005 12:00:00 AM
It's not a problem to read data from MySQL db using PHP and XML to view it
in Flash,
but how to get the data from Flash and send it to php file that will store
in the database?
Previously I used to work only with HTML / PHP / MySQL, but now I've no idea
how to make the same form submition thi... more >>
get url
Posted by dyak6 at 8/30/2005 12:00:00 AM
I have a flash doc, and i have 20 or so buttons and need the code so when they are clicked they download differnt .pdf files, how do I do that... more >>
Site doesn't load on MAC!
Posted by Ticarp at 8/30/2005 12:00:00 AM
Hi people...
I've got a little problem.
a web that doesn't load on MAC.
I don't know what happens. it works perfect on IE, Fireworks e Opera - PC
Browsers.
Did someone here have this problem before?
I'm using a movie that load another swf with the class MovieClipLoader.
here the... more >>
loading image after image
Posted by NutsyNalinda at 8/30/2005 12:00:00 AM
I need to load images in to movie clips. When one image is totally loaded to
movie clip then next image should is load into another empty movie clip. After
finished that loading, 3rd image should be load in to another empty movie clip.
It should continue. All imagers align to vertical and shou... more >>
Hid show layers dynamically?
Posted by ActionScripter1 at 8/30/2005 12:00:00 AM
Is it possible to hide and show lyers dynamically?
Thanks... more >>
Preloader
Posted by Sharkmenace at 8/30/2005 12:00:00 AM
:o
I am using a movie clip on the first frame of the _root timeline to get the
bytes loaded. Then use this information to animate a progress bar. Simple
enough, right? But when it downloads it downloads everything before showing the
loader mc, then it just jumps to the movie. It's probably a... more >>
How to Rorate object couple times?
Posted by Lab at 8/30/2005 12:00:00 AM
I wanted to rotate object couple times, using actions script, but I could
only rotate it one times.
Why I can't rotate it 5 times - aka for 1800' degrees (5x 360)?
... more >>
Problem with XMLSocket.send
Posted by kodex at 8/30/2005 12:00:00 AM
Did someone meet the same problem as me, so when I send the string data over
XMLSocket it works fine, but after near
265 times the string which I send comes to server in corrupted form and it
repeats periodically.. I thought that it was server side bug and wrote the
client part on Borland C... more >>
Liquid Layout not working with preloader animation
Posted by Quasimotolioli at 8/30/2005 12:00:00 AM
I am building a site in which the main content of the site (MC) is always
centered in the window, and the background (MC) is set to stretch to 100% of
the browser width and height. On the first frame of the timeline I have a
preloader.
- Here's where my problem is...
My preloader h... more >>
Flash Runtime Libraries
Posted by eldurihari at 8/30/2005 12:00:00 AM
i have a SWF that loads a MP3 Sound and JPG image from one folder which is
external , Now My question is weather those files which My swf is accessing can
be converted into Local library file Where it can work with out that External
folder
If it can be done
What is the methodology
... more >>
Anybody can explain?
Posted by DGcoder at 8/30/2005 12:00:00 AM
Please can you explain what is JSFL and how to use it.I have got FileSystem
made up by Guy Watson and I am successfully using it in flash with jsfl console
extension, BUT the problem is I DON"T KNOW HOW TO USE JSFL WITHOUT FLASH IDE`
I mean`in .swf or flash executable file.OR is there any othe... more >>
|