Sponsored Content
The Lounge What is on Your Mind? What is your favourite movie at the moment? Post 302553175 by Tinna on Wednesday 7th of September 2011 02:11:26 AM
Old 09-07-2011
Bug What is your favourite movie at the moment?

Hi, guys. What is your favourite movie at the moment? Which movie are you watching? I am watching the ThorSmilie
 

9 More Discussions You Might Find Interesting

1. OS X (Apple)

i Movie HD

i Movie HD will not play sound from an imported movie :confused: (2 Replies)
Discussion started by: fgjiu
2 Replies

2. UNIX for Dummies Questions & Answers

is there any way to know how much time process was running from the moment it started

i have process that was started few days ago , is there way to know by its id how long it was alive in the system ? Thanks (2 Replies)
Discussion started by: umen
2 Replies

3. Shell Programming and Scripting

Any one here this moment? (Ignore)

I have small question i should solve it (1 Reply)
Discussion started by: Ame
1 Replies

4. OS X (Apple)

OS 10 lässt sich nicht mehr installieren...ubuntu läuft als system im moment....hilfe!

hello, I have installed on my MacBookPro Ubuntu via Boot Camp, but bootcamp has deletet that MacOS partion and created just one new and installed ubuntu. Now I can not install MacOS 10 from the DVD, the gray screen comes when I use the "C" key during the boot process. it starts booting... (2 Replies)
Discussion started by: ingwio
2 Replies

5. Homework & Coursework Questions

2. Write a shell script that produces some summary information of the system at a particular moment

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: 2. Relevant commands, code, scripts, algorithms: 3. The attempts at a solution (include all... (2 Replies)
Discussion started by: jsk319342
2 Replies

6. What is on Your Mind?

Favourite Games console

So what is everyones all time favourite games console and why do you like it? (Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies

7. What is on Your Mind?

Your favourite computer games....

Hi all, there have been a tremendous evolution in the computer games from games like Tetris or DAVE or Prince of Persia or wolf3d... to Call of Duty or BattleField or tomb raider etc etc so let us know the games which you liked the most.... you can also mention about the gaming rig you... (32 Replies)
Discussion started by: vivek d r
32 Replies

8. Shell Programming and Scripting

Blond moment : sed

Hallo Team, I have thousands of lines and i would like to manilpute a pattern but i am getting an error: File lo0ks like below: ... (5 Replies)
Discussion started by: kekanap
5 Replies

9. UNIX Desktop Questions & Answers

Which is your favourite desktop?

Most of the people think that they can not use Unix as desktop. By this poll we gone tell them that we not just use Unix as desktop but also love different display managers like GNOME, KDE etc..... (35 Replies)
Discussion started by: ynilesh
35 Replies
SWFACTION(3)								 1							      SWFACTION(3)

The SWFAction class

INTRODUCTION
SWFAction. CLASS SYNOPSIS
SWFAction SWFAction Methods o SWFAction::__construct (string $script) DESCRIPTION
The script syntax is based on the C language, but with a lot taken out- the SWF bytecode machine is just too simpleminded to do a lot of things we might like. For instance, we can't implement function calls without a tremendous amount of hackery because the jump bytecode has a hardcoded offset value. No pushing your calling address to the stack and returning- every function would have to know exactly where to return to. So what's left? The compiler recognises the following tokens: o break o for o continue o if o else o do o while There is no typed data; all values in the SWF action machine are stored as strings. The following functions can be used in expressions: o time() - Returns the number of milliseconds (?) elapsed since the movie started. o random(seed) - Returns a pseudo-random number in the range 0-seed. o length(expr) - Returns the length of the given expression. o int(number) - Returns the given number rounded down to the nearest integer. o concat(expr, expr) - Returns the concatenation of the given expressions. o ord(expr) - Returns the ASCII code for the given character o chr(num) - Returns the character for the given ASCII code o substr(string, location, length) - Returns the substring of length $length at location $location of the given string $string. Additionally, the following commands may be used: o duplicateClip(clip, name, depth) - Duplicate the named movie $clip (aka sprite). The new movie clip has name $name and is at depth $depth. o removeClip(expr) - Removes the named movie clip. o trace(expr) - Write the given expression to the trace log. Doubtful that the browser plugin does anything with this. o startDrag(target, lock, [left, top, right, bottom]) - Start dragging the movie clip $target. The $lock argument indicates whether to lock the mouse (?)- use 0 ( FALSE) or 1 ( TRUE). Optional parameters define a bounding area for the dragging. o stopDrag() - Stop dragging my heart around. And this movie clip, too. o callFrame(expr) - Call the named frame as a function. o getURL(url, target, [method]) - Load the given URL into the named target. The $target argument corresponds to HTML document targets (such as "_top" or "_blank"). The optional $method argument can be POST or GET if you want to submit variables back to the server. o loadMovie(url, target) - Load the given URL into the named target. The $target argument can be a frame name (I think), or one of the magical values "_level0" (replaces current movie) or "_level1" (loads new movie on top of current movie). o nextFrame() - Go to the next frame. o prevFrame() - Go to the last (or, rather, previous) frame. o play() - Start playing the movie. o stop() - Stop playing the movie. o toggleQuality() - Toggle between high and low quality. o stopSounds() - Stop playing all sounds. o gotoFrame(num) - Go to frame number $num. Frame numbers start at 0. o gotoFrame(name) - Go to the frame named $name. Which does a lot of good, since I haven't added frame labels yet. o setTarget(expr) - Sets the context for action. Or so they say- I really have no idea what this does. And there's one weird extra thing. The expression frameLoaded(num) can be used in if statements and while loops to check if the given frame number has been loaded yet. Well, it's supposed to, anyway, but I've never tested it and I seriously doubt it actually works. You can just use /:framesLoaded instead. Movie clips (all together now- aka sprites) have properties. You can read all of them (or can you?), you can set some of them, and here they are: o x o y o xScale o yScale o currentFrame - (read-only) o totalFrames - (read-only) o alpha - transparency level o visible - 1=on, 0=off (?) o width - (read-only) o height - (read-only) o rotation o target - (read-only) (???) o framesLoaded - (read-only) o name o dropTarget - (read-only) (???) o url - (read-only) (???) o highQuality - 1=high, 0=low (?) o focusRect - (???) o soundBufTime - (???) So, setting a sprite's x position is as simple as /box.x = 100;. Why the slash in front of the box, though? That's how flash keeps track of the sprites in the movie, just like a Unix filesystem- here it shows that box is at the top level. If the sprite named box had another sprite named biff inside of it, you'd set its x position with /box/biff.x = 100;. At least, I think so; correct me if I'm wrong here. PHP Documentation Group SWFACTION(3)
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy