I seem to recall someone on this list suggesting that if you call
loadMovie(null) on an already loading clip, it actually cancels the load.
Of course, I may have been dreaming... I haven't actually tried it!
HTH,
Ian
___
Flashcoders mailing list
The trouble is that Delegate.create _creates a new Function object_ - so the
Delegate object in your removeEventListener call is actually a different
object from in your addEventListener call.
To get around this, simply store the delegate - e.g.:
var
this[mc+number].someProperty
(assuming 'this' is the current timeline)
On 10/28/05, Jorge Rego [EMAIL PROTECTED] wrote:
Hi list,
I have some MCs named mc1, mc2, mc3 ...
I'm trying to access them like this:
mc[number].someProperty ... but no luck!
How can this be done!?
My only immediate thought - did the artist deliver his art files to you in
Flash format? Are you sure he hasn't accidentally buried some code somewhere
in the frames of one of those movieclips?
HTH,
Ian
On 10/28/05, Buck Ruckman [EMAIL PROTECTED] wrote:
Hi everyone!
i really hope someone
What's wrong with the following?
var my_bool:Boolean=(flashvar_bool==true);
Ian
On 10/28/05, Steve Mathews [EMAIL PROTECTED] wrote:
Try:
var my_bool:Boolean = flashvar_bool==false?false:true;
The basic problem is creating a Boolean with any string makes it true.
So creating it with the
That does sound weird. If you're sure it's not stray code (or a stray
component kicking around offstage somewhere or something), then all I can
really suggest is my standard 'something's weird' debugging approach; to
make a temporary copy of the app, and start peeling away bits of it until it
Ah, we're getting somewhere...
In Firefox 1.07 (my default browser) running Flash 8 it all seems to work
fine.
In IE 6 running Flash 7, it does, indeed, hang when I press a key. And
restarts when I stop pressing the key. And gives me a memory error when I
quit the browser.
So is the difference
Unless someone has coded a very odd compiler*, for most compilers of most
languages including 'this' won't make any difference to the compiled
bytecode.
Ian
*But then, it _is_ Macromedia. You never know. ;-)
On 10/31/05, Cedric Muller [EMAIL PROTECTED] wrote:
in the end, using 'this' or
On 10/31/05, Morten Barklund Shockwaved [EMAIL PROTECTED]
wrote:
It is amazing how we can turn back to this first-grade example of
understanding scoping in ActionScript almost daily.
True - but this highlights a flaw in the language rather than a flaw in the
questioner... if the same
Now it's not buried at the end of a thread - Dave (Watts), or any other list
admin - would it be possible (and desirable) to add a link to the FAQ in the
list signature? Then we might actually remember to update it, and newcomers
might know where to find it?
Cheers,
Ian
On 10/31/05, Martin Wood
Nope.
my_win, the variable, is still declared (to the compiler) as a MovieClip. It
only knows about it as type MovieClip.
The object it 'points to' happens to be of type MyCustomForm, which is an
object that inherits from MovieClip. It does all the things that MovieClip
does, just does more
No - it _doesn't_ change the type of the variable from the compiler's PoV,
that's my point. :-)
I've probably been explaining really badly.
The statement:
var my_var:A;
defines a thing which can point to objects of type A.
This thing can only _ever_ hold references to objects of type A and
Matt,
See all the previous mails. It's not a bug, so won't have been fixed. It's
the way that the language is supposed to work.
Ian
On 10/31/05, Adams, Matt [EMAIL PROTECTED] wrote:
Has the bug been fixed in 8?
Matt
___
Flashcoders mailing list
_root[something+i].onRollOut=function()
{
}
HTH,
Ian
On 11/4/05, Spiros Gerokostas [EMAIL PROTECTED] wrote:
hi,
can you help with this line of code?
eval(_root.something + i + .onRollOut) = function()
{
}
well i know this is wrong in flash 6.
Is this possible?
this[_root.something
*sigh*
var mcl:MovieClipLoader();
should be
var mcl:MovieClipLoader=new MovieClipLoader();
Ian
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
On 11/13/05, Millie Niss [EMAIL PROTECTED] wrote:
(this seems to happen frequently when the button cinsists of
say, a rectangle on one layer, with a text on a layer above it. Often, you
use a button like this and discover that the text isn't clickable, and the
only hot area is the part of
In which case the onData option might be your best bet. The text files can
then be whatever you like - it's up to you to process them in whatever way
you wish.
Basically by providing your own LoadVars.onData() function, you completely
replace Flash's default processing of text files - you are
Hi Javier,
This is because you've got things happening in the wrong order:
- You create your EventTry() object, which calls init()
- Init fires the event, but onEvent is still undefined
- Init then calls die()
- Die() deletes the EventTry object
- You then set onEvent to your function - after
You need to use a Delegate. As this is a question which comes up about one a
week on this mailing list (not your, fault, I know!) I'm afraid I'm going to
direct you to the Flashcoders Wiki page about the problem rather than answer
you in full here...
http://www.osflash.org/flashcoders/as2
Hope
You need to use the Delegate in your addEventListener line - because you're
passing clickTab to a completely different object, which will later call
back to clickTab, but doesn't have the correct context. Passing
this.clickTab isn't enough - passing Delegate.create(this,clickTab) should
be enough.
Sander,
Probably worth switching these two lines around:
myXML.load (sourceXML);
myXML.onLoad = function (success){
doSomethingWithData (myXML)
};
to become:
myXML.onLoad = function (success){
doSomethingWithData (myXML)
};
myXML.load (sourceXML);
Because then you're sure onLoad is set by the
If this was connected to prizes/tournaments, from what I remember it depends
on whether the user pays to play or not; and the laws of the country that
your site is hosted in.
From a UK perspective, if the user paid to play you'd need a gaming and/or
gambling license (gaming for fixed-odds,
From memory...
Assuming myClip was a reference to the loaded MovieClip:
new Sound(myClip).stop();
HTH,
Ian
On 11/17/05, Dhiraj Girdhar [EMAIL PROTECTED] wrote:
Hello,
I have a SWF file which contains sound (whether in the form of sound
object or streaming).
I loaded that SWF in another
On 11/17/05, Tim Stickland [EMAIL PROTECTED] wrote:
One thing that I noticed in your example code was that you called methods
of the parent class using super.method() rather than this.method(). I
wasn't
aware you could do that, but it certainly makes reading the code more
straightforward.
If the sounds are embedded in the timeline, it may be possible to replay
them just by doing a myClip.gotoAndPlay(1)
If they're ActionScript based sounds, it entirely depends on the
ActionScript in the child movie. Again, depending on the code,
myClip.gotoAndPlay(1) might work.
HTH,
Ian
On
Why not try it and find out..?
I actually don't know about Flash off the top of my head - I suspect it
would work (i.e. the overridden function would be called). But it's worth a
try.
In some OOP languages (notably C++ when dealing with virtual
functions/abstract classes) this causes lots of
Haven't tried it - but how about drawing 4 boxes on top of each other, each
one with a gradient going from full colour (in the corner - alpha 255) to
fully transparent (alpha 0) in the opposite corner?
You never know, it might work. :-)
Ian
On 11/18/05, Claudia Barnal [EMAIL PROTECTED] wrote:
posted.
To get all that in ActionScript, look up MovieClip.beginGradientFill() in
the docs - combine it with moveTo() and lineTo() and it should all be fairly
easy.
HTH,
Ian
On 11/18/05, Ian Thomas [EMAIL PROTECTED] wrote:
Haven't tried it - but how about drawing 4 boxes on top of each other
(MX2004)
I'm having a bit of trouble with embedFonts (but not the usual 'can't find
font' trouble!).
I have a bunch of perfectly happily working dynamic TextFields, all created
in ActionScript.
They are all multiline, with wordWrap turned on.
They work perfectly well if I'm not using am
Mike,
I don't _think_ so - this is a dynamically created TextField object. I can't
immediately find an AS property (rather than the UI's checkbox) to control
kerning. Any pointers? Doesn't seem obvious under TextField or TextFormat...
Cheers,
Ian
On 11/21/05, Mike Mountain [EMAIL PROTECTED]
Hi Judah,
Thanks for that, but unfortunately I couldn't see any solutions in what you
wrote. The embedding itself is working fine - the text is definitely
appearing using the embedded font. The problem is simply that word-wrapping
doesn't work when embedFonts=true - but does work when it's false.
Hi Mike,
No, it is on the MX04 props panel too - just it's greyed out for dynamic
fields.
Cheers,
Ian
On 11/21/05, Mike Mountain [EMAIL PROTECTED] wrote:
Sorry, just read that you're using MX04 - the Auto kern checkbox is on
the props panel for flash 8, I'll go back to sleep...
M
Hi Judah,
I'm afraid your solution wasn't really addressing my problem - although
the tutorial looks fine, I'd already successfully embedded fonts.
My problem was that when embedFonts=true was turned on using ActionScript,
the last line of a TextField would stop wrapping for no apparent
On 11/24/05, Boon Chew [EMAIL PROTECTED] wrote:
Thanks Janis. The problem with doing it below is that you cannot change
_x, _y directly on the mc like you can with a regular movieclip.
var b = new myButton();
b._x = 200; -- won't work
Boon,
You're quite correct - however the
This component is really rubbish - I've previously had all sorts of problems
with it,
mostly to do with the dropdown not appearing.
This I fixed with _lockroot and putting a ComboBox on the stage of my
loading movie.
That works, and has been fine for ages.
Now I've had to move my ComboBox, and
I've never had that problem.
Try removing the this from this.myFunction. Shouldn't make any
difference - but I don't use it, and, as I said, I don't have the problem.
:-)
HTH,
Ian
On 11/28/05, Nikolaj Selvik [EMAIL PROTECTED] wrote:
Hi,
Thanks for welcoming me to your list!
I´ve run
Hi Juguang,
I posted the following about a week ago - I think it's what you're after:
--
Can't remember where I got this solution - definitely not mine - but
here's how to create a MovieClip-derived class that doesn't need an
associated library symbol:
Hi Juguang,
Try replacing the line:
public static var symbolName:String=RMC;
with:
public static var symbolName:String=__Packages.RMC;
HTH,
Ian
On 11/29/05, de-hack SWF [EMAIL PROTECTED] wrote:
Hi Ian, thanks! But I have read such code many times and in many forum.
However, my this
] wrote:
On 11/30/05, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Juguang,
Try replacing the line:
public static var symbolName:String=RMC;
with:
public static var symbolName:String=__Packages.RMC;
HTH,
YTH! (Yes, that helps) My week-lasting exhaust is breezed away. Many
thanks
Alternatively you can set flashVars in the containing object or embed
tags - Google for flashVars. I'd imagine with SharedObject you'd run into
problems if (for example) you had two different browser windows open.
HTH,
Ian
On 12/1/05, Mischa Williamson [EMAIL PROTECTED] wrote:
You can use
Have you investigated the string table? (Press CTRL+F11 in authoring)
We use the MX04 string table alongside a (heavily modified) version of the
built-in Locale code all the time. We also use our own handrolled XML string
tables (just files full of tagged-up string resources), depending on the
No, there's no way of avoiding the external XML files without a lot of
fudging with the code.
Sounds like your best bet would be to simply create a look-up table
somewhere in your code - as a static singleton if needs be.
e.g.
class Strings
{
public var static MENU_TITLE:String=Main Menu;
Grant,
That's the second time it's come through.
You've posted a local URL that links to a file on your machine's D drive. So
people can't actually look at your content.
Cheers,
Ian
On 12 Dec 2005 14:32:32 -, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Resent as it never got to the
I also use SVN/Subversion. I worked with CVS for years, and really do
recommend SVN rather than CVS, as SVN is (as the authors state) CVS
redesigned from the ground up to solve some of its basic issues.
Workflow wise - nothing fancy. We have a top-level shared-classes folder and
a bunch of
We use a vaguely similar method for theming our applications. These are very
simple apps which have (as standard) navigation buttons, minimize buttons,
settings, help dialogs, exit dialogs etc. All the dialog items, happily, are
_above_ (in display depth) the functionality of the main app. So all
Iestyn,
If you look back over the last couple of days of posts, lots of people
have been talking about this already (see under 'Workflow')...
The general consensus seems to be to use Subversion (also called SVN). I
myself use it all the time; it solves many of the problems CVS used to have.
Hi Jim,
No, not loadMovieNum - just loadMovie.
This is horribly simplified - but let's just say that our 'container'
movie takes care of loading, and has two layers:
_appLayer=createEmptyMovieClip(app,getNextHighestDepth());
Hi Danny,
SVN and CVS work happily for remote access, too...
Cheers,
Ian
P.S. Bought the book, by the way - just haven't had time to read it. :-)
On 12/13/05, Danny Kodicek [EMAIL PROTECTED] wrote:
We've been quite happy with FTPVC, which is a system based on your FTP
site.
It's very
No - it's just that as far as Flash embedding is concerned Verdana Italic is
_different_ from Verdana.
What you need to do is embed both versions of the font - Verdana Italic and
Verdana.
The easiest way to do that is to stick a dynamic textfield offstage, and put
two lines of text in it. Set it
HI Andreas,
I have definitely had issues where declaring the two in the wrong order
has meant that the onLoad doesn't get called. Can't remember specifics - but
there are definitely cases where it's a problem. (From what I remember,
executing within Zinc and loading from the local file system
You could try using flashVars instead of appending the parameters to the end
of the URL. I don't think flashVars has a limit. May be less hassle than
switching to Remoting.
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16417
Cheers,
Ian
On 12/19/05, Corban Baxter [EMAIL
Surely all you need to do is just name the placeholder MovieClip instances
appropriately?
So if the database returns a seat identifier, then access a clip named
seat_someID with:
var seatClip:MovieClip=myTimeline[seat_+seatID];
where we assume seatID is a string returned from the database (e.g.
You might also need to set the combobox._lockroot=true to cure other
standard combobox woes...
Ian
On 12/22/05, Steven Sacks [EMAIL PROTECTED] wrote:
Put a combobox component in the loading movie (the root movie).
___
Flashcoders mailing list
Alternatively, if you're looking in a directory on a server, code up
something in a server-side language - PHP or whatever - to do the file
count, and have flash request the result.
HTH,
Ian
On 1/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:
http://www.multidmedia.com/software/zinc/
Is the movie you're having trouble with loaded into another containing
movie? And has that other containing movie got references to a version of
the class you're changing? In which case you need to recompile that
containing movie, too. Flash always uses the first version of the class that
it
This seems a pretty relevant link:
http://www.webpronews.com/ebusiness/seo/wpn-4-20040907GoogleCanNowIndexFlashAnInterviewwithMichaelMarshall.html
HTH,
Ian
On 1/11/06, Alan MacDougall [EMAIL PROTECTED] wrote:
No way. Google is way too smart these days. White text on a white
background,
I've been using FlashDevelop for about a week now; it's excellent stuff.
Nice and lightweight and just seems to work.
Cheers,
Ian
On 1/12/06, Philippe [EMAIL PROTECTED] wrote:
The only thing I miss comparing to PrimalScript (that I've been using
before
I've got known FlashDevelop ) is
Mike,
Where is this code? Just on the root timeline? Are you sure the
repositioning you're getting isn't a result of the normal Flash
resizing/scaling and that this code _is_ being called twice?
Cheers,
Ian
On 1/16/06, Mike Boutin [EMAIL PROTECTED] wrote:
I am working on a fullscreen flash
We've jsut started using AS2API -
http://www.badgers-in-foil.co.uk/projects/as2api/ - which works fine for us
on Windows (but had issues on Linux, sadly, although I think that's because
our Linux box needs a good cleanup).
Cheers,
Ian
On 1/18/06, eric dolecki [EMAIL PROTECTED] wrote:
BLDoc
want.
Sorry I couldn't be of more help!
Ian
On 1/18/06, Alan MacDougall [EMAIL PROTECTED] wrote:
Ian Thomas wrote:
We've jsut started using AS2API -
http://www.badgers-in-foil.co.uk/projects/as2api/ - which works fine for
us
on Windows (but had issues on Linux, sadly, although I think
As far as I can see from the front page (Roadmap panel) it doesn't yet
support JavaDoc as a style, which is a shame...
On 1/18/06, ryanm [EMAIL PROTECTED] wrote:
Or, can anyone suggest an alternative software that takes the java-doc
style comments and create documentation?
Check out
The keywords @param, @see, @return all have special meaning to JavaDoc based
tools (as well as a host of other @commands). In my limited tests of
NaturalDocs it looks like it doesn't support those special meanings- which
is why the front page of the NaturalDocs site says that JavaDoc is still to
Hi Martin,
Rather like you - all I have is a script which runs once nightly as a cron
job, does an update from SVN, then calls the doc tool and copies the
generated docs into a folder hosted by the webserver. Nothing complicated.
I'd be interested in seeing a decent AS2 config for Doxygen
Um. Why?
And have you any concrete examples of that sort of ban?
Just seems like an extremely odd decision by Google.
Cheers,
Ian
On 1/19/06, Johannes Nel [EMAIL PROTECTED] wrote:
a word of caution. google can ban you for using ripple.
___
Looks good - but sadly doesn't support inheritance:
http://www.senocular.com/projects/ZenDoc/doc/#manual_limitations
Which is a real shame.
The hunt for the perfect documentation tool goes on. :-)
(At this rate I might be forced to write one. ;-) )
Ian
On 1/20/06, Duncan Reid [EMAIL
Looks good!
Any chance of a command-line driven version so that I can achieve my goal of
having server-side generated documentation on my SVN box..?
Cheers,
Ian
On 1/22/06, Sam Wootton [EMAIL PROTECTED] wrote:
Yes, its written in Java.
Regards, Sam
Sorry, didn't understand that one...
I have already tested as2api - and unfortunately it comes up with a bunch of
errors on the Linux box and produces no output.
Ian
On 1/22/06, erixtekila [EMAIL PROTECTED] wrote:
Any chance of a command-line driven version so that I can achieve my
goal of
Andreas,
Just sight-reading the code rather than testing it - shouldn't there be a
=== or !== in there somewhere to make sure you're talking about _exactly_
the same object rather than one which just has the same value..?
Cheers,
Ian
On 1/23/06, Andreas Weber [EMAIL PROTECTED] wrote:
If
Rishi,
There is such a thing as 'unreasonable requirements', you know. :-D
Could you break down the font list, and present it to the user in sections?
For example, Handwriting Fonts, Electronic Fonts or something - or even
A-D, E-F etc.
Then at least you could load the previews in smaller
Hm. Good point, and something I should go away and test. :-) I had it in my
head somewhere that Flash did a low-level crude equality check on objects
with == - are they both the same type and do the properties match? But I may
well have misremembered that as a feature of a different language - I
For the reasons given by Danny et al, you could never have a myObj.getString()
such as you describe... other than possibly for debugging purposes, I'm at a
loss to work out why it'd be useful?
Ian
On 1/23/06, Julius - XK [EMAIL PROTECTED] wrote:
Is this what your looking for? It has it's
Hi Danny,
Don't know of any relevant scaling property - but are you using embedded
fonts? If not, at a guess it could be rendering using device/system fonts
and messing up the scaling?
HTH,
Ian
On 1/25/06, Danny Kodicek [EMAIL PROTECTED] wrote:
I'm getting something odd: When I rescale my
Or even shorter:
public function handleUpdate(a:Object,b:Object,c:Object,d:Object)
{
var handlerName:String = 'onUpdate';
if (a.selected){handlerName+= 'A'};
if (b.selected){handlerName+='B'};
// etc.
if (this[handlerName]==undefined)
{
trace(We haven't
Create a container movieclip, stick the Slice9 object in as a background,
put the other object in as a sibling to it? So instead of:
Slice9
+ MyImportantClip
have
Container
+ Slice9
|
+ MyImportantClip
HTH,
Ian
On 1/26/06, Michael Byström [EMAIL PROTECTED] wrote:
Hi Mike,
It's a Known Feature with Firefox. It's not strictly speaking a bug - the
browser doesn't know how high the document is supposed to be, because
there's no sized content in the document.
Try sticking this in the head
style
body,html
{
margin:0px;
padding:0px;
height:100%;
}
Clark,
That's because www.fred.com need not point to the same server as fred.com.
At all. They can be routed to totally different machines.
Cheers,
Ian
On 1/27/06, clark slater [EMAIL PROTECTED] wrote:
There's obviously no question about the value of the security sandbox and
the
Hi Sam,
Just run it through the PHP function stripslashes() before parsing it.
Cheers,
Ian
On 1/29/06, Sam Wootton [EMAIL PROTECTED] wrote:
Hi,
Thanks in advance for any help.
I am constructing an XML file in Actionscript, here is a little bit that
cycles through an array, producing
Place another movieclip over the top of it, 100% alpha, with onRelease set
to a dummy function?
On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have a tree and to Buttons to navigate to tree (up and down).
Now I need to make the tree not clickable. A user may only navigate with
the
Sorry, I meant 0% alpha, of course. :-)
Ian
On 1/31/06, Ian Thomas [EMAIL PROTECTED] wrote:
Place another movieclip over the top of it, 100% alpha, with onRelease set
to a dummy function?
___
Flashcoders mailing list
Flashcoders
Why will they think there's something to be clicked?
Set .useHandCursor to false on the blocking clip?
Cheers,
Ian
On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I know, but then users will still think there's something to be
clicked...
Isn't there a way to access the movieclips
Lieven,
No problems. Masking things out with a clip might feel a bit like
cheating, but I'm all for 'do the simplest thing that works...'
Cheers,
Ian
On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Yep, Ian, I'v been programming Flash now for a year, and didn't know
there was a
I definitely get better performance out of Convo rather than Blur in both
Firefox and IE on Win XP.
Cheers,
Ian
On 1/31/06, franto [EMAIL PROTECTED] wrote:
in your performance test in Firefox, all seems same for me, little bit
blur has slower
but CPU usage on blur: 38-40 %
on convo: 34 -
Hrm. I get:
blur filter time : 11032
convolution 3x3: 10144
convolution 5x5: 37781
no filter : 7510
Win XP, 3GHz, 512MB RAM
I wonder if it's a graphics card/hardware acceleration thing. (I have a
rubbish graphics card.)
Ian
On 1/31/06, Mike Mountain [EMAIL PROTECTED] wrote:
so, please
Greater than or Equal to for Strings.
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary374.html
Existed only in Flash 4.
Cheers,
Ian
On 1/31/06, John Grden [EMAIL PROTECTED] wrote:
**Error**
That is, of course, one way to do it. If you want to throw out all your
type-checking and the like. Personally I like to make the compiler do as
much of my error-checking as possible, rather than having to hunt through by
hand - so prefer to be 'lame'. Particularly because I'm providing a
That's absolutely brilliant news.
Ian
On 2/1/06, David Rorex [EMAIL PROTECTED] wrote:
yes, the command-line compiler framework will be free.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Um... not quite sure what you're up to here - but it sounds like you're
getting a bit confused between IWorldPart and WorldPart.
What you need is:
interface IWorldPart
class SomeWorldPartSubclass implements IWorldPart
then
var myPart:IWorldPart = new SomeWorldPartSubclass();
should be fine.
No, you can't instantiate an interface. But I don't think Hans was doing
that.
There's no problem with typing:
interface IWorldPart {}
class SomeWorldPartSubclass implements IWorldPart {}
var myPart:IWorldPart = new SomeWorldPartSubclass(); /* Note
INTERFACE-typed var, not concrete */
Then as Steve says, sounds like a compiler bug.
Ian
On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote:
Hi,
No confusion here ;) except maybe for my fuzzy explanation ;).
I did:
interface IWorldPart
class WorldPart implements IWorldPart
class SomeWorldPartSubclass extends WorldPart
then
But it should. :-)
Like I said, my quick test of
var myPart:SomeInterface=new SomeConcreteImplementingSomeInterface();
trace(myPart instanceof Object);
Traces 'true'. Which is what I'd expect.
I really don't understand why you're getting an error with myCollection.
I know you've solved your
MX2004
Cheers,
Ian
On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote:
Hi Ian,
Which flash version are you using?
I had other problems yesterday with extending CollectionImpl due to my
flash
version (mx 2004), which worked just fine in flash 8. Might be the same in
this case.
Are you
'Fraid not. One to chalk down to experience, I guess. Oh well. I'm making
the move to 8 shortly myself, once this latest crop of projects are out of
the way...
Ian
On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote:
Life is so unfair :)
I had to switch to flash 8 to make it go away... My mind
Hi folks,
I'm looking for a bit of inspiration to help me out with the drawing API.
I've got a feature that's sort of like a painting tool -
- User clicks the mouse
- on mouse move, a filled circle is drawn on the canvas (using
beginFill/curveTo/endFill)
- User releases the mouse
So essentially
In the days of old compilers and IDEs I used to use complicated naming
conventions - including the (horrible) Hungarian notation mentioned above
(But it did help at the time. I think. When wading through piles of someone
else's mangled C code.).
Now with more sensible IDEs that can do
Hi Gregory,
Thanks for that.
I am basically plotting/drawing a circle at each point the mouse moves to
while clicked. (This isn't a paint package, it's for something else entirely
- which is why I'm not drawing lines...)
I had already got as far as trying rectangles - they are indeed a lot
Hi Franto,
As far as I understand it, 'import' isn't enough to get a class compiled
into your .swf.
The line:
import sk.sowhat.linuxPlayer.play4dogs.Test;
just tells the compiler that any mention of the word Test in your code will
refer to that class.
If the class isn't compiled into the SWF,
On 2/2/06, Adrian Lynch [EMAIL PROTECTED] wrote:
Also, if you're working on a project with others, be consistent with each
other. If it's a fresh project, have a chat about what to use. If you're
coming on board you might be more inclined to follow what's already there.
Amen.
If you're
/2/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Gregory,
Thanks for that.
I am basically plotting/drawing a circle at each point the mouse moves
to while clicked. (This isn't a paint package, it's for something else
entirely - which is why I'm not drawing lines...)
I had already got
Whoops - I'm being dim. These will work just as well:
import sk.sowhat.linuxPlayer.play4dogs.Test;
var dummyVar:Function=Test;
or
var dummyVar:Function=sk.sowhat.linuxPlayer.play4dogs.Test; (with no import)
Ian
On 2/2/06, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Franto,
As far as I
I'm using an 8-arc method - I'd prefer to find 4-arc (i.e. the quadratic
bezier) but haven't been able to find/work out suitable code. Could you
point me in the right direction?
Many thanks,
Ian
On 2/2/06, GregoryN [EMAIL PROTECTED] wrote:
Also, what code do you use to draw circles?
Even
1 - 100 of 752 matches
Mail list logo