Search:
Type: Posts; User: daveystew
Search:
Search took 0.02 seconds.
-
Oh, and your best bet for this sort of thing is to put the minimum amount of code you can into this class. Let it just be a self-contained video connecting / playing class.
Really, it should just...
-
Cool :)
You could probably abstract the view function into 2 functions, one that attaches the stream, and one that plays it. Then the connection success call would go call connectComplete() and...
-
Why do you need to rename it?
Just store a timeline or class-level reference (outside the event handler) to the current object that you can always access:
currentTooth =...
-
Here's an example using functions, and an extra check for the connection (I'm unsure as to whether the connection needs to be already connected or not before setting up the stream - I suspect it...
-
Any reason you're passing in a netstream reference then creating a new one?
And your client object needs a metadata handler. At the moment it's an empty object.
You're forgetting to associate it...
-
It's a bit tricky as we can't see the whole class, and your code isn't the clearest... (sorry!)
Problems I've found in the past:
Metadata width and height come through null (but it looks like...
-
instance names and variable names (references) are two completely separate things.
A variable cares no more about the "name" property of an object than it does about its "color" property, and...
-
Nooooooooooo!!!!! This is not the AS3 way to do it!
You should define a base class Shape that has common functions such as draw():
package
{
public class Shape extends Sprite
{...
-
A good button should have all the available out, over and down states, and often there are a bunch of nice to haves such as animation, disabled states, filters, you name it.
I seem to change my...
-
Thanks for the welcome MD. Yup, I found some rather good links and am slowly getting my head round it!
:D
-
OK, I got it. Slightly convoluted, but I guess I'm still learning the power of this new syntax:
var list:XMLList = xml..*.elements('text');
-
HI all,
I must admit I'm not enjoying getting my head around E4X. The latest issue is I can't access any nodes in my tree which have the tag name "text":
<root>
<section>
...
|
Click Here to Expand Forum to Full Width
|