Hi all,
I'm having a bit of trouble trying to work out the correct syntax when setting dynamic variables based on classes. My class is called PIMAppt. This is a simplified version of my code.
The following works -
var NewAppt0:PIMAppt = new PIMAppt ("value1", "value2", etc);
However I want...
Hey E,
Sorry for the delayed response, didn't get a chance to check my mail on the weekend.
The code you have is almost correct, what's currently happening is that you're setting the variable "click" to false every time the function is called. So that means it's never going to perform the...
Hi E,
What you can do is create a single function using the code you have then for each button call that function on the onPress event. You can pass parameters to the function which reference the external movie and variable file to load.
So do something like:
//Create a function called...
Hello,
Does anyone know if you can create custom functions in Flash 4? I know that in Flash 5 and above you use the syntax:
functionName(arguments){
statements to execute;
}
Any ideas if something similar can be done in 4? The reason I ask is because I'm developing something for Flash Lite...
Thank You! It works like a charm. There is actually only one frame in the mc so it was checking the timer, however it just stayed in the do/while loop until the loop evaluated to false. So obviously not the way to go about it.
Thanks again for your help, you're a legend! :-)
Hey everyone,
I'm wondering if someone can help me out with this one. What I want to do is create a button that performs the following:
- press then release = Function1;
- press and hold = Function2;
I have to make it work on a Flash 5 player so using setInterval is unfortunately out. Any...
I tried that and it does fix the flash size but not the player size, you can still scale the player and when you do you see all the objects that are off the stage.
I just thought there might be a way to stop the player from being scaled all together, rather than having to add masks to...
Hi,
Does anyone know of an easy way to fix the size of the flash player? So that if the user tries to resize the window it just stays the same size.
So not running the swf file within a browser window but just within the flash player itself.
Cheers,
Radiostar
I noticed this post was done on the 1st but just in case you still need help ...
I did something similar to what you're doing and what I did was set up a variable to save the current focus then use the onSetFocus function on each of your text fields to set a new value for the variable e.g...
Thanks for the fast reponse though could you give me an example of the onEnterFrame function and how to set it to null?
I tried setting a variable on the button onPress and onRelease functions and using an if statement checking the variable value in the onEnterFrame and this works for simple...
Hi,
I'm still kind of new to actionscript so I was wondering if someone could help me.
I've got a button that currently when pressed executes a function e.g.
myButton.onPress = function () {
myFunction (Parameter1,Parameter2,Parameter3);
};
How can I set it up so that whilst the button is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.