all groups > flash actionscript > january 2005 > threads for monday january 3
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
asfunction
Posted by msngLinkCO at 1/3/2005 11:50:17 PM
Hello,
I've posted this topic before and have yet to resolve this. I'm hoping my
question is still valid.
I'm trying to use the asfunction via and externally loaded HTML file to load a
separate HTML file into a separate dynamic text field.
My HTML code:
<a href="asfunction:answe... more >>
Creating own Events
Posted by Smirnoff103 at 1/3/2005 11:34:47 PM
Hi,
Is it possible to create an own event lijk in .NET for exemple ?
You see, i would like to something every time a movieclip is at the end of it.
But unfortunatly i couldn't find anything in the help about this kind of event.
I hope you can help me.
Thanks.
... more >>
Need help with calculation
Posted by Shane Porter at 1/3/2005 11:00:33 PM
I'm working on a Deer Spotlight Survey for our web site. I have it functioning,
but their are three textInput fields that the user has to manually sub total to
complete the calculations.
I need help to dynamically fill the "sub total" textInput field once the three
textInput fields have be... more >>
loadmovie limitation? how to go around it
Posted by Pillow at 1/3/2005 10:52:18 PM
here is my script, very simple, load in a jpg and scale it...how to do it? the
jpg will be different size all the time. I want to load those jpg in movie and
scale them all to the same size. But after the using loadmovie to load jpg in,
i can't determine the width or height of the jpg....
b... more >>
hitTest()... ball and wall
Posted by B at 1/3/2005 9:57:36 PM
I have a ball that is being hitTest against a wall. The ball increases in
speed (pixels per frame) the longer it's on stage. Generally, the higher the
number is that makes the ball move, the more likely it is to pass through the
wall without the hitTest doing what it's supposed to do. I do ... more >>
Sound: To script or not To Script
Posted by chatsubo42 at 1/3/2005 9:12:31 PM
I am yet another user who is frustrated with sound and it's implementation in
flash... was sound just an after thought??
any-who...
Scenario:
I have a project where sound needs to play at the start of a scene. I would
like to have it stopped when someone clicks a skip button.
Also I wo... more >>
dynamic image reveal
Posted by Jacqueline Jansen at 1/3/2005 9:05:27 PM
I've been searching, but not sure what to search for, so here goes:
Effect I'm searching for:
I'm working in MX Pro 2004 and I would like to start with a dynamically
loaded jpg within a MC... then, depending on what frame you go to (from a
button - main menu) a new image will reveal (simple ... more >>
Minimize the Flash Player
Posted by chopper at 1/3/2005 9:03:27 PM
Hi.
I need to create a button in my movie that minimize the flash player.
Is this possible?
Do you know how to do this?
Many thanks.
Carlos Lima
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What happened to the old Actions Panel??
Posted by calpolyarc at 1/3/2005 8:29:09 PM
In the Flash MX Actions Panel, when I add a 'gotoandplay' action I get a more
user friendly 'menu' where I can set the parameters like scene, type, and
frame. In MX 2004 I don't see it and therefore have to format the code myself.
Can I change it back to the old way??
... more >>
Math.pointDistance
Posted by Barry Wood at 1/3/2005 8:22:51 PM
I'm coming back to Flash after many years amd have jumped into Flash 2004 MX.
At the moment I'm trying to use the Math.pointDistance method and I can't seem
to get it to do anything. In debugging the variable that gets the result of the
method is always shown as undefined.
I also noticed... more >>
loadMovieNum question
Posted by sczosnek at 1/3/2005 8:18:03 PM
I created a Flash movie named musicloop.swf. It is a small Flash file with an
on/off button and a loop attached to it and when loading it into my main Flash
movie (v01A), it doesn't play on level 1. The movie shows up, but no music
loop (no sound at all). It'll play on level 0 just fine, bu... more >>
html in text variable?
Posted by mickscanoe at 1/3/2005 8:04:40 PM
where the text line reads:
text = "some text, is it possible to put an html tag here like <a
=href\"mailto:info@site.com\">site</a>"
or is this not possible?
when I publish it I see the hand, but get no action when I click the mailto:
link?
If I make it a standard url and doubl... more >>
Popup
Posted by doidom at 1/3/2005 7:21:22 PM
I have an HTML page with a button that launches an SWF movie in popup
window. Is there a way to include a button in my Flash movie which closes my
popup window and returns to a different HTML page than the one that launched
it?
Any help is greatly appreciated.
... more >>
Xml looping question
Posted by roland at 1/3/2005 7:18:41 PM
Hello all
I have some hickups with xml. Below is an extract of the xml which needs to
be read in.
Could somebody please give me some hints on how I could create a loop
walking through this xml file the easiest way, in order to store the
relevant properties and values in an object?
Thanks v... more >>
TextInput Box - On <Enter> key press event
Posted by Armaheadon at 1/3/2005 5:28:48 PM
I have 7 text input boxes and I have functions that fire off when focus is
taken out of any of these 7 text input boxes. I also want the function to
fire off when the user presses the Enter key. I have tried a keyDown event
listener with an if (key.isDown (key.ENTER)){ statement.. and tha... more >>
Levels vs. Depths
Posted by Wither_8 at 1/3/2005 4:42:13 PM
Suppose you are loading a series of about 100 jpg's into a swf.
Which would be more efficient in terms of space / execution time:
Loading the jpgs into different depths of a single MovieClip
via something like
nextImage = createEmptyMovieClip()
nextImage.loadMovie( nextImageURL );
... more >>
gotoAndPlay( named scene ) ??
Posted by d3ntaku at 1/3/2005 3:21:34 PM
hiya -
any idea how to jump to a "named" scene?
backTo = "mainMenu";
gotoAndPlay(temp, 1);
ERROR: 5: Scene name must be quoted string
also:
eval(temp) doesnt help.
This is for flashLite so please suggest flash4 syntax if you can remember it!!
.dc
... more >>
Code to perform load movie but within 1 swf?
Posted by dougsanto at 1/3/2005 3:18:14 PM
Im trying to use a container on _root to load different info pages into.
Loadmovie seems to only want to use external SWF's i want to load in _mc's
inside the base swf. is there a seperate handler to do this? thanks! Happy
new years!
... more >>
Pause execution
Posted by zaajats at 1/3/2005 3:17:33 PM
I would like the following script to pause for 1,5 seconds after every time it
checks checks if c.new_msgs==1, so that the script wouldn't constantly run and
consume resources.
c = new LoadVars();
function onload_do(){
status_box = "Loaded";
test_box = c.new_msgs;
if(c.new_msgs=... more >>
On mouse over execute this>>>
Posted by Don Pacino at 1/3/2005 3:09:17 PM
hello eveyone!
I have the following code that when placed on a symbol such as movie clip it
follows the mouse.
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 5;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x += (endX-_x)/speed;
_y += ... more >>
3 D text
Posted by Ronak Bhagdev at 1/3/2005 2:58:10 PM
Hi,
Can I make 3 D text with actionscript?... more >>
New window
Posted by Webstudents1207 at 1/3/2005 2:12:56 PM
Is there some way to load up a movie into a new window. I know you can load them into different levels but I couldn't find anything about a new window.... more >>
associate HitTest and Goto
Posted by BekO at 1/3/2005 1:59:06 PM
Hi and happy new year !
I need a HitTest when the curser meet a movieClip
here's my code but it don't works :
onClipEvent (enterFrame) {
if (this.hitTest(_root.curs)) {
gotoAndStop ("fin");
}
}
"curs" is the name of the MC I've attached to the curser
Can you help... more >>
smooth rotation
Posted by eyezar at 1/3/2005 1:52:35 PM
I there a way to slowly rotate an object in actionscript? I want to rotate it
by a certain number of degrees. When I try to put it in a loop, like this: for
(n=5;n>0;n--){ object_mc._rotation+=5; } It just rotates it 25 degrees
all at once. Is there a way to rotate 5 degrees, then paus... more >>
Color setRGB fails in a loaded swf
Posted by lauchenauer at 1/3/2005 12:48:50 PM
:confused;
I have a case where I create a Color instance of a movieclip and then set the
color via the setRGB call:
var col:Color = new Color(my_mc);
col.setRGB(255);
if I test this it works fine.
The problem arises when I publish this movie and then load it into another
moviecli... more >>
Audio Player in Flash
Posted by Manoj vn at 1/3/2005 11:55:23 AM
Hi, I want to develop an audio player in flash. I had made the fucntionalities
like, loading a streaming mp3 file starting and stopping. But now the
big problem is with a slider which progresses while sound file is playing and
the user having the option to drag the slider thump and co... more >>
onEnterFrame Loops to function triggered Loops?
Posted by Brian at 1/3/2005 11:19:09 AM
I am using the following onEnterFrame loop to fade an image in. I would
like to do the same now, but with a function triggered loop. How would I
do that?
Thank you for any help!
main_image.onEnterFrame = function(){
main_image._alpha += 15;
if(this._alpha >= 100){
delete this.on... more >>
loadvars - "undefined"
Posted by zaajats at 1/3/2005 11:16:25 AM
This script should contact a php script every 5 seconds, which returns (echos):
new_msgs=0 or
new_msgs=1.
If new_msgs=1, flash should refresh the "chat_messages" frame. The *_box
messages are for debugging only.
Currently, the "Loaded" message shows, but the test_box box shows "undefined"... more >>
Scrollbar in scrollPane
Posted by rhythmofrain at 1/3/2005 8:37:15 AM
I am using scrollPane component, in which rows of data are genereted
dynamically but the problem is the vertical scrollbar is not appearing even
after the rows of data exceeds the viewabla area,
please help
... more >>
abnormal combobox behaviour
Posted by arin28 at 1/3/2005 7:19:58 AM
i have a combobox inside a movieclip in _level0 of a swf, which in turn is
loaded into _level1 of another swf. Now the combox when opened and clicked on
the scrollbar,instead of waiting to be scrolled further it just gets closed.
It is realy annoying and frustrating, will be grateful if anyon... more >>
How I can write with flash into a txt file or xml file to use like DB
Posted by Unutoiul at 1/3/2005 5:46:56 AM
How I can write with flash into a txt file or xml file to use like DB:beer;... more >>
Building a XML/Flash dynamic Photo Gallery
Posted by fanmap81 at 1/3/2005 5:22:03 AM
http://www.airtightinteractive.com/photos/ Could anybody tell me how one can
go about creating a gallery of this sort? With the fading loading in of the
thumnails and such? Any and all help would be most appreciated. Thank you
... more >>
pop up new window
Posted by doremitea at 1/3/2005 4:46:54 AM
hi, i have a picture, what i want is to click on that picture and a new window pop up showing the enlarge version of that picture.. how to do that? Thanks... more >>
Loadmovie help
Posted by Christy Hughes at 1/3/2005 4:14:10 AM
Okay, I'm asking all my questions now. I have brain cramps.
I have a main website. I have created a new site with additional files that
are related to the main website. I would like the main website to open a file
in the additional site when I press the button. I cannot get it to happen.
... more >>
Open pdf in Acrobat Reader
Posted by Christy Hughes at 1/3/2005 4:10:13 AM
I have created a form in Freehand MX 2004 and saved it as a pdf file. I am
designing an entire website in Flash MX 2004. I would like my button to open
the pdf file in Adobe Acrobat. I have coded it like this:
on (release) {
getURL("file.pdf","_blank");
}
It will not work. Can you he... more >>
help with buttons
Posted by emotion82 at 1/3/2005 2:16:53 AM
hello all, im having problems with assigning number values to a button from an
xml file. the nunmber values are the frame number which i want the movie to go
to, when the button is clicked. can anyone help? cause ive been working on this
for a few hours.lol.
really appreciate some serious ... more >>
Call a proto from within a proto
Posted by abeall at 1/3/2005 1:25:42 AM
Here is the setup: //several different protos like this
MovieClip.prototype.subProto = function(params){ //execute stuff on targetted
MC based on params } //and one like this MovieClip.prototype.parentProto =
function(subProtoToCall,params){ this[subProtoToCall(params)] } However I am
hav... more >>
Help on Action Scripts for Buttons
Posted by Ashee8981 at 1/3/2005 1:10:33 AM
:confused;
Hello everyone!! I am a new user of flashMX2004 and I am having a hard time
putting scripts on my text button...I attached a script on my button which has
a syntax of:
on (release) {
gotoAndPlay("1","1");
}
which means that upon hitting the button it should jump to Scene... more >>
The LAST UPDATE of a file
Posted by retzeuf at 1/3/2005 12:56:01 AM
Hello, How can I check the Last Update of a file.
Is there a solution with Action Script.
Thank you for your help.
Olivier... more >>
sound object not working in loaded movie?
Posted by Spam!? at 1/3/2005 12:52:47 AM
Any idea why a SWF file I made works fine when you run it by itself, but when
you load it from within another swf file the "sound object doesn't appear to be
doing anything...?
Am I missing something?
... more >>
|