to say.
Could someone give me a hint on how to tackle this.
Much appreciated.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thanks, I will study it. It does seem to be a bit more than I am hoping for
:)
2010/10/27 Patrick Matte patrick.ma...@tbwachiat.com
I think this could help you
http://senocular.com/flash/actionscript/files/ActionScript_3.0/com/senocular
/drawing/Path.as
From: Jiri jiriheitla
fontStyle regular
fontTypeembedded
length 4
So although regsitering two fonts to the Font class, it shows 4 Font
instances in the embeddedFonts??
Anybody has another take?
Jiri
On 14-09-10 22:39, Keith Reinfeld wrote
Hello,
i am really getting headache from Embedded font stuff in as3 and would
like some help.
I embedded the fonts by using the Embed tag:
code
[Embed( source='../../../../../fonts/myriad
pro/MyriadPro-Bold.otf',
fontName='MyriadProFont', unicodeRange='U+0010-U+00FC',
'.
Does somebody know if that is done, or could point me to an article
describing this behaviour
Regards,
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
{
addValue = -1
}
buffer+=addValue
if(buffer treshold) {
buffer = treshold;
}else if(buffer -treshold) {
buffer = -treshold;
}else if(buffer == 0) adjustQuality()
}
Cheers,
Jiri
is below 30.
I wanted to prevent this and make the profiling a bit better. Not toggle
all the time, but just wait a bit before doing the call.
So it is not so much about the execution based on EnterFrame but more on
how to write the function a bit cleaner.
Jiri
On 13-08-10 10:29, Henrik
better. Not toggle
all the time, but just wait a bit before doing the call.
So it is not so much about the execution based on EnterFrame but more on
how to write the function a bit cleaner.
Jiri
On 13-08-10 10:29, Henrik Andersson wrote:
I use a different event than what you are most likely
Ok, thanks. Yes that makes sense. I was thinking that it might be a
slight enhancement to speed up execution time of a function.
Jiri
On 05-08-10 19:20, Juan Pablo Califano wrote:
The difference is that the reference is constant, meaning you cannot change
it.
You can't do this:
const
] + my_var
}
}
What is the difference compared to this:
function doSomething():void{
var my_var:String = my_var
var buffer:String = '';
for(var i:int = 0 ; ilist.length ; i++){
buffer += list[i] + my_var
}
}
Regards,
Jiri
' is not resetted to null on every iteration as I would
expect. I have to explicitly set the id to null myself! Does some know
why this is, or are my expectations just wrong.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http
Hello,
i am using the PNGEncoder to create png's.Does someone know how and if
it is possible to set the colorpalette of the bitmap data, before
encoding it into a png?
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http
Hello,
I am trying to convert some drawings on stage into a movieclip via jsfl.
It works when all the elements on stage are separatly grouped. JSFL
doesnt seem to 'see' non grouped drawings as seperate entities.
To clearify, I have on frame on the main timeline. In this frame I have
three
Does someone know how to distribute a n number of sprite of a top half
circumference of a cicrle. I have this, but cant figure out the offset.
function plot():void {
var totalNumbers:int = 5;
var slice:Number = ( 180 / totalNumbers );
var p:Point;
for (var
tnx Erik.
Jiri
On 23/03/2010 16:33, Mattheis, Erik (MIN - WSW) wrote:
Half a circle is PI radians, so you'd increment by Math.PI / (totalNumbers - 1)
Try -
function plot():void {
var totalNumbers:int = 5;
var radius:Number = 30;
var startAt:Number = Math.PI/2
);
}
childs--
}
I have three movieclips called 'frame_0' , 'frame_1' and 'frame_2' for
sure, but it when I run the above code, it only show 1 and 0??
Anybody has an idea?
Jiri
On 11/03/2010 22:16, Guest Services, City Concierge wrote:
We're looking for a coder
++) {
if (8 (1 i)) return i;
}
return 0;
}
Can this be done faster?
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thnx, i tought that there would be some kind of smart bitwise operation
to do that. This will do fine. Cheers.
Jiri
Paul Andrews wrote:
Paul Andrews wrote:
Jiri wrote:
When i have a 8 bit int where only one of the bit can be 1, what is
then the quickest way to get that bit position
0010
0100
etc..
Will do testing tomorrow.
jiri
John McCormack wrote:
It's a little curious loop!
i=0
i shifted = 0
i++ gives = 1 binary 0001
i shifted = 2 binary 0010
i++ gives i=3 binary 0011
i shifted=6 binary 0110
i++ gives i= 7 binary 0111
i
Cheers.
Jiri
Paul Andrews wrote:
Juan Pablo Califano wrote:
Another option:
function test(value:int):int {
// just to be safe...
value = value 0xff;
switch(value) {
case 0x01: return 0;
case 0x02: return 1;
case 0x04: return 2;
case 0x08: return 3;
case 0x10: return 4
be provided in any decent
editorthank you Adobe !!
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
would have to override all the public methods of Array which can be a
pain.
My question is.
How would I prevent users from doing this:
listArray[n] = 'whatever'
Much appreciated
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http
somebody hint me if this would be worth looking into for this
particular case?
Jiri
Glen Pike wrote:
Sounds like you want to use a kind of Observer pattern:
Can you wrap up your array class in something that implements the
methods you want, ignores / passes on the stuff you care about
nice! Good luck.
Jiri
Karl DeSaulniers wrote:
Thanks Jiri,
That worked perfectly.
I knew I had been looking at this code too long
and that it was something as simple as deleting a couple of parenthesis.
Thanks again..
Karl
On Jul 12, 2009, at 2:47 PM, Jiri wrote:
I think that it makes
I think that it makes sense that the functions like formHidden() gets
called, because that is what you put down.
It think you will need to put only the function name/ref like so:
this.quoteRequest_mc.ySlideTo(quoteHideY,4,easeoutbounce,.5,
formHidden ,20,4.5);
Give it a try.
Jiri
Karl
Did u try ROLL_OVER / ROLL_OUT to?
Jiri
Andrew Sinning wrote:
I've read though the documentation regarding event bubbling several
times, but the concept remains blurry. Perhaps this example will help
me get my head around it.
I want to display a custom cursor, a version of the Photoshop
I had similair behaviour. Save the xml as UTF-8 and it should be allright.
J
Kenneth Kawamoto wrote:
I may be wrong but that could be BOM? If you use writeUTF() and open the
resulting file in a Unicode editor do you still see it?
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Cheetham,
is the difference with using normal getters and setters?
Could somebody tell me of a case where he/she used this flash.util.proxy?
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
with it?
I know AMF would work for what i want, or have the server preprocess the
files into a .zip. But i was just wondering and curious.
As my questions probably reveal, i am not an expert in this area, so
excuse me if my questions are really naive.
Jiri
to each
node. This weight would have to determine the probability the nodes get
selected out when a random pick is being performed.
Does anybody know how to build such an algorithm?
Much appreciated,
Jiri
___
Flashcoders mailing list
Flashcoders
[0-5] = A
Array[6-7] = B
Array[8-10] = C
Last step get a random number between 0 - 10 = for instance 5
//result is then
return Array[5] as XML
If this is what you mean, would this approach not take a 'relatively'
big amount of memory?
JIri
Paul Andrews wrote:
Jiri wrote:
Hello list,
I have
I see, that makes sense.
Cheers.
Jiri
Paul Andrews wrote:
Jiri wrote:
Thank you i understand it. Could u please elloborate on the last part
..You can optimise this by using an array of pointers..
Do you mean that this;
a weight=5
b weight=1
c weight=2
First calculated the range for each
=true/
randomImage id=3/
randomImage id=4/
/image_conf
Much appreciated.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thnx, but delete is not a method of XMLList so you suggestion wont work.
I guess I will have to build an loop, but it feels like overhead,
becuase e4x should support it, or am i wrong.
Jiri
Glen Pike wrote:
Is it because you are using:
delete pXML.randomImage.(attribute(delete
/smartypants-ioc/
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
So, you could do something like this in an embed tag
[Embed(source=Arial-Rounded-MT-Bold.ttf,
fontFamily=ArialRoundedBold, fontWeight=bold,
mimeType=application/x-font-truetype,
unicodeRange=getCodeRange()]
Will try it.
Cheers for replying.
Sidney de Koning wrote:
Hi Jiri,
Why do you
Thanx, i will look into that.
Jiri
Ian Thomas wrote:
It does accept conditionals, sort of, using the mxmlc -define tag.
I blogged about it somewhere (hunts around).
Aha!
http://code.awenmedia.com/node/34
HTH,
Ian
On Tue, Apr 28, 2009 at 8:41 PM, Merrill, Jason
jason.merr
to create a .swc
and have that add to the librart tag?
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
country?
Many thanks,
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I will join to :)
J
Steve Mathews wrote:
Start your own, I will join! :)
On Thu, Apr 23, 2009 at 10:27 AM, Steven Sacks flash...@stevensacks.netwrote:
Anyone know of an active Adobe AIR mailing list (like Flashcoders/Flash
Tiger)?
Apollocoders is basically dead, and all posts are
Is there really nobody that knows how to do it?
Jiri
Karl DeSaulniers wrote:
Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On Apr 8
above
would be the same.
Jiri
Paul Venton wrote:
Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.
coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255
He Cor,
the question is. I want to tween a clip its color to a certain hex Value.
So the equivalent of this in TweenLite:
TweenLite.to(mc, 1, {tint:0xff9900});
Cheers,
Jiri
Cor wrote:
No, yours.
Yes it does flicker, but as I said, I don't think I understand the question
correctly
(colorInfo);
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,colorTransform);
//resulting in flickering of color of the clip.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http
So each element in a ByteArray can hold 8 bits.
What about the readInt() method of the ByteArray, does an integer then
span over 4 elements of the bytearray. And if I start at position 0 and
then call the readInt(), is the position after that then 4?
Jiri
Kerry Thompson wrote:
Jiri wrote
:
tRestrict = A-Z a-z;
trace('char')
}
trace('restrict field ' , tRestrict)
return tRestrict;
}
getRestrict()
Thank you.
Jiri
___
Flashcoders mailing list
Flashcoders
Thanks Hans,
I am aware of that, so if-else would be the only way to go I guess.
Jiri
Hans Wichman wrote:
Hi,
isn't the absence of break statements messing things up?
greetz
JC
On Thu, Apr 2, 2009 at 12:08 PM, Jiri jiriheitla...@googlemail.com wrote:
I am new to bitwise operators, so I
Thanks for the helpfull feedback
Mark Winterhalder wrote:
Jiri,
if() isn't too bad, especially since you will possibly want to permit
multiple restrictions (like numbers /and/ letters, or Latin letters
plus umlauts). If you use if() and combine that with appending to the
restriction instead
Nice, that you took the time to write that post. It is much appreciated.
Jiri
Kerry Thompson wrote:
Jiri has gotten some good answers. I got to work late today after working
until 11:30 last night meeting my 5:00 deadline :-P
I did occur to me that a fair number of us may not completely
mentioned
multi array.
I could be completely wrong, but would like some advice.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Good point, i can use getPixel to retrieve the color value and based on
that 'know' if it is walkable.
Cheers.
Jiri
Hans Wichman wrote:
Hi,
why not use an image? Eg use an image that represents your area, lookup the
pixel values, AND them and decide what you can or cannot do in that area
On stage there is a draw shape. I copy it to BitmapData and use the
transparancy for testing walkable or not.
So i dont use compressed image format, just raw bitmap data. Or am i
missing something?
Jiri
Hans Wichman wrote:
yup exactly, only thing is that I'm not sure how detailed this info
Hittest is to expensive, i try to avoid it at all times.
J
Hans Wichman wrote:
ah no then you'll be fine !
Although if it's just a simple shape, hittest will work as well of course,
depending on the performance you need.
On Mon, Mar 30, 2009 at 1:52 PM, Jiri jiriheitla...@googlemail.com wrote
(but I don't think it is)
var pixelPos:int = row + col * totalRows; // or y + x * height
buffer.position = pixelPos * 4;// each pixel takes 32 bits == 4 bytes
var pixelValue:uint = buffer.readUnsignedInt();
Cheers
Juan Pablo Califano
2009/3/17, Jiri jiriheitla...@googlemail.com:
Seems
probably save me some computation time.
How are the bytes stored, is it a multi dimensional array and if so,
what is the colum size?
Thank you,
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman
/adobe/images/PNGEncoder.as
Romu
Jiri wrote:
Hello,
I have a BitmapData and use the draw() method to add sprite data. Then
I get the ByteArray through the BitmapData.getPixels() method. This
byteArray is compressed and cached.
Then when i need it, i decompress the ByteArray and use
Thank you , i will try it tommorrow and let you know if that worked.
I am just wondering if there is no begin offset in the ByteArray. So
maybe I should not start at position=0.
Do you know something about that, anyway I will try and see tomorrow.
Jiri
Juan Pablo Califano wrote:
Have you
( sourceRect , storedMapData );
var i:int = 0
while(i source.width){
trace( tData.getPixel(i , 0 ) )
i++
}
/code
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo
is on
the walkmap.
If I would render it to a graphics I will loose the getPixel() method
for checking. Also when i use the Loader.loadBytes.
Or am i wrong?
Jiri
Romuald Quantin wrote:
Did you try
myByteArray.position = 0
before reading it ?
You can try to use a Loader.loadBytes to instantiate
Everybody thank you!
Jiri
Merrill, Jason wrote:
Seriously, just play with RegExr / Regex Buddy, get the cheat sheets:
Am now - love it! Can't I still be in awe? :)
Jason Merrill
Bank of America | Learning Performance Solutions Instructional
Technology Media
Learn about
, but it is killing me.
var pattern:RegExp = /^(\d)?(^\d+)|(?)/
var result:Object = pattern.exec(tConditionalString);
I tried another approach but i am still figuring out how to do it. It
goes something like this
var pattern:RegExp = /^():((?(2)then|else))
Jiri
Maybe try
this._interface_xml..*.(@type == name)@label
Jiri
Lori Hutchek wrote:
Hey All,
I have a simple xml search that I'm doing to retrieve some attributes. But
when trying to use gumbo no results are returned. I know this is working in
the Flex 3 SDK. Is this a bug or have
For the archive. This is the way to do it.
function convert(tFlaPath , tExportPath , tFilename){
debugMessage += \n Vectorizing file : + tFilename + on + (new
Date()).toGMTString() + \n;
debugMessage += SettingstraceBitmap(100, 2, 'normal' , 'normal') \n;
(- frameCount: + timeline.frameCount);
doc.selection = timeline.layers[0].frames[0].elements;
doc.traceBitmap(100, 1, 'pixels', 'normal');
}
}
doc.exitEditMode();
regards,
Muzak
- Original Message - From: Jiri jiriheitla...@googlemail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
= timeline.layers[0].frames[0].elements;
doc.traceBitmap(100, 1, 'pixels', 'normal');
}
}
doc.exitEditMode();
regards,
Muzak
- Original Message - From: Jiri jiriheitla...@googlemail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, February 09, 2009 9:47 AM
Subject
will give your suggestion a try tomorrow and cross my fingers it works.
Thank you again.
jiri
Muzak wrote:
This one threw me off a bit :)
You have to move the timeline playhead for traceBitmap to work.
When you enter edit mode, you automatically end up in the first frame,
so that's why traceBitmap works
');
}
}
Hope someone can help!
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Couldn't HaXe a good candidate for a solution?
Omar Fouad wrote:
Hi all,
I wanted to ask if there is a way to let two AIR applications connect to
each other through a home network (the same AIR application running on
different computers) by using sockets or any other method.
Thanks.
Indeed it looks very impressive. Could some explain what is does exactly?
Hans Wichman wrote:
very cool!
On Thu, Dec 18, 2008 at 4:26 PM, Benjamin Wolsey b...@benjaminwolsey.dewrote:
Am Donnerstag, den 18.12.2008, 16:13 +0100 schrieb Hans Wichman:
Hi,
I think you are looking for :
function
I am trying to figure out the fastest way to get the closest multitude
of 8 from a random Number
and I am really not a math person.
var tN:Number = 32.3
//32
var tN:Number = 32.00
//32
var tN:Number = 44.9
//48
var tN:Number = 44.4
//40
Much appreciated if someone could help me out
Jiri
Thank you all.
:)
Benjamin Wolsey wrote:
Am Donnerstag, den 18.12.2008, 16:13 +0100 schrieb Hans Wichman:
Hi,
I think you are looking for :
function roundToEight (pVal:Number) {
return Math.round(pVal/8)3;
}
although 44.9 and 44.4 will both return 48, don't you mean 43.9 and 44.4?
Math should be avoided when possible, I believe it is quit slow.
Maybe
Number 0 is even faster for rounding of ;)
Jiri
laurent wrote:
int( ) is casting the content to integer, it has the effect to drop off
the decimal part. Same as Math.floor but lots faster
L
Cor a écrit
Casting to int is faster.
var tX:int = int(sprite.x)
Jiri
jonathan howe wrote:
Hi, Laurent,
You could use localToGlobal(), apply Math.round() to this global point,
compare the original global point with the rounded version, and then offset
the child's coordineates by the differences
refining means that I _can_ use a pattern, it doesnt always
mean that I should use one.
I think these are those things that take a long time of experience.
Good luck.
Jiri
Joel Stransky wrote:
Thanks Jiri,
I had not seen that site. I had assumed the book covered all of the patterns
I was going
be taking
into consideration..
Good luck,
Jiri
Joel Stransky wrote:
Thanks for your perfectly useless answer. I know if I could recognize the
need for certain patterns easily I'd be more than happy to help out rather
than chastise.It looks like it's possibly a Template pattern but I was
hoping
XMLlist with custom nodes. But how do I access the
currentNode in the query instead of the name().
Or is it possible to directly do a regExp replace on the node?
Thnx
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http
Nice
Meinte van't Kruis wrote:
has anyone checked out
http://www.smoothhd.com/
seems pretty cool, here's the description;
SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.
SmoothHD.com is
to add the
class to the compiler. Meaning I will always need to recompile.
Is there any way to get around this?
Jiri
artur wrote:
need to know a few things:
1 - can i render/export to QT an AS based animation that will be 40min
long?
it will be incorporating an FLV ( soundtrack
solution excists that
deals with this in an elegant way. I read about the Bridge pattern, but
I am not sure if this will help me?
Thank you.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo
Thanx Ian, that sounds like a very clever solution. I will give it a
try, and speedoh well I geuss it can always be faster ;)
Jiri
Ian Thomas wrote:
Convert the XML to a string.
Do the regExp replace on the string.
Reparse the XML?
e.g.
var str:String=xml.toXMLString();
// do
XMLList and change the
$$lang$$ for another string
Hope somebody can help me out.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
traces, does AS3 provide acces to this?
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Thank you all for the helpfull reply.
JIri
Juan Pablo Califano wrote:
A rather dirty way is to enumerate all methods in a given object (the
current timeline, for instance) and compare that to the self-reference
that a function holds in arguments.callee.
u
function test():void {
trace(getName
is this adviceable?
Thank you,
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Or add onCompleteScope:this so you dont need to import Delegate class.
TweenFilterLite.to(m, tweenTime, {_y:targetPos, onCompleteScope:this ,
onComplete:moveShape, onCompleteParams:[_timeline.y1]});
Jiri
Ali Drongo wrote:
Hi there, I've noticed this happen before and can't figure out why
/SamuelAgesilas
S.
On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote:
Does somebody know what happend to the saffron UML modelling tool.
The site http://www.levelofindustry.com/
is not showing any update anymore.
Jiri
___
Flashcoders mailing list
Does somebody know what happend to the saffron UML modelling tool. The
site http://www.levelofindustry.com/
is not showing any update anymore.
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman
some interesting flash stuff with a pdf.
Jiri
Dave Watts wrote:
It has been a year ago and I'd thought Adobe would have
brrought out an update by now. Geuss not!
I don't think that Adobe is especially interested in promoting FlashPaper,
which is essentially a competitor or substitute for PDF
Be carefull with huge documents in Flash Paper. I had some serious
issues with that in the past.
Jiri
Stuart Campbell wrote:
@Eric: Thanks. Downloading the trial now.
@Paul - yeah screengrabs aren't considered a problem (the documents are so
huge that nobody is likely to bother).
On Thu
destroyed. It was a
disaster and we ended up splicing the docs..
I would really advice testing with the biggest doc you have.
Jiri
Stuart Campbell wrote:
Really? Some of my docs will be 200 pages long. What problems did you have
exactly?
I'm also having fun because I thought FlashPaper would allow
Is the center point in the middle?
Jiri
Bassam M wrote:
Hi
I have Video playing in the center of the stage and I'm using button to filp
it
function filp(event:MouseEvent):void {
mySampleMC.scaleY *= -1;
}
mySampleMC.addEventListener(MouseEvent.CLICK, flip);
but the problem when I flip
()
at flash.data::SQLConnection/commit()
at
classes.models::SQLProxy/createDatabase()[/Users/Jiri/Documents/_Flash/SmsApp/SmsApplication/src/classes/models/SQLProxy.as:128]
Debug session terminated.
/error
private function createDatabase(e:Event):void
to check if the table already
exists.
'CREATE TABLE IF NOT EXISTS ...'
regards,
Muzak
- Original Message - From: Jiri Heitlager
[EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 18, 2008 10:19 AM
Subject: Re: [Flashcoders] Question AIR Sqlite
the use of synchronous mode to be alot easier.
regards,
Muzak
- Original Message - From: Jiri Heitlager
[EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, April 16, 2008 5:02 PM
Subject: [Flashcoders] Question AIR Sqlite api
I have a question
transaction.
at Error$/throwError()
at flash.data::SQLConnection/commit()
at
classes.models::SQLProxy/createDatabase()[/Users/Jiri/Documents/_Flash/SmsApp/SmsApplication/src/classes/models/SQLProxy.as:128]
Debug session terminated.
/error
code
protected function build
Perfect that was it. Thank you Morten.
Jiri
Morten Barklund wrote:
Hi Jiri,
I believe it is due to the default lock type. The default lock type (DEFERRED)
description says:
* SQLTransactionLockType.DEFERRED indicates that a lock is not acquired until
the first read or write operation
Morten, i just burst my own bubble. It appears not to be working after all.
It seems the line Sql_conn.openAsync( Sql_db ) in the build() method is
the problem, becuase when I change it to
Sql_conn.open( Sql_db ) everything works fine.
Do you have any other suggestions?
Jiri
Morten Barklund
happy to know
Thnx
Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hello list,
Does anybody know an AS2 version of the AS method getDefinitionByName()
I would like to dynamic instantiated classes in AS2 with passing
argument to that created instance.
I am using a modified script from 'http://blog.generalrelativity.org/'
, but the return datatype == null,
when the are required. The argument thing I can probably solve by adding
a method to the CommandObject interface like addParameters() The type
casting is the real problem here. I cant have the commands tracing as null..
Do you or anybody maybe have a solution?
Jiri
Ian Thomas wrote:
On a quick
1 - 100 of 169 matches
Mail list logo