Hello everyone,
Im fooling around with some 'generative art' :P and want to put an
nicely done random background with blobs
floating around and drawing a curve through the midpoints of each
circle, im pretty happy with the results, it actually
works just fine, but it lacks optimization, since
I think you could do take the same approach as in an http chat system
(i.e., not a real chat solution but I've seen it used when data push from
the server was not available thru FMS, Red5 or other)
You have at a minumun 2 tables: users and messages.
When the user logs in, it's inserted into the
Hi,
Situation: I've loaded a webpage into the mx:HTML / control and it
displays just fine. What I want now, is the sourcecode of the loaded
document, without loading the document again. Is this possible ?
I found this tutorial:
Sorry, wrote to the wrong list. I'm resending this to FlexCoders
On Sat, Jan 10, 2009 at 4:39 PM, Jeroen Beckers thedauntl...@gmail.comwrote:
Hi,
Situation: I've loaded a webpage into the mx:HTML / control and it
displays just fine. What I want now, is the sourcecode of the loaded
document,
Hi all.
I'm loading several .swf files into another .swf, to produce a horizontal
bar of clickable icons. The loaded .swf files animate, changing their
size, when they are clicked on.
I've written a script in the loading .swf that positions the loaded .swfs in
the scrollbar, but by the
Oh, actually I don't need mouseDown and can:
private function handleMouseDown(event:MouseEvent):void {
removeEventListener(Event.ENTER_FRAME, handleEnterFrame);
}
private function handleMouseUp(event:MouseEvent):void {
addEventListener(Event.ENTER_FRAME, handleEnterFrame);
}
I've figured out how to sort depths
(added an Array for them) + set
a variable on mouse click and stop rotating.
Here is my rotating menu for the archives
(one thing I still don't like is that because
the objects on the bottom are scaled down
the angle between them seems too big)
package {
On Sat, Jan 10, 2009 at 10:33 PM, Andrew Murphy amur...@delvinia.com wrote:
What I'd like to do is access the height and width of the loaded swf files
before they visually render so that I can get them into the correct
positions before the visual render occours. Turn it into a one step
Yes Pablo, that is an issue that I am being thinking about today. I want to
enable user presence detection to the client.
I've been thinking to let each client logged to the chat, send it's id to
a table called ActiveUsers. When the user Closes the Application, the row is
deleted. At the same
http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/utils/SWFReader.as
On Sat, Jan 10, 2009 at 5:03 PM, Andrew Murphy amur...@delvinia.com wrote:
Hi all.
I'm loading several .swf files into another .swf, to produce a horizontal
bar of clickable icons. The
Well, I think your're facing conceptually the same problem that you have in
php/apache with sessions.
You have a stateless environment, where each request is handled by the
server, the response is sent and all state is lost. In php, session data is
stored in file by default (but could be stored
This is just a bad way to do this. The client becomes responsible for
everything, and that leads to security issues like crazy.
If this is for professional use, as you have stated multiple times, I
would say find a better way.
Write delay based on file stamping, with all the clients
Yeah that is what I wanted to do... But as you said I have to tune the
Timings.
I'll try it out and let you know..
Thanks for the help.
Cheers.
On Sat, Jan 10, 2009 at 11:11 PM, Juan Pablo Califano
califa010.flashcod...@gmail.com wrote:
Well, I think your're facing conceptually the same
Anthony, I'm curious as to why you consider using a raw file any better than
using the SQLite engine (which uses a single file as a datastore, yes, but
provides a higher level and way easier access to the data).
The client has indeed a lot of responsibility, but isn't it the same (or
perhaps even
You could really consider zeroconf or bonjour for finding other users
connected on the network. Zeroconf/mDNS is the technically used by
iTunes and/or iPhoto to detect shared libraries on the network. This
means you get a few notifications. Really easier then some hard-coded
sharepoint on the
Yeah Juan I agree with you.
On Sat, Jan 10, 2009 at 11:58 PM, Juan Pablo Califano
califa010.flashcod...@gmail.com wrote:
Anthony, I'm curious as to why you consider using a raw file any better
than
using the SQLite engine (which uses a single file as a datastore, yes, but
provides a higher
Well of course you do, he seems to be backing up your bad method. And
again... the DB in your scenario is a file on the network being written
and over written by each client; thus, as I stated, very insecure.
Omar Fouad wrote:
Yeah Juan I agree with you.
On Sat, Jan 10, 2009 at 11:58 PM,
Well the db is a raw file; thus, I was referring to the db.
If you look at my last few lines, I was trying to tell him how his
system, in which the file can be written to by all clients, can only
work even marginally well with a timed write delay; yet, nowhere did I
say it was more secure.
And did I mention unreliable?
Anthony Pace wrote:
Well of course you do, he seems to be backing up your bad method. And
again... the DB in your scenario is a file on the network being
written and over written by each client; thus, as I stated, very
insecure.
Omar Fouad wrote:
Yeah Juan I
Insecurity? A SQLite database is ment to be written by clients... of course
it is not like a server database, with users, privileges and so on. But it
still does the job.
We are talking about an AIR application that does not offer much
functionality as much as some powerful desktop frameworks such
As far as I know, SQLite uses the OS file locking facilities (which do seem
to be problematic in Macs). Anyway, I'm not saying this is the most robust
possible solution. I'm just saying that given the circumstances, it could be
good enough.
Cheers
Juan Pablo Califano
2009/1/10, Anthony Pace
And why problematic on Macs?
On Sun, Jan 11, 2009 at 12:56 AM, Juan Pablo Califano
califa010.flashcod...@gmail.com wrote:
As far as I know, SQLite uses the OS file locking facilities (which do seem
to be problematic in Macs). Anyway, I'm not saying this is the most robust
possible solution.
I agree that this case might be a one off; yet, the method he is using
he has used before, and might likely use again.
There is a better way; yet, it is still up to the client to enforce the
behaviours(insecure).
Input file(read/write enabled):
Can be written by any client; yet, they all
Check this out:
6.0 How To Corrupt Your Database Files
http://www.sqlite.org/lockingv3.html
(And to add to Anthony's point, I must admit it clearly says: Your best
defense is to not use SQLite for files on a network filesystem.).
Cheers
Juan Pablo Califano
2009/1/10, Omar Fouad
How do you change the origin of rotation dynamically? can it be done?
or will it always be 0,0
I was hoping that with the new features of as3 that this I would be able
to indicate where I wanted the origin; yet, I am starting to think that
I was hoping for too much.
Hi. And thank you. :)
I'll have a closer look at this tomorrow.. but.. I'm not sure what the
purpose of it is. At first glance it just seems to allow access to the
properties of the loaded SWF file, which I already have. It's the timing of
animation event, the updating of the swf's properties,
The easiest way is to wrap it arount another object, move its position and
rotate the wraper.
Leandro Ferreira
On Sat, Jan 10, 2009 at 10:11 PM, Anthony Pace anthony.p...@utoronto.cawrote:
How do you change the origin of rotation dynamically? can it be done? or
will it always be 0,0
I was
I have actually tried that yet, it seems that when I move the mc in the
wrapper, the origin of the wrapper changes to be that of mc upper left
most point.
Leandro Ferreira wrote:
The easiest way is to wrap it arount another object, move its position and
rotate the wraper.
Leandro Ferreira
I apologize if I've missed something that anyone has posted in this thread.
Insecurity? A SQLite database is ment to be written by clients... of course
it is not like a server database, with users, privileges and so on. But it
still does the job.
I don't think security is the main problem
Dave, I was thinking the same thing.
After reading through this thread again, I realized that this client to
client thing can be handled using a simple server. And there are already
many open-source solutions out there that will accomplish this behavior.
Red5, WebORB and BlazeDS all support
30 matches
Mail list logo