all groups > flash actionscript > march 2005 > threads for friday march 4
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
CTRL-Enter advances frames!
Posted by sneakyimp at 3/4/2005 11:57:42 PM
I've searched on this forum and found some posts about handling events around
the enter key, but i just tested my SWF (ran it stand-alone) and when i hit
control-enter, the frame advances. I can't seem to prevent this. I tried this
code:
keyListener.onKeyDown = function() {
trace(" c... more >>
targeting problem
Posted by Max Cady at 3/4/2005 11:44:12 PM
i want to have a group of MC's play one after the other independent of the
main timeline, but i can't figure out how to target the next MC i want to
play.
so basically it goes like this, i have a banner that opens up and then i
want my mc to play, one after the other is done playing (each one ... more >>
Need help with loading images within a symbol/flash movie
Posted by Alliancepaintball at 3/4/2005 11:36:31 PM
OK. So I'm working on a flash site, and I would like images within windows I
have made (symblols) to load up the second you enter the page.
So here is what I need to know.
How to get an image to load up inside of a box/symbol
&
How to have it automatically do it without rolling o... more >>
FLA not pulling in CSS file w/XML
Posted by Kay Poe at 3/4/2005 10:36:18 PM
I AM SORRY BUT THIS IS A RE-POST. HOPING SOMEONE COMES ALONG TO HELP ME OUT.
I am trying to find out why my movie is not calling in the CSS to work with the
XML text. The text in the XML works fine, but it doesn't render the font color,
size, etc. in the CSS. I am attaching a link to the thr... more >>
button.enabled = false doesn't work
Posted by CraigFlash at 3/4/2005 10:33:58 PM
In my main movie I have an instance of an empty moviclip on the stage. I use
movieclip.loadmovie to load an external menu bar. The menu bar contains 2
buttons. What I would like to happen is that when you click one of the buttons
it is disabled. So, the button "on release" behavior is code... more >>
Forcing update of file
Posted by =Slayer= at 3/4/2005 10:19:46 PM
I made a website, made completely in flash, with a main swf and a couple swfs
loading seperately into the main swf. I update some of those nested swf's
daily.... and the problem is if someone stores temporary internet files, when
they visit my site the new swf's won't load, instead the old on... more >>
navigation bar help
Posted by k0line at 3/4/2005 10:14:57 PM
I am creating a navigation bar and have run into a small problem. I have a
feeling its a pretty easy problem to solve and something small I'm just
overlooking. Please contact me if you are willing to help and I can send you
the flash file. I am in a crunch for time so please be willing to help... more >>
Why doesnt this work?
Posted by DoctorDreamweaver at 3/4/2005 9:50:28 PM
For some reason the following Actionscript works perfectly until I click the
nextSldBtn...then the picture does not load...yet I get not error messages of
any kind.....
stop();
//----------------<LoadVars>------------------\\
var myLV:LoadVars = new LoadVars();
myLV.onLoad = functi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Numeric Stepper value
Posted by Pip057 at 3/4/2005 9:31:46 PM
How can I take a number from a numeric stepper and divide it and put the result in a label box?
... more >>
event handler methods
Posted by Sgt_Pepper at 3/4/2005 7:09:54 PM
I have a question for you guys...
What's the difference among the event handler methods onData, onLoad, and
onLoadInit?
I've read the documentation that ships w/ flash mx professional 2004, but it
doesn't make it clear.
Thanks
... more >>
Changing the milliseconds to frames...
Posted by kyphur at 3/4/2005 6:56:18 PM
Does anyone know how to change the timer from milliseconds to a frame count?
setInterval(loadF,1083,"_fs");
Thanks!
... more >>
how do I...
Posted by grover970 at 3/4/2005 6:54:57 PM
I have a comboBox that I load labels into. Works fine.
But I want to add a label that basically say "select something here", But I
want it to disapear, after the user has made a selection.
I know that I can manually enter a label value, but it always hangs around and
if the user goes ba... more >>
receiving text from text input component
Posted by klintonray at 3/4/2005 6:44:46 PM
hey all, I am trying to get a variable from a text input component box that is
located inside a movie clip object. I am testing it by reading the output
panel upon clicking a button set up in another movie clip instance. Here is
the code:
this.inputScreen.startAreaMC.startButton.onPress ... more >>
Somme help plssssss - BEGINER
Posted by Ciumpy at 3/4/2005 6:43:15 PM
FLASH 5
Sorry for my english I'm European.Anyaway I'm asking you to help me built a
adrees-book.i want a text field (to write the name) and a button.When a write
for the ex. Alex (it's info. it is placed on frame 4) & push the button to link
me there and stop.I have tried to write dwon some ... more >>
Finding if there is a web connection from a .exe projector
Posted by Nixy at 3/4/2005 6:05:21 PM
Is there a way with ActionScript to verify if there the computer running the
exe is connected to the web, if yes it can call a web page esle alert message.
I need a function that return true or false.
Any idea.
... more >>
dereferencing a variable
Posted by j183 at 3/4/2005 5:55:45 PM
Hi,
The loadMovie command loads a SWF file. For example:
loadMovie ("xfile.swf", 2);
I'm trying to use a pointer to do the same. For example:
var temp = "xfile.swf";
loadMovie (temp, 2);
Can this be done in Flash MX professional 2004?
Also, instead of SWF files, I'd rath... more >>
updating an inputText
Posted by Grokwik at 3/4/2005 5:31:25 PM
Hi,
I try to update the content of an inputText in a form someone know how to do ?
(I'm sure it's stupid to do but i can't...)
... more >>
javascript popup window works on some computer but no others!
Posted by gwebb at 3/4/2005 5:04:56 PM
The following script works on some machines but not others:
on (release)
{getURL("javascript:openNewWindow('pdf/Costs.pdf','Demonstrations','height=545,w
idth=780,toolbar=no,scrollbars=no')");
}
it is the same case whether I'm opening pdf's or html pages. Be V grateful if
anyone could... more >>
Is this...
Posted by Baic at 3/4/2005 4:48:48 PM
Is this possible?
if (player stands here){
enemy wait 5 seconds and shoot
}... more >>
Can I use AS to determine what frame the movie's on?
Posted by gotobread at 3/4/2005 4:31:24 PM
here's what I'm working on: http://dove.he.net/~hellas/products/trackgrid.swf
when you hover over a button, a movie starts to play, and you're supposed to
watch the whole sequence, then when you roll off, it plays the reverse. The
problem is, if you roll off before the whole thing has played,... more >>
Limiting values in a text box
Posted by bexlhoward1 at 3/4/2005 4:12:02 PM
Hi, I know this is a basic question but I just cannot figure out how to do it!
How do I limit the input of a text box to be two rather than allowing the user
to input as many values as they like? Thanks.
... more >>
XML call
Posted by grover970 at 3/4/2005 4:07:07 PM
Hello,
I am trying to trace the attribute "id" from my xml file. The id is a 8 digit
number like "00131001".
But when I trace it
trace(Number(ImSetData.image[0].holy));
I get a value of "45569".
I have tried using String & Number which is what I think I'm supposed to do.
But i... more >>
JPG with solid colors are crappy
Posted by Bob Sorrells at 3/4/2005 4:04:56 PM
Hello,
I've got a graphics ASP application that I'm migrating to Flash, and I need
some advice.
On my current ASP application, the user can type in up to 4 lines of text...
limited to about 10 characters wide, select a color, and select one of about
20 unusual fonts... none of which are sta... more >>
Close a Frameset using getURL
Posted by tommy2tone at 3/4/2005 3:06:05 PM
I'm trying to close a frameset from a Flash movie on one of the frames. I
tried using:
getURL("javascript:parent.close();");
getURL("javascript:.close();","_parent");
getURL("javascript:parent.window.close();");
getURL("javascript:window.parent.close();");
getURL("javascript:close();"... more >>
Rounding off Decimals
Posted by joeyrabbitt at 3/4/2005 2:48:14 PM
I have the following code from a previous thread.. it makes a movie clip scroll
along the canvas according to where the mouse is in relation to the centre..
The trouble is, I have a 'rippling' effect on the images in the movieclip when
flash is trying to move it slowly.. I think this would s... more >>
X SCALE don't work Correctly
Posted by N3m3s1s at 3/4/2005 1:53:39 PM
Hi my friend, the question is. Why my script have a BUG?
The script is:
on (release) {
if (_root.x==1) {
graf1._xscale -= 5;
graf1._yscale -= 5;
}
if (_root.x==0) {
graf2._xscale -= 5;
graf2._yscale -= 5;
}
}
so, this is a sim... more >>
Dynamic Sound Sequencing
Posted by FlashAmit at 3/4/2005 1:41:56 PM
I want to sequence the letters typed in an input field to let the user know
what letters he has written. For this i have inserted 26 sounds of letters each
exported for action scripting with the same name i.e. sound of 'a' is exported
as identifier 'a'. Now say if user has inserted in the fiel... more >>
Return to FRAME 0
Posted by N3m3s1s at 3/4/2005 1:23:41 PM
Hi ALL, and thank you for your presence
I know that is a stupid question, but I've forgot my EX script. I have a
MovieClip with an animation that I've composed with TIME LINE. now I
make one button . With this button I do a inverse animation, but I dont
want REmake a animation on TIMELINE, ... more >>
dynamic text w/ images & links
Posted by JF213 at 3/4/2005 1:06:49 PM
ok I have a dynamic text field inside flash that links to an external text
file. my text and everything works great. I know that I can embed images &
set links inside of this text file which I have done : <img
src="images/drums.jpg" WIDTH="100" HEIGHT="75"> What I am wondering is if I
... more >>
tabIndex in combo with MovieClip subclass
Posted by dubya at 3/4/2005 12:19:52 PM
hey everybody! :) thanks for looking my problem up. 'simple enough really, i
have an AS2.0 class that subclasses MovieClip and overwrites methods such as
onRelease and onRollOver to make it a button. it also features the
'setTabIndex' method shown below. 'thing is, when i hit the tab key, n... more >>
Is there any way to trace the value after decimal
Posted by Harmeet S. Vohra at 3/4/2005 12:03:57 PM
HI All,
Please let me know, is there any method in flash which can help me to trace the value after decimal from floating number.
Thanks
Harmeet Singh ... more >>
Pause and Play the Sound
Posted by Harmeet S. Vohra at 3/4/2005 12:00:53 PM
HI All,
I am working with inbuilt sound methods. I have to pause and play the sound.
At the time of stopping the sound which is dynamically playing, I'm storing
the position "in milliseconds" of sound but when I'm starting the sound again I
have to pass the soundoffset value in seconds, h... more >>
Scenes Problem.. Help me OUT>>>>
Posted by Joy_kittu at 3/4/2005 11:18:19 AM
I m using flash MX ?
I have 2 scenes in my flash movie.
In Scene one is having some animation. On the timeline end of the frame
automatically it moves to next scene. That is fine.
In the scene 2
I have 2 movie clips. In 1st and 2nd frame respectively.
After playing the first s... more >>
gotoandplay in target
Posted by dilbertje at 3/4/2005 11:11:18 AM
greetings! I have this small question: how do you tell flash to play a
framelabel in a movie that is loaded in a target? so: hostmovie has a target +
navigation an external movie is loaded in this target how can i get the
external movie to play a specific frame.... thanks!
... more >>
submiting form to email address help
Posted by shush at 3/4/2005 10:43:19 AM
I want to creat a form on my flash site and when the user hits the submit
button i want the info from the form to be sent to my email address, i no
theres ways in PHP however my server doesnt support it so i have to use CGI or
form mail or another way, could someoen please help really desperat... more >>
Dynamic instanceName
Posted by Serge at 3/4/2005 10:21:08 AM
For an application of the Flash Communication server i'm using the FCAVPresence
component.
However, to use this with multiple sessions i would like to dynamically change
the components instanceName.
for example with:
setProperty("avmc", _name, _root.sessionID);
where _root.sessionI... more >>
XML data retrieval
Posted by domconlon at 3/4/2005 9:47:14 AM
Hi there, I have created an XML connector which is bound to a combo box. The
combo box labels are populated by the xml file. I need to get the rest of the
data that should be grouped with each label. I have managed to bind the
component to a text area and view the data there (it works fine) b... more >>
How to determine the speed of a users computer
Posted by DBBPM at 3/4/2005 9:45:12 AM
I want to be able to calculate or at least gauge how much processing power is
availible to me on a users system. I have created animations that without some
sort of limiting facter will run very slow on older computers?
How can I determine the processing power available to my swf, which I c... more >>
How to attach a new movie without deleting the previous instance
Posted by garygeorge NO[at]SPAM gmail.com at 3/4/2005 9:43:43 AM
Hello,
I am working with Flash MX 2004. I would like to use a button to
attach a movie to the stage. There will be a list of movie clips in a
list box. When a user selects a movie and clicks the add button a new
movie should be added. If the clip already exist then it does not need
to be ... more >>
a square appear when disable comboBox
Posted by Catalas at 3/4/2005 9:20:43 AM
Hi, In my application, there are comboboxes in my parent and child swf, when I
disable and enable the comboxboxes serveral time, a square appear over the
dropdown arrow when the ComboBox is disabled. Is it a bug of combobox? Do you
have any solution on that? Thanks.
... more >>
control tip / how to make ?
Posted by carstenw at 3/4/2005 8:17:41 AM
hello,
i want a tip / hint to be shown in my application e.g. if i move the
mouse over a button. a little description should appear to tell the user
what happens when a button is pressed. e.g. "delete a record"
didn't find anything. :-(
is there such a thing as
button.label = "delete... more >>
Additive transparency with AS
Posted by Rusherific at 3/4/2005 7:47:05 AM
Just wondering if you can get down to pixel blending with actionscript . . .is there a way to manually script additive transparency or other things?
Thanks... more >>
Variable and instance name concatenation
Posted by kwsim at 3/4/2005 5:39:36 AM
I am trying to load an image named ?img0.jpg? into my movie clip instance named
?imgThumb0?. I am trying to use a loop to progressively load these
chronologically named images into the chronologically named movie clip instance
names, i.e. ?img1.jpg? into ?imgThumb1?, and ?img2.jpg? into ?imgTh... more >>
using previous frames
Posted by can joann at 3/4/2005 5:19:10 AM
I have a movie symbol clip that I would like users to be able to move "forward"
& "reverse." In other words, it's scrolling text that plays when the user is
over the "bottom" button & scrolls in reverse when the user is over the "top"
button. I have achieved the effect using the prevFrame acti... more >>
email input form
Posted by rolorolo at 3/4/2005 4:43:36 AM
Is there a simple way to create a form so that people can type somthing in an input text box then sen it directly to my inbox... more >>
Preload everything...
Posted by DBBPM at 3/4/2005 4:32:33 AM
I am attempting to build a site with multiple proloaders. I have run into
trouble when I test my movie with the Simulate Download feature. If I set the
d/l speed below DLS I find that my pre-loaders appear to working but on
completion the assets that they load don't appear on the stage. But... more >>
ContentPath trouble
Posted by Billy Porter at 3/4/2005 3:04:36 AM
Greetings,
Why is it that if I display a form/MovieClip using the contentPath propery
of, for example a Window or a ScrollPane, it never shows it's current state?
For example, suppose I would want to hide the button (ok_btn) located on
form2 before I display the content of form 2 in a Scro... more >>
Mute multiple sound clips (on diff scenes) by clickin on Audio off button
Posted by Xristen at 3/4/2005 2:50:27 AM
Hi. Was wondering how to write the script to mute sound across all scenes by just clicking on one button. Thanx... more >>
Dynamically adding properties to a class member var
Posted by ValerieTheTechie at 3/4/2005 2:05:24 AM
Hi. I am stuck on this. If this isn't the problem, then maybe it is somewhere
else, but I am baffled. //member var private var _rootNode:XMLNode;
constructor( rootNode:XMLNode, .....) { //here I am trying to add the extra
var to the XML. rootNode.treeNode _rootNode = rootNode; //I... more >>
flash and server time
Posted by ser_nan at 3/4/2005 1:33:21 AM
hope anyone can help me, is there any code i can get the server time? ihave
this code, but it only gets the time my pc is using...
i just need to get the time of the server.. thanks so much..
myDate = new Date();
hr = howlong(String(myDate.getHours()));
mnt = howlong(String(myDate.getM... more >>
Loop Help
Posted by Charmaine99 at 3/4/2005 1:30:45 AM
Hello,
Can someone please help me figure out why I'm having difficulty adding a for
loop to the following, so that i can stop the setInterval once the function has
been called 80 times, i.e. the length of the array...
i = 0;
function attachSquares () {
_root.attachMovie("square", "s... more >>
Flash not reading CSS - aarrgh! why??
Posted by Kay Poe at 3/4/2005 12:41:02 AM
I am trying to find out why my movie is not calling in the CSS to work with the
XML text. The text in the XML works fine, but it doesn't render the font
color, size, etc. in the CSS. I am attaching a link to the three files.
Thanks. http://www.fonicdesign.com/jos/jos.xml:confused;
... more >>
Change variable from string to integer
Posted by Tim Robertson at 3/4/2005 12:36:32 AM
I have brought in some variables from a PHP page but for some reason my
actionscript is treating everything as string for example if I imported the
following variables:
variable01=samplepaper&variable02=911&variable03=514
I can not perform math function on variable02 or variable03.
If I t... more >>
Load a text file from one server into a flash movie on another
Posted by Xccelerant2 at 3/4/2005 12:11:51 AM
Seems it can't be done, loading a text file from one server into a flash movie
on another. I can load a flash file from one to the other but text seems to be
a problem Any come across this and find a solution?
... more >>
|