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.
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
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
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
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;
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
] 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
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
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
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
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
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
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
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
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.
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
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.
*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
_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
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
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
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
701 - 752 of 752 matches
Mail list logo