Hi,
I posted some info on my blog about using photoshop/3d software to get the
effect you want.
I don't know if displacement maps are the way to go though, seems
papervision3d might be of more help to you.
Anywayz for more info on getting specific displacements, you can take a look
here:
http://ob
Hi,
i dont know if it helps, but i posted a piece of movieclip printing code
here:
http://objectpainters.com/blog/?p=9
It basically prints a movieclip you pass it scaled-to-fit.
Option 1 and 2 describes rotating along with a landscape setting or not
rotating along with it.
It might help you alth
Hi,
new eval("_global.mypackage.MyClass") does the trick as well I believe.
greetz
JC
On 3/19/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> > If I have a string, how can I make an object from the class
> it represents?
> > Eg:
> >
> > I have class MyBigClass
> > the string className contains
Hi,
you mean something like this:
var bitmapData1:BitmapData =
new BitmapData(200, 200, false, 0x00);
bitmapData1.draw(myMC,new Matrix());
?
greetz
JC
On 3/21/07, Douglas Pearson <[EMAIL PROTECTED]> wrote:
Anyone know if there's a way to draw the contents of a SWF to a
Bitmap/BitmapData o
Hi,
this
class Clarss {
var pRoot:Clarss2
function Clarss() {
}
}
class Clarss2 extends Clarss {
function Clarss2() {
}
}
looks like a design error to me. One of the reasons you would use
inheritance is polymorphism, and reducing complexity. A super class having
to k
ps if you still need to do what you are trying, compiling twice or thrice
might help:)
On 3/22/07, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi,
this
class Clarss {
var pRoot:Clarss2
function Clarss() {
}
}
class Clarss2 extends Clarss {
function C
Hi,
i just finished an app with the same characters in it. It contains no header
and is a unicode file.
The file was generated from a database to ascii (which is stupid but
whatever) so I used a commandline vbscript for the conversion from my
buildfile.
If you like I can send you the xml file and
Hi,
you said:
restrictive not to be able to refer to a superclass within a subclass -
that's enforcing an arbitrary design principle.
But that's not what you are doing: you are referring to a subclass within a
superclass.
And with this "So it seems pretty reasonable to me that all my objects kno
Hi,
it works ok here. It traces zero, as it should.
greetz
JC
On 3/23/07, Lee Marshall <[EMAIL PROTECTED]> wrote:
Hi all
Just trying to create a box in actionscript into an empty movieclip. I
then wanted to reurn the _x postion of the box, but it's just not
happening for me. Here is my code.
Hi,
your example is:
seconds = a;
newSeconds = a+10;
if (seconds == newSeconds)
in other words
if (seconds = seconds+10)
that will never work.
Look into setInterval and there is a undocumented setTimeout function
somewhere I think.
Better yet write your own Timer and TimerEvent class to wrap t
Hi,
you asked this question before, and I replied to it, why not continue that
thread instead of reposting it?
You are on the right track though, there are different approaches:
1. waiting a number of frames:
var curFrame:Number = 0;
var frameRate:Number = 12;
var waitFrames:Number = 20*frameRate;
Hi,
shouldnt be too tricky, set the actual x and y scale to the minimum of the
preferred x and y scale.
Might be wrong about this, but shouldnt it be something like:
eg:
var prefXScale:Number = //get preferred x scale eg based on x mouse
var prefYScale:Number = //get preferred y scale eg based on
Hi,
that IS weird, because if your image is 800x600, you are saying:
target_mc._xscale = target_mc._yscale = 800;
which is probably not what you want^^
greetz
JC
On 3/26/07, eric e. dolecki <[EMAIL PROTECTED]> wrote:
Ok that is SO weird. I was just thinking about this...
myListener.onLoad
Hi,
you mean gotoAndPlay(161) on frame 1?
greetz
JC
On 3/27/07, Phil Smith <[EMAIL PROTECTED]> wrote:
Hi. I am using a Flash template and I want to modify it so that it starts
at frame 161 each time, as a return page without intro. Anyone got an easy
solution?
Cheers, Phil Smith.
Hi,
note that the proposed solutions restart the interval, they do not pause it.
Otherwise calculate how much time there is still left of the interval.
greetz
JC
On 3/27/07, Muzak <[EMAIL PROTECTED]> wrote:
Might as well throw in Delegate while you're at it:
import mx.utils.Delegate;
var int
age resizer that maintains ratio
The "_scale" property is a percentage value if you have a 800x600 image
and
set _xscale=50 and _yscale=50, you get a 400x300 image
On 3/26/07, Hans Wichman < [EMAIL PROTECTED]> wrote:
>
> Hi,
> that IS weird, because if your image is 800
a long time before showing
up.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: 27 March 2007 08:23
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Image resizer that maintains ratio
The more I read these post, the mo
Hi,
the problem is "Note: I had set the "USEMX" option in flash develop to
true..."
Setting the option to true, means mtasc is passed a flag -mx which means: do
NOT use the mx classes.
So you are not compiling the delegate class into your project. If you want
to use the -mx flag, simply create a
Omar,
have you tried what I suggested?
greetz
JC
On 4/11/07, Omar Fouad <[EMAIL PROTECTED]> wrote:
D. ache i tried it but unfortunately it didn't work. More ideas???
On 4/11/07, dr.ache <[EMAIL PROTECTED]> wrote:
>
> scope problem. try to create the Delegate before applying it to the
> on
tion, as in injecting swf's doesn't support
assets... thanks Hans for your reply and thanks to all the list!
Flash Coders ROCKS!!!!
On 4/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote:
>
> Omar,
> have you tried what I suggested?
> greetz
> JC
>
>
> On 4/11/07, Om
Hi,
is pj.addPage( view.mcPrint, null, {printAsBitmap:Boolean}); actual code?
or do you use pj.addPage( view.mcPrint, null, true); ?
greetz
JC
On 4/12/07, Flap Flap <[EMAIL PROTECTED]> wrote:
In fact seems to be a Flash Player 9 weirdo and nothing to do with local /
online.
Hi,
check http://www.peachpit.com/articles/article.asp?p=31573&rl=1
and specifically:
*CAUTION*
The print and printNum actions do not print alpha channels, bitmaps, or
color effects.
There was a post a couple weeks ago about printing a movieclip, check it
out.
I have some printing code on my b
Hi,
what were your own test results? :)
Yes you can do this, and flash will execute the first matching case
statement. Any other matches will be ignored.
greetz
JC
On 4/17/07, Andy Herrman <[EMAIL PROTECTED]> wrote:
I just realized that there are a number of switch statements in my
code whic
Hi list,
ok this feels a bit like a stupid question, but i haven't been able to find
it anywhere,
is there anyway to install the latest flashplayer ocx without visiting the
adobe site with internet explorer?
I can download the archived players, but i can't download the latest, except
through a bro
T
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Hans Wichman
> Sent: 18 August 2006 11:56
> To: Flashcoders mailing list
> Subject: [Flashcoders] flash player
>
> Hi list,
> ok this feels a bit like a st
sorry, instead of on *ADOBE* djeez its like changing to the euro all over
again...
On 8/18/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi,
yes and no:).
I see a standalone installer, Download the *Flash Player* 9 (Complete *
Standalone* Installer) <http://www.softwarepatch.com
ch as a visual basic program
which needs to display flash or other programs that like to host flash
content, the ocx might be needed.
I'm going with the licensing option, thanks!
grtz
Hans
On 8/18/06, John Dowdell <[EMAIL PROTECTED]> wrote:
Hans Wichman wrote:
> is there anyway to
Hi,
not sure if this is what you mean but:
import com.somepackage.HomeView;
var bv:BasicView = getSomeBasicView();
var newHomeViewHomeView =HomeView( bv );
grtz
JC
On 8/23/06, aaron smith <[EMAIL PROTECTED]> wrote:
How do I cast to something that is in the _global tree. by that i mean.
cast
Hi list,
I am writing a new logger for actionscript 2 projects.
It's not completely done yet (say about 90%), but i have together a
preliminary set of sources and examples.
In short some of its nicest features (imo:)):
- automatic reflection, eg you use Logger.log ("here") and it prints
MyClass.
Hi,
ofcourse my hosting provider decided today was a good day to die, sooo
here is an alternative link...
http://www.screatoris.net/xflas2/
greetz
JC
On 8/23/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi list,
I am writing a new logger for actionscript 2 projects.
It's not
oi' would
be possible...
keep up the good work!
henrik
--
Henrik Weber
Certified Flash Developer
__freemind design__
www.freemind-design.de
On 8/23/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Date: Wed, 23 Aug 2006 16:24:00 +0200
From: "Hans Wichman" <[EMAIL PROTECTE
on the OSFlash wiki. 8-)
cu! henrik p.s. have you already looked at zeroi
<http://www.osflash.org/zeroi>?
On 8/23/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi, John, tnx, but I'm ok, i used my screatoris page for now located at
my workplace, but i might take you up on your offer
Hi,
no you are calling it once, if you had used:
function SubApplication() {
super();
initiate();
}
you would have seen it twice, but i wouldn't know why you'd want to:)
grtz
Hans
On 8/30/06, Helmut Granda <[EMAIL PROTECTED]> wrote:
Thanks guys, I think i have to go back to th
Hi,
setInterval each 10ms might be a bit overkill.
grtz
JC
On 9/3/06, kariminal <[EMAIL PROTECTED]> wrote:
Hello All...
My flash movie fills the whole browser window. If the window is kept small
performance is great, however when I maximize the browser everything slows
down. This is a simple
Hi,
dont think so. A workaround would be to use a jsfl script to write this
information to an xml file upon build, which is loaded at runtime.
grtz
Hans
On 9/2/06, PR Durand <[EMAIL PROTECTED]> wrote:
Hi List
Is there a way to know an MC affected "export for actionscript" linkage
id via AS cod
Hi list,
if i right click my flash content and print it, it prints correctly except
for the textfields: they get a green background?
A clue anyone?
grtz
Hans
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Hey John,
this is the same thing i sent you a mail about a while ago, I experience it
as well, but not sure if its xray or me:)
greetz
JC
On 9/6/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
Hi John,
I'm using connector 1.6.1 and the 1.2.5 interface.
I just made a really simple example
Hi,
it might be that you are using relative class paths.
If so, the fla will compile all right, but during syntax check, there is no
relative path to start from. You will need to add a full absolute classpath,
and it should go okay.
grtz
JC
On 9/6/06, Adrian Ionut Beschea <[EMAIL PROTECTED]> wr
*just kidding*
i hope you can recover the important data and
you can soon get back to normal... wish you
luck!
cu
henrik
On 8/23/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi Henrik,
I've looked at it, and it seems pretty cool, however I'm not sure if it's
really zero impact
, anyway i´ve deleted the aso file...
still the same fu*** thing... only the check syntax generate the error...
Hans Wichman wrote:
> Hi,
> it might be that you are using relative class paths.
> If so, the fla will compile all right, but during syntax check, there
> is no
> relativ
Hi,
i've been wondering myself, and up till now we have reverted to processing
the flv with a meta data injector (burak's) and checking the current flv
time against the duration to see if it has ended.
grtz
Hans
On 9/6/06, Andreas R <[EMAIL PROTECTED]> wrote:
I know this is an old question bu
Hi,
if I remember correctly, when using a streaming server, and a buffer of for
example 10 seconds, the NetStream.Play.Stop would trigger just fine 10
SECONDS BEFORE the actual end of the flv:)
So you end up waiting for an empty buffer after the stop event etc etc
greetz
JC
On 9/6/06, Dan
Hi,
ok tnx ill try that!
grtz
JC
On 9/5/06, Martin Weiser <[EMAIL PROTECTED]> wrote:
try to swotch off focusRect property ( i think it is global, see in the
docs)
MW
Hans Wichman wrote:
> Hi list,
> if i right click my flash content and print it, it prints correctly
> e
Hi peeps,
this project now has a page on osflash: http://www.osflash.org/xflas2
greetz
JC
On 9/6/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Soo... all the important data has been recovered:) and after my next
deadline I'm back on this proejct as well. Did anyone have time to
Hi list,
i was wondering if any of you have experience with fp_xhtml_render?
I am looking for an easy way to include forms in my html etc, for exampe
radio buttons, by simple loading a html page containing them.
Has anybody tried this?
kind regards
JC
Hi,
Delegate is not only for components, it works for anycase where you wish to
run functions in another scope.
greetz
JC
On 9/12/06, Alexander Farber <[EMAIL PROTECTED]> wrote:
Hello John,
On 9/12/06, John Axel Eriksson <[EMAIL PROTECTED]> wrote:
> You could look into Delegate or Proxy... ma
Hi peeps,
in the
http://chattyfig.figleaf.com/pipermail/flashcoders/2005-June/140802.html i
described a method for class name reflection I used.
I noticed a while ago it's being used here and there (xray, some arp
extensions, etc), so you might want to know it's been updated.
It's part of the xf
Hi,
a few months? ouch...
callFunction will run in my_ns it's scope, if you want to run it in another
scope you can use Delegate or the apply method.
goodluck
JC
On 9/19/06, eric dolecki <[EMAIL PROTECTED]> wrote:
Sorry - I've been in the hospital for a few months, so I forgot how this
works.
Hi list,
imagine 2 scrollpanes or listbox containing items, and the requirement that
you'd have to be able to drag and drop items from one pane into the other.
My guess is that standard flash startDrag()/stopDrag() wont be able to help
me here, seeing the items wont be able to leave their respecti
Hi,
not sure what you need, but a simple server side script (eg php) returning
xml, or a webservice would be enough for your needs?
greetz
JC
On 9/19/06, James Booth <[EMAIL PROTECTED]> wrote:
Look into Flash Remoting. This is how I've done it in the past.
- James
-Original Message---
Hi,
sometimes one way, another time the other:) depends on the leg i jumped out
of bed with.
Anywayz, I usually do not use the __proto__ approach for the main document,
but rather for the low down dirty stuff you hope nobody will see on a first
glance:).
When I do use the linkage id approach (for
Hi list,
i've created a game in which clips are being masked and some users report
that instead of a masked clip, the only see a sillouhette (?)/ filled
outline of the mask. Does this sound familiar to anyone?
I've tested it on numerous pc's and it works fine, so it seems to be
something specific
Hi,
stupid stupid me, i had to remove a flashcheck due to certain reasons i dare
not explain:) and guess what...
the person in question was running an older player version.
Fortunately no bitdepth nightmare.
thanks danny!
greetz
JC
On 9/27/06, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> Hi lis
Hi,
not 3 times? I don't think its being called twice in class2, class5's
superclass is class 4, which doesnt not redefine class2's method.
Let class 5 extend class2 for testing purposes, it probably will work
correctly and introduce class3 to see what it does. Then override method1 in
class 3 to
all super, because is not needed in a OOP language.
Hans Wichman escribió:
> Hi,
> not 3 times? I don't think its being called twice in class2, class5's
> superclass is class 4, which doesnt not redefine class2's method.
> Let class 5 extend class2 for testing purposes,
Hi,
there are different options, i think as2lib has some kind of AOP mechanisms,
allowing you to add aspects to your code, eg a logging aspect. Not entirely
sure about this but i think in this case it would come down to walking the
global tree, through all classes (assuming everything is as2), wal
And once you have it running, you'll have the best weekend ever, throw a
party and won't understand how you every managed without it... :)
On 9/28/06, Alain Rousseau <[EMAIL PROTECTED]> wrote:
Try this link,
It has everything you need to know about XRay, including where to download
!
Enjoy
Hi,
other way:
my_btn.onRelease = Proxy.create (this, this.doStuff, param1, param2,
param3);
The Proxy class can be found through google.
greetz
JC
On 9/29/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
One way:
function doStuff(mc){
trace(mc);
}
my_btn.clip = mc
my_btn.onRelease = function()
Hi,
i used adshareit, worked great for me, grabs all the scripted movies etc.
http://www.adshareit.com/
greetz
JC
On 10/3/06, Seb L <[EMAIL PROTECTED]> wrote:
I used swf2video, which worked really well. Not sure if they've
updated for 8 though, last time i used it on Flash 7.
On 03/10/06, Gi
Hi,
don't know if it helps, but for example ._url might yield something
different in flash 9 then in flash 8.
Which means the resulting path in 9 is different from that in 8, which might
in turn cause content to break.
Not saying that was the problem here, but it might well be.
greetz
JC
On 10/
Hi,
use xflas2, from osflash/xflas2 :)
And check the examples, there is a Logger.markEntry call which will print:
ClassA.methodA called from ClassB.methodB.
greetz
Hans
ps i will put more info up soon
On 10/8/06, Troy Rollins <[EMAIL PROTECTED]> wrote:
On Oct 8, 2006, at 1:47 AM, Ramon Mig
l() has not yet been added.
Once you have done this, you can use Logger.markEntry(arguments).
Lemme know if this works for you or if you'd like any help with it.
greetz
JC
On 10/8/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi,
use xflas2, from osflash/xflas2 :)
And check the exampl
One other option, is NOT nesting the clips. At least not code wise.
On 10/9/06, Perdue, Blake <[EMAIL PROTECTED]> wrote:
Is there any other work around? I'd prefer to avoid wasting cycles
checking the location of the mouse every time it's moved.
I was hoping there was some sort of submenu flag
Hi,
and one other note,
don't do:
class ArrayTest {
public var items_arr:Array = [];
}
becoz that will be the same as :
class ArrayTest {
public static var items_arr:Array = []; }
initialize the array in your constructor instead.
greetz
JC
ps flash bug
On 10/10/06, Jon Bennett
Hi,
you can record all the public fields for an object, prior to unhiding all
the hidden fields.
Now afterwards, hide everything and unhide the fields you recorded earlier.
greetz
JC
On 10/11/06, Janis Radins <[EMAIL PROTECTED]> wrote:
Hey ppl!
I have made some pretty nice printR function (
Hi list,
i've been trying to detect a mouseup event outside of the actual
flashcontent, even outside the browser.
So far I've come up with the following:
- you cannot read the mouse position outside of the flash-stage unless the
mouse is down
- you cannot detect the mouse up event outside flash u
Hi Pete,
check out the project page for flasc, there are video's available that demo
it.
In addition as mentioned before, FlashDevelop wraps around mtasc too.
greetz
JC
On 10/13/06, Pete Miller <[EMAIL PROTECTED]> wrote:
This looks great, but I can't figure out how to create a project in
FLAS
w that works.
P.
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:flashcoders-
>> [EMAIL PROTECTED] On Behalf Of Hans Wichman
>> Sent: Friday, October 13, 2006 11:17 AM
>> To: Flashcoders mailing list
>> Subject: Re: [Flashcoders] Alternative IDE for Flas
Hi,
export all as2 classes and stuff after frame 1, eg frame 10 and write your
preloader in as1 :).
greetz
JC
On 10/16/06, Anthony Lee <[EMAIL PROTECTED]> wrote:
Stephen,
Don't know about the Flash IDE, but MTASC can do this for you. I posted
a similar question to osflash.org, here's the thr
Hi,
well FlashPaper2 converts ppt to flash, not sure if it is what you are
looking for, but its part of studio 8.
greetz
jc
On 10/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote:
I believe you can keep your transitions effects and animations with
Impress
(OpenOffice's PowerPoint editor)
But th
Hi,
there is a bug in the loader component, which might be whats bothering you
in your case.
It plagues the scrollpane too, but there is a fix somewhere out there:)
greetz
JC
On 10/16/06, Alain Rousseau <[EMAIL PROTECTED]> wrote:
I've never used the Loader myself, so I can't really help you o
Hi,
very interesting, ill be sure to test this out!
greetz
JC
On 10/16/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
Hello everyone,
I had a really big issue recently, when I realized that the performance of
a large-scale game
I built in Flash dropping substantially after 1/2 hour of game
Hi list,
I'd like your to cents on this, I'm building an app with different layers,
systemmessages, errordialogs, windows etc.
Would you recommend using the DepthManager and the like in order to
implement modal dialogs and stuff or would you implement your own mechanism?
greetz
JC
___
Hi,
dont use the onPress etc for the draggable clip, but implement something
using hitTest.
greetz
JC
On 10/18/06, mastro <[EMAIL PROTECTED]> wrote:
hello !
i made a draggable mc and include 3 buttons in it.
how can i make the buttons working?
i include a test.fla in this e-mail.
thanx for
Hi list,
the remainder of this post will be in dutch, and it will be a job posting.
If you are from outside of the Netherlands and would like a translated
copy, let me know:).
greetz
JC
---
*Gezocht: Ervaren Flash programmeur (40 uur)*
--
Hi,
implement a destroy method in the class, in which you tell it to release all
its own reference, next release all reference to the object itself.
Make sure there are no hidden references, (delegates, setIntervals,
movieclip pointers, globals) etc to the instance, so it can be garbage
collected.
Yes...
_root.mainMC.auto.subMC["textField" + i].text
and u wrote
_root.mainMC.auto.subMC.["textField" + i].text
note the dot after subMC
greetz
JC
On 10/19/06, Bill Pelon <[EMAIL PROTECTED]> wrote:
Seems to jumble me up a bit, I get this error.
Expected a field name after '.' operator.
Hi,
what is the output?
greetz
JC
On 10/23/06, Andreas R <[EMAIL PROTECTED]> wrote:
//parent class:
class no.rayon.aronning.StateMachine.prototypes.BaseState implements
no.rayon.aronning.StateMachine.interfaces.IState
{
public var stateName:String;
public var addListener:Function;
pu
Hi,
i can imagine at least two issues (had to deal with them myself after some
conversions), one is for/while loops that have become endless loops due to a
default initialisation or datatype that has changed from 8 to 9.
2, the handling of paths, which seems to have changed only a little bit, eg
.
Hi Dimitrios,
i was reading your article and the referenced article in which it says:
Once the inner function is removed from memory (for instance if the object
to which the inner function was attached is removed), then the unique
reference to the activation object also gets deleted and the garb
HI,
well especially for game programming where you'd do a lot in the IDE and in
code, FLASC or FlashDevelop would be great. Its not a question then of
whether you should use one OR the other, its more a question of WHEN. I
ussually use both the IDE and FlashDevelop or a batch at the same time. Lik
and
figure out where I need to call Delegate.destroy()... I have a VJing app
which gets more and more unreliable the longer it runs and I bet this is
why.
HTH,
Alias
On 24/10/06, Hans Wichman <[EMAIL PROTECTED] > wrote:
>
> Hi Dimitrios,
>
> i was reading your article and the r
very single inline function created inside the
Delegate.create() method stays on memory."
HTH,
Alias
On 24/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
>
> Hi,
> exactly "The garbage collector will not remove references to delegates
> that
> are still being use
af.com/pipermail/flashcoders/2005-June/140994.html
http://muzakdeezign.com/flashcoders/?q=delegate
http://muzakdeezign.com/flashcoders/?q=remove%20delegate
etc..
regards,
Muzak
- Original Message -
From: "Hans Wichman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list&
means no object.addListener ("click", Delegate.create())
constructions, you'd be fine and there is no need to get all paranoid:).
cheers
JC
On 10/24/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Sorry Muzak last time I checked your links didnt work, but forgot to
repor
Hi,
it seems you are mixing two approaches.
approach 1)
this.mcButton.onRelease = Delegate.create(this, this.onClick)
approach 2)
this.mcButton.objRef = this;
this.mcButton.onRelease = function ()
{
this.objRef.onClick();
}
greetz
JC
On 10/2
Hi,
there is no constructor Rectangle() in Rectangle.as, only function
Rectangle( x : Number, y : Number, w : Number, h : Number );
so you cannot call it. You could call super(0,0,0,0);
greetz
JC
On 10/26/06, Quinten [ :: MediaMonks :: ] <[EMAIL PROTECTED]> wrote:
I have 2 classes: 'Tester'
Hi,
sure, press F1 and look up the chapter 'debugging in Flash'
kind regards,
JC
On 10/27/06, ~ *** $UHASINI *** ~ <[EMAIL PROTECTED]> wrote:
Hi all
Can everyone can help to solve my problem...
Please explain how the debugger works in flash
Thanx in advance
Suhasini
Ms. Suhasini Salun
Hi Jon,
imagine you have a lot of nested clips, structure a-b-c-d-e for example (a
is parent of b, b is parent of c etc).
Imagine a is scaled 50% and the rest hundred. Then you can be sure, b/c/d/e
will be 50% as well.
If b is scaled 50% as well, c/d/e will be at 25% (a's 50 times b's 50).
Damn we
Hi,
yeah my example was downscaling, while you are upscaling:).
var intMapScale:Number = mcMap._width / 744; // width = 2710 // 364% (3,64)
so btnScale is 100/intMapScale.
Imagine mcMap._width had been 1000 and original was 500, you'd have 1000/500
= 200%
so btnScale 100/200% is 50.
Note about t
Hi,
there is another workaround, although i'd not recommend it, but knowing the
trick involved might be nice though:).
You can 'record' all the movieclips positions in array, by visiting each
frame in the first frame.
In other words, in a single onEnterFrame (the first prob), you could
gotoAndSto
Hi list,
you've probably had this scenario before, you are loading clip B into clip A
and B defines some classes.
Now you change B's classes, recompile and reload it into A, but since the
old classes are still there, B wont function as it should, unless you
restart A.
Now I can remove the classe
troduce a new ClipB at runtime?
IE: like, if you had a multiplayer game running, and you updated one of
the
avatar's swf's - you want that new SWF's code to be loaded and used
without
restarting the app for everyone
is that what you're talking about?
On 11/6/06, Hans Wichman <
Hi list,
i need to talk to webservices which pass me back very large db id's, which
im using again to request more info.
However when i do (for example):
var b:Number = 10;
trace (b);
it prints 1e+21
Now when I use this value as an argument to this webservice it seems to
fail
d the numbers as strings it should work
perfectly.
/Chris
Hans Wichman wrote:
> Hi list,
>
> i need to talk to webservices which pass me back very large db id's,
> which
> im using again to request more info.
> However when i do (for example):
> var b:Number = 1
g
> reads
> "1e+21"
>
> Any ideas?
> JC
>
>
> On 11/6/06, Chris Benjaminsen <[EMAIL PROTECTED]> wrote:
> >
> > Hi Hans
> >
> > The numbers you are trying to store are way to large for Flash to
handle
> > as a number.
> > If you h
99,9% of us know how you feel m8:)
On 11/7/06, Ben Smeets <[EMAIL PROTECTED]> wrote:
Banging head against wall.
Sorry guys, I managed to find a little line of code
"addItem('no items in list');"
Which did the damage. Nothing wrong with the DataGrid :)
Cheers,
Ben
-Original Message
Hi,
dumm question probably, but I'l ask it anyway: have you ruled out wrong
paths ed?
Does meta info show up, status info etc, or nothing at all?
greetz
JC
On 11/7/06, Roman Blöth <[EMAIL PROTECTED]> wrote:
Hello flashcoders,
a strange phenomenon happens here on a client's computer: I've bui
Hi,
instead of using your path directly try something like this:
class App {
public static function getPath (parent:MovieClip, path:String):String {
var parUrl:String = parent._url;
parUrl = parUrl.split("\\").join("/ ");
var pathUrl:String = path.split("\\").join("/ ");
var parArr:Array =
ps that can be made way more efficient, its still under construction :)
On 11/8/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi,
instead of using your path directly try something like this:
class App {
public static function getPath (parent:MovieClip, path:String):String {
var parUrl:
301 - 400 of 700 matches
Mail list logo