Search:
Type: Posts; User: andya
Search:
Search took 0.17 seconds.
-
Take a look in Flash Help under ActionScript Reference in the:
Creating Interaction with ActionScript > Creating a scrolling text field
section
Regards
Andy
-
If you want to evaluate a variable name without using the array access operator, then you can still use the F4 style notation:
eval("a"+i) = value
Should work
Regards
Andy
-
Al,
You cannot target a scene from within an MC. It cannot be done. The only option is using a frame label at the point to which you wish to jump and then target the frame label as in Jeron's...
-
hi,
As far as I know, it's not possible to do this, because the button cannot be given an instance name and hence cannot be targetted.
You might want to consider making the button a movieclip...
-
Demons,
Yes you can use
_root._width
and
_level0._width
-
For a movieclip the relevant properties would be
yourMC._width
yourMC._height
As far as I'm aware, for the _root these properties are not accesible.
You can achieve quite a bit with the...
-
You might also want to check out:
http://board.flashkit.com/board/showthread.php?threadid=117394
Regards
Andy
-
I think this might be the Flash 4 style notation for creating a loop.
So where you have in the tutorial:
Loop While (m<(tmi*2)-1)
you'd use the following in Flash 5:
while (m<(tmi*2)-1)...
-
malaksiden,
kpweb has already answered you on this. You make a movieclip with lots of keyframes and create each individual frame of the motion so that the whole movieclip represents one complete...
-
Hoi Joris,
what you just posted is sort of the solution. Did you meant that you've solved it or do you need more info?
Basically, you wouldn't use startDrag() at all, you'd just use the
...
-
malaksiden,
you need to be a little more clear as to what you mean by "loop action"... it could be:
1) something to create a sound loop
2) a way to loop through a series of Frames
3) a way...
-
There are also tools that create 3d content in Flash. You might want to take a look at http://www.swift3d.com as an example of one. I suspect that the example that you quoted was done with one of...
-
hi maddalien,
Flash does have the fscommand, e.g.:
on (release) {
fred = "fred";
fscommand ("save", fred + ".txt");
}
-
Hi Momad,
Yes indeed a lot of Flash4 syntax works in Flash5 and not vice versa. There are certain functions that Macormedia specifically annotates as being deprecated. The likelihood is that these...
-
Musicman,
OKlee Doklee if we go waaaayyy back into the annals of computing, I suppose the escape key was originally for data and creating escape sequences (hence the name).
In the first PCs...
-
Hey there Musicman,
Escape also gets programmes out of a bind. The difference between Ctrl-Alt-Delete and Escape is that Ctrl-Alt_Delete functions at a windows OS level. It brings up a task...
-
Bluedot,
You might also want to look at the following:
myDate = new Date()
text = myDate.toString();
which returns the date and time with the following format:
Wed Aug 7 18:15:00...
-
You might also consider using:
myDate = new Date();
text = myDate.toString();
which produces an output like this:
Wed Aug 7 18:15:00 GMT-0700 1974
Which is OK, but if you want other...
-
Just for good form, we should also include the Flash 5 notation for this, since random() is deprecated in Flash5.
gotoAndPlay (random (4)+1);
would be:
gotoAndPlay (Math.floor...
-
Bluedot, yup my example included seconds:
seconds = myDate.getSeconds()l
textBox = seconds;
would do it.
You can even get milliseconds:
-
Hey bhughes,
Yes that's often the way. It's the library that will getcha every time. The other option is of course to have the preloader just as a very cmall swf and have it then load the actual...
-
Am I just missing something, or doesn't this mean:
on (release) {
_root.complete_Path_To.targetMC.gotoAndPlay (frameNumber);
}
or use
targetMC.play();
-
It's not all that stupid,
'Escape' is a recognised key for getting out of a program that is having a problem or crashed in some way. As a result, it often gets reserved so that the user has a way...
-
Close.
You use a dynamic text field (let's say you name the variable timeText) and the date() object.
So,
myDate = new Date();
hours = myDate.getHours();
minutes = myDate.getMinutes();
-
Just had a thought,
how about capturing the keyPress and do your condition based on what it is not!
Something like:
onClipEvent (keyDown) {
value = key.getCode()
if (value >0 && value <27...
|
Click Here to Expand Forum to Full Width
|