all groups > flash actionscript > september 2005 > threads for tuesday september 20
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
Fading in dynamic jpgs
Posted by nress at 9/20/2005 11:38:53 PM
I am doing a site for a photographer and I am loading in all of his images
dynamically. I was curious if anyone knew how to have the dynamic image fade
in. Below if the code that I am using to call the image. Any help would be
greatly appreciated. Thanks
//code used to call the image
... more >>
Flashtrack volume control
Posted by gijbelsy at 9/20/2005 10:07:04 PM
How to control the volume of a flashtrack file ?
I have a player that loads an flashtrack swf file and starts to play it.
How can I control the volume of this file ?... more >>
Loading button depending page clicked?
Posted by Cotaco at 9/20/2005 9:14:29 PM
I created a top simple navigation menu inside a htm web. I want once you clic
and got to the others html pages a "home" botton appear. How can I do that only
with one movie as navigation inside all the html pages?
Thanks,
Olmo
... more >>
Flash 8 MovieClip.prototype function doesnt work
Posted by poket at 9/20/2005 9:07:45 PM
I had this code that I've used a million times for motion set as a movieclip
function.
MovieClip.prototype.moveit = function (centerx, centery, inertia, k) {
//trace(centerx+","+ centery+","+ inertia+","+ k)
this.x = -this._x+centerx;
this.y = -this._y+centery;
this.xp = this.x... more >>
converting num value to string
Posted by manhattanmediaworks at 9/20/2005 8:54:43 PM
I am just trying to feed a numeric value into a dynamic text field and I am
figuring it ain't working because the text field only accepts strings...how can
I quickly convert a number to string?
something like...
num = 7
myText_txt.text = num // not working
myText_txt.text = string(n... more >>
File upload
Posted by knucklenutz at 9/20/2005 8:38:39 PM
Hey all,
I know this topic has been covered before but I couldn't seem to get a
straight answer from previous posts. I am interested in uploading an image to
a Flash movie. I was hoping to use PHP since I don't have ColdFusion
technology running on my server. I have gathered enough info... more >>
on click action for a botton
Posted by amit_s at 9/20/2005 8:08:01 PM
Hi all, can someone please rewrite this script for me so it actually lunches
the url mentioned. I am having problems doing this. Here is the script;
onRelease getURL("http://www.anshen.com/US/dialogue/dia.ann.html" , "_self");
right now it says there is a syntex error: ( Line 1: Syntax erro... more >>
link in browser problem
Posted by jrsbigfan8 at 9/20/2005 6:03:07 PM
i made a website in flash and then put it into dreamweaver. when i test the
..swf file and the dreamweaver file, the 3 buttons i have (in flash) that link
you to other websites work. but after we got the website up and running, the
files do not work online...they still work in the .swf and d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
movieclip.onkeydown
Posted by dave at 9/20/2005 1:00:54 PM
I have about 20 movieclips on stage which Inchange the colour of when toe
mouse goes over them using my_mc.onRollover.
I would then like that movie clip to respond to key presses but I can't seem
to make the my_mc.onkeydown work
I have the following code on the first frame of each movie clip... more >>
Problem in Multiple sendAndLoad
Posted by guy_logical at 9/20/2005 12:19:38 PM
Hello,
I am trying the following code:
********************************************************************************
**************************
var disconnect_lv = new LoadVars ();
var diconnect_cnf = new LoadVars();
var disconnect_chk = new LoadVars();
var disconnect_final =... more >>
depth() and levels....
Posted by 400$ at 9/20/2005 12:12:30 PM
Hi , doing my preloader I got a bit confused with depth and levels.
I am downloading my preloder in container_mc5 which exsist at depth level 5 on
_level0.And at the same depth level I am loading another swf calledAccueil.Now
for my preloader to work should I put it at a lower depth say 3 and ... more >>
Validation
Posted by xertzux at 9/20/2005 12:07:41 PM
For validation an e-mail address I have the following as part of it:
if (email_ti.text.lastIndexOf(".")<=(email_ti.text.indexOf("@")+2)) {
errors.push("");
}
That code works perfectly fine as for their can only be 1 @ symbol in an
e-mail address.
Then I have:
if (email_ti.te... more >>
third party software to do this.....
Posted by tony at 9/20/2005 10:15:28 AM
Hello
I am running a flash exe file for a Kiosk and my client would like the
program to record what pages have been viewed and how many times so they
know what information is being accessed and at what rate.
I can gather all of this information in flash, but ideally would like it to
writ... more >>
Accurate hittest
Posted by 3141592653589 at 9/20/2005 9:21:01 AM
I've been thinking about this for a while and i need to know if there is a way
in flash mx 2004 to create a 100% acurate hittest in terms of the exact shape
of two objects (not the bounding boxes of one object versus the shape of
another). i mean that two curvy shapes would only return a hit i... more >>
Conditional Interactions help needed.
Posted by Dragnods at 9/20/2005 9:19:48 AM
I am making a fighting game and i need to make 2 variables interact..
here is the progress:
http://adamsodyssey.com/small.html
With the help of mandingo, this is the code i am now using:
The main functional code:
stop()
this.attack = function(attackType){
switch(attackTyp... more >>
MC Wont stop!
Posted by knight42 at 9/20/2005 8:20:28 AM
Hi all,
Im a bit of a newbee and have been banging my head upagainst a brick
wall trying to solve an actionscript problem and I just cant! so im
asking for someones help if possible.
ok im trying to scroll/scan through an MC. So what you end up with,
when you jump pages if the whole thing w... more >>
Flash Crash
Posted by jasonfrncs NO[at]SPAM tiscali.co.uk at 9/20/2005 7:52:00 AM
I have this flash file with some audio files in it which I think is bumping up
the file size quite a bit. At the moment its nearly 2 gigs big and I really
don't think this is necessary. I've tried deleting some of the things in the
library, but it keeps on crashing when I try to save it, so ... more >>
Depth
Posted by wizdreamz at 9/20/2005 7:07:22 AM
Hi
I've come across a sentence like 'The new instance is placed directly
above the parent instance, at a specified depth.
eg.
timeline.createEmptyMovieClip(new name*,depth);
can anyone tell me what 'depth' means?
Thanks
Jaya
... more >>
Preloader
Posted by 400$ at 9/20/2005 6:48:24 AM
Hello,
I want to know can we keep preloader external.To be more clear I am loading
into my target_mc preloader.swf .I want this preloader_swf to check the preload
of another swf called home.swf which will be loaded into the same target_mc.All
this is done thru MovieClipLoader()
What I ... more >>
Dynamic Movie Clip
Posted by kamsky at 9/20/2005 6:32:59 AM
I am Creating Dynamic Mc in the root at (Frame 1), I want to add mouse events to that Mc, Where to code the script in Frame (with sample Plz.)... more >>
change frame rate
Posted by manish vishwakarma at 9/20/2005 6:29:26 AM
Hi Friends,
I want to change frame rate on click. HOW????
i m waiting........... more >>
Dynamic Field Text
Posted by jcavardfromneta at 9/20/2005 12:45:51 AM
why does the dynamic field doesnt look as smooth as the static field (anti-alias I think) and I use arial...
thank you... more >>
menu bar
Posted by 3tBSI at 9/20/2005 12:36:04 AM
im makin a little menu bar for my game and can i have the AS for when the mouse goes over it,it drops down with selections... more >>
mc: Turn alpha to 0 on final frame
Posted by royland at 9/20/2005 12:34:02 AM
Hi Everyone - I hope you can help.
I am still learning Flash but have a very simple yet challenging task.
Scenario
-------------
I have a small video playing inside my movie clip called mvImagine.
mvImagine is playing on its own layer on the main timeline.
Goal
-------
When i... more >>
Flash 8 Hierarchy
Posted by Smoov B at 9/20/2005 12:19:51 AM
So either I'm just being a complete moron or Macromedia changed the pathing
behavior. Everytime I tween a movie clip, Flash loses complete sight of it and
doing a trace reveals that the said MC is undefined - even though it's sitting
there on the stage staring at me. But remove the tween and c... more >>
Differences between AS1 and AS2
Posted by Luka at 9/20/2005 12:00:00 AM
Can someone direct me to the list of all differnces between AS1 and AS2?
Thanks
Luka
... more >>
OK, what the??? Simple onPress actions...
Posted by rangewalker at 9/20/2005 12:00:00 AM
on doing the following...
onPress = function(){
getURL("http://www.yahoo.com");
}
and
my_button.onPress = function(){
getURL("http://www.yahoo.com");
}
and pretty much any variation there of produces an error upon publishing and
doenst work in the published movie...
any... more >>
Movieclip in a movieclip
Posted by jimmy_milk at 9/20/2005 12:00:00 AM
Bascally I hav some stuff in a movieclip which then moves into anouther
movieclip. How do u do it so when you click a button in this second movieclip,
it goes to frame 10 in the prevous movieclip?
Thanks for your time
Jason
... more >>
_level
Posted by DavidMLevine at 9/20/2005 12:00:00 AM
This should be easy, but of course nothing is as it seems.
loadMovieNum("/15x15002.swf",6);
_level6._x = 800;
_level6._y = 800;
It seems that I should be able to move the whole layer to position this .swf
Im going through hell getting the code and everything in this .swf to come in
c... more >>
Creating text fields on the fly
Posted by mufc 1974 at 9/20/2005 12:00:00 AM
Hi,
new to all this flash malarky but straight in at the deep end creating a graph
using xml and pure actionscript.
I've got the graph drawn no problem but I'm really struggling to find a simple
explanation of how to create text fields on the fly (dynamic text?).
Basically, I have my tex... more >>
need help with triggering time based events
Posted by manhattanmediaworks at 9/20/2005 12:00:00 AM
I am coming from Director land where one can simply "startTimer" at any point
and then check time from that point forward and trigger events based on how
many "ticks" have elapsed. How does one do this in Flash? I have spent some
time looking at the date object, but I don't want to work with... more >>
Declaring variables in loop
Posted by temptationxy at 9/20/2005 12:00:00 AM
How can i do this in loop?
var sound_1 = new Sound(x1);
var sound_2 = new Sound(x2);
var sound_3 = new Sound(x3);
var sound_4 = new Sound(x4);
var sound_5 = new Sound(x5);
var sound_6 = new Sound(x6);
var sound_7 = new Sound(x7);
var sound_8 = new Sound(x8);
var sound_9 = ne... more >>
getBytesLoaded() doesn?t work with dynamic generated images?
Posted by JoeBazz at 9/20/2005 12:00:00 AM
Hello all,
My album system uses a simple PHP script to generate the different image sizes
on the fly, at runtime... the script URL plus the image dir is sent as the URL
param of the loadMovie() of the container MovieClip. This script uses GD to
manipulate the image (set its size) and then ... more >>
After movie clip plays, move to next frame - HELP!
Posted by Nicole1234 at 9/20/2005 12:00:00 AM
I am making a flash presentation that is 4 minutes long. My client is not quite
sure how she wants the presentation to flow, so I thought it would be easiest
to make little movie clips of each section, and then put that movie clip into a
single frame, and so on. That way when we want to move t... more >>
Determining if Object or Array
Posted by ysub at 9/20/2005 12:00:00 AM
Is there any way to determine if a variable is an object or an array?
the typeof() function returns object for both types.
... more >>
New method of mp3 streaming
Posted by Chip W. at 9/20/2005 12:00:00 AM
Just a general question that I was just hoping someone might be able to shed
some light on this. I'm engaged in looking on the MM website for changes to
Flash 8 Player when it comes to how streaming sounds are now streamed, but the
more feedback the better. I'm an electronic musician and a dru... more >>
...Scrolling images...please help...
Posted by monkeyboy58393 at 9/20/2005 12:00:00 AM
I built a scrolling image bar. I am having problems with posting in on the
internet because it is too big. When you click one of the images on the
bar...it loads the image to the left that is bigger. I was wondering if anyone
could help me with loading the pictures from an external source?
... more >>
Need Help Stopping sound
Posted by Zambino at 9/20/2005 12:00:00 AM
Hi,
I have a sound that I use in a game that I am doing. It is loaded in frame 31
which is the frame where you start to play it.
At the end of the game you are sent to frame 54 where a Play Again button
resides.
When I press the Play Again button I am sent back to frame 31 to play again.... more >>
Another Function Problem
Posted by weanderson at 9/20/2005 12:00:00 AM
I thought I was getting functions down pat, but I can't seem to get this to
work right. Any help or advice would be appreciated.
I'm trying to make a function to control a bunch of small mc's -- this works
fine, but I don't want to repeat it 50 times.
lr_mc.sp1_mc.onRollOver = function (... more >>
play movie clip inside a movie clip.
Posted by kepzy at 9/20/2005 12:00:00 AM
Hi there im looking for playing a movie clip thats inside another movieclip.
I tried, but I cant find a way for makin it play.
its a map that zoom in and out and to this map its attached a movie clip that
I want to make flick.
I know that its a root problem but i cant figured out !!!slike it... more >>
Type mismatch
Posted by d00mc0ck at 9/20/2005 12:00:00 AM
hi, I just beginng a project in flash for college, a game.
I created a class to make "infantry" in an as file. It compiles fine. When I
try to instansiate the class in the fla file(not sure if the terminology is
right) I get this error.
"Type mismatch in assignment statement: found Stri... more >>
Rollover and down action of buttons
Posted by sparkyburns at 9/20/2005 12:00:00 AM
Help! I have created a Flash intro with buttons that I am trying to direct to
the pages in my Dreamweaver site. I can't get the down state to link to the
pages. I have been adding the link to the entire url address with / and the
page addresses. Each time it disables the rollover states and le... more >>
Progressive Numeration
Posted by samssa at 9/20/2005 12:00:00 AM
Hi,
i have a gallery with "undefined" images that loads in it.
I want to attribute to each image a progressive number.
I use this:
myTits =(i+1);
and the associated dynamic text field return : 1, 2, 3, 4, 5, 6 ....
but i need something like: 001, 002, 003, 004, 005... 039, 040, 0... more >>
|