Re: [Flashcoders] stage resize question

2007-05-25 Thread Ing. Mario Falomir

perfect, thanks a lot Bob.

On 5/25/07, Bob Wohl <[EMAIL PROTECTED]> wrote:


use the Stage object and listeners. Set the embed and object's height &
width to 100%, reposition via a stage listener.

hth.
B.

On 5/25/07, Ing. Mario Falomir <[EMAIL PROTECTED]> wrote:
>
> Hi all, i need some orientation :) Does any body know any documentation
> around the internet or anywhere else, or can put me on track on how to
> resize the stage of a movie (and rearreange the objects ) according to
the
> user screen resolution ? Im trying to hide the browser scroll bars all
the
> time so I can use my own within my swf movie, but obviously when I
change
> my
> screen resolution ( from w 1024 to w 800  ) all gets messed up.
Something
> like www.pierinc.com.
>
> Thanks in advanced!
>
> Cheers
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] stage resize question

2007-05-25 Thread Ing. Mario Falomir

Hi all, i need some orientation :) Does any body know any documentation
around the internet or anywhere else, or can put me on track on how to
resize the stage of a movie (and rearreange the objects ) according to the
user screen resolution ? Im trying to hide the browser scroll bars all the
time so I can use my own within my swf movie, but obviously when I change my
screen resolution ( from w 1024 to w 800  ) all gets messed up. Something
like www.pierinc.com.

Thanks in advanced!

Cheers
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: Re: [Flashcoders] Book recommendation for multiuser games / apps

2006-10-27 Thread Ing. Mario Falomir

Hi Jobe, I also have the mx 2004, which I liked very much btw,  of the Flash
Game Demisifyed , are you planning an AS3 version of the book ?? :)



On 10/26/06, Chris Allen <[EMAIL PROTECTED]> wrote:


On 10/26/06, slangeberg <[EMAIL PROTECTED]> wrote:
> Have people had any experience with the Red5 server (
http://osflash.org/red5)?
> If so, how does it compare to other products such as ElectroServer? I've
> downloaded Red5, but haven't had time to try it out.

Hi Scott,

I have experience with it as I'm part of the Red5 team developing the
product. The main difference between Red5 and a server like Electro
server is that Red5 supports many types of protocols (RTMP, AMF,
XML-RPC, XMLSocket (soon to come)), where as ElectroServer only uses
the XMLSocket connection built into Flash. RTMP allows you to steam
video and audio to and from the Flash player making video chat
applications possible. You can't do that with XMLSocket.

The other nice thing about Red5 is its ability to tap into other
server-side APIs very easily, so one example might be an existing MMO
game server engine could be used with Flash using Red5 as a sort of
proxy.

At any rate I'm not too familiar with ElectroServer, so I'm not
comfortable comparing them feature by feature. ElectroServer certainly
looks like it has a nice client side API though (just based on what I
saw on their website). Something like that for Red5 doesn't exists at
the moment, but there's no reason why someone couldn't easily create
one and wrap the NetConnection stuff like they have with XMLSocket.

I hope that helps a little. If you have more questions please ask and
I suggest that you sign up on the Red5 mailing list as there are many
more experienced people that will help you there.

-Chris
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Net Debugger not working

2006-08-16 Thread Ing. Mario Falomir

I have that problem too, so I use the Log instead :)

On 8/16/06, Elena Blanco <[EMAIL PROTECTED]> wrote:


Hello Everyone --

I am building a Flash Web application that uses Flash Remoting.



I've been using the net debugger before with no problems whatsoever. Now
though, the debugger no longer works -- the debugger window opens, but it
now has no content whatsoever. The application works fine, flash remoting
is
working great with the app server, but I no longer receive ANY trace
statements, or other messages within the debugger.



I'm still calling the NetDebug.initialize() method to initialize the net
debugger -- call is made when the form first loads.



Anybody else have this problem? If so, do you know how to fix it? (I am
using Flash Professional 8)

Thank you for the help,



Elena

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Junior Developer Flash/Flex Salary?

2006-06-20 Thread Ing. Mario Falomir

definetely Location it really DOES matters :) hehe because in Mexico ( where
i live ) 30K a year its a well paid job... Usually most of programmers earn
around 15K - 20K a year (thankfully not my case :| ), so if any guy is
willing to provide a work visa to a humble mexican it will be very welcome
:) haha

On 6/20/06, Alias <[EMAIL PROTECTED]> wrote:


Salary discussions are generally considered off topic on this list.

However - if you would like to solicit offlist responses, I'm sure
no-one will mind.

Also, it might help to specify currency.

Hope this helps,
Alias

On 6/20/06, Tristan <[EMAIL PROTECTED]> wrote:
> Does 30-55K a year sound right with benefits for a junior developer? I
have
> a college degree and an extensive IT background but, I'm just now
getting
> into a professional job environment developing but, I have been using
flash
> for some time now. 30K sounds wa too low, would you agree? If
someone
> had 2-3 years experience, what should a flash/flex developer get? What
> should they start at?
>
> Thanks
> T
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flex 2 Beta 3 / AMFPHP ??? used to work with beta 2 :(

2006-05-19 Thread Ing. Mario Falomir

I had an app. built with flex 2 beta 2 ,using AMFPHP for communication with
a DB, anyway, after I installed Beta 3 it did not work as it used anymore,
the connection to the gateway fails, is there any way to debug or log ,in
Flex 2, the remoting events in order to see what's going on ?

Thanks in advanced!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about FLEX2 - AS3 interactiing withLaserScanners ...

2006-04-28 Thread Ing. Mario Falomir
Thanks for all your comments and suggestions :) Amazingly it worked, the
scanner works like any input device ( such keyboard ) and I just drag an
input text field to stage , run the test and scan a bar code and its value
was entered in the input field :) Great!

Thanks!

On 4/28/06, JesterXL <[EMAIL PROTECTED]> wrote:
>
> http://www.barcoder.nu/
>
> - Original Message -
> From: "JesterXL" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, April 28, 2006 2:14 PM
> Subject: Re: [Flashcoders] Question about FLEX2 - AS3 interactiing
> withLaserScanners ...
>
>
> http://www.impossibilities.com/blog/entry_blog-155.php
>
> http://weblogs.macromedia.com/jd/archives/2005/08/player_card_rea.cfm
>
> - Original Message -
> From: "Ing. Mario Falomir" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, April 28, 2006 1:12 PM
> Subject: [Flashcoders] Question about FLEX2 - AS3 interactiing with
> LaserScanners ...
>
>
> I dont know if this make sense,  I need to develop an application that
> captures data read by a Laser Scanner, however before getting into the
> process (trying to avoid Delphi) I was wondering if this kind of
> functionality could be accomplish with AS3 and FLEX2 ?
>
> Thanks in advanced
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Question about FLEX2 - AS3 interactiing with Laser Scanners ...

2006-04-28 Thread Ing. Mario Falomir
I dont know if this make sense,  I need to develop an application that
captures data read by a Laser Scanner, however before getting into the
process (trying to avoid Delphi) I was wondering if this kind of
functionality could be accomplish with AS3 and FLEX2 ?

Thanks in advanced
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Split Pane component??

2006-04-05 Thread Ing. Mario Falomir
here is a good one:

http://www.joangarnet.com/blog/archives/2005/07/release_v2_fram_1.php

On 4/5/06, Mike Anderson <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I am trying like crazy, to find a Split Pane Component that works as
> well as Flex's version.
>
> I found one (and only ONE) somewhere on the Flash Exchange, but the docs
> are mostly in another language, and it's really buggy.  The one I found
> is actually free, and has a high rating level - but I am just not having
> good luck with it.
>
> Thanks for all your help on this,
>
> Mike
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Counter in function assigned inside a for loop

2006-03-31 Thread Ing. Mario Falomir
oops I missed paste it complete...
var totalMovieClips:Number = 3;

for ( var i = 0; i < totalMovieClips; i ++ )
{
_root['mc' + i].indexPos = i;

_root[ 'mc' + i ].onRelease = function()
{
trace( 'mc' + this.indexPos + ' onRelease' );
}

_root[ 'mc' + i ].onRollOver = function()
{
trace( 'mc' + this.indexPos + ' onRollOver' );
}

_root[ 'mc' + i ].onRollOut = function()
    {
    trace( 'mc' + this.indexPos + ' onRollOut' );
}
}

On 3/30/06, Ing. Mario Falomir <[EMAIL PROTECTED]> wrote:
>
> Hi Alex, here is an example that could help you and illustrate how to
> accomplish what you want
>
> var totalMovieClips:Number = 3;
>
> for ( var i = 0; i < totalMovieClips; i ++ )
> {
> _root['mc' + i].indexPos = i;
>
> _root[ 'mc' + i ].onRelease = function()
> {
> trace( 'mc' + this.indexPos + ' onRelease' );
> }
>
> _root[ 'mc' + i ].onRollOver = function()
> {
> trace( 'mc' + this.indexPos + ' onRollOver' );
> }
>
> _root[ 'mc' + i ].onRollOut = function()
> {
> trace( 'mc' + this.indexPos + ' onRollOut' );
>
> }
> }
>
> On 3/30/06, Alejandro Diaz <[EMAIL PROTECTED]> wrote:
> >
> > Heya guys,
> >
> > I am assigning the button behaviors to a set of movieclips through a
> > for loop, however, I am coming up against something where I know what
> > is happening, but don't know how to fix it.
> >
> > Basically, inside that for loop I assign each of the button behaviors
> > as a function but I don't know how to evaluate the counter in the
> > function, rather than having it just literally written into it.
> > instead of "section_"+ _root.i  being  section_1, section_2, etc...it
> > is literally written in each of the buttons as "section_"+_root.i  and
> > so each button has exactly the same code and all go to the last
> > section (last value of i) when clicked.
> >
> > How can I have it so that each function has the proper code it in? is
> > this even the proper way to go about this? Is there a way to 'force'
> > the evaluation of that counter in that function when it is being
> > assigned to the MC?
> >
> >
> >
> > code:
> >
> > function buttonBehavior ():Void  {
> > for (_root.i=1;_root.i<8;_root.i++) {
> > _root["mb_"+_root.i].onRollOver = function() {
> >this.gotoAndPlay("over");
> > }
> > _root["mb_"+_root.i].onRollOut = function() {
> >this.gotoAndPlay("out");
> > }
> > _root["mb_"+_root.i].onRelease = function() {
> >_root.gotoAndPlay("display_frame");
> >loadMovie("section_"+_root.i+".swf", "load_target");
> > }
> >
> >
> > }
> > }
> >
> > (btw, I added the _root. to each of the i's so that the function could
> > 'see' it.
> >
> > thanks in advance!
> > -Alex
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Counter in function assigned inside a for loop

2006-03-31 Thread Ing. Mario Falomir
Hi Alex, here is an example that could help you and illustrate how to
accomplish what you want

var totalMovieClips:Number = 3;

for ( var i = 0; i < totalMovieClips; i ++ )
{
_root['mc' + i].indexPos = i;

_root[ 'mc' + i ].onRelease = function()
{
trace( 'mc' + this.indexPos + ' onRelease' );
}

_root[ 'mc' + i ].onRollOver = function()
{
trace( 'mc' + this.indexPos + ' onRollOver' );
}

_root[ 'mc' + i ].onRollOut = function()
{
trace( 'mc' + this.indexPos + ' onRollOut' );
}
}

On 3/30/06, Alejandro Diaz <[EMAIL PROTECTED]> wrote:
>
> Heya guys,
>
> I am assigning the button behaviors to a set of movieclips through a
> for loop, however, I am coming up against something where I know what
> is happening, but don't know how to fix it.
>
> Basically, inside that for loop I assign each of the button behaviors
> as a function but I don't know how to evaluate the counter in the
> function, rather than having it just literally written into it.
> instead of "section_"+ _root.i  being  section_1, section_2, etc...it
> is literally written in each of the buttons as "section_"+_root.i  and
> so each button has exactly the same code and all go to the last
> section (last value of i) when clicked.
>
> How can I have it so that each function has the proper code it in? is
> this even the proper way to go about this? Is there a way to 'force'
> the evaluation of that counter in that function when it is being
> assigned to the MC?
>
>
>
> code:
>
> function buttonBehavior ():Void  {
> for (_root.i=1;_root.i<8;_root.i++) {
> _root["mb_"+_root.i].onRollOver = function() {
>this.gotoAndPlay("over");
> }
> _root["mb_"+_root.i].onRollOut = function() {
>this.gotoAndPlay("out");
> }
> _root["mb_"+_root.i].onRelease = function() {
>_root.gotoAndPlay("display_frame");
>loadMovie("section_"+_root.i+".swf", "load_target");
> }
>
>
> }
> }
>
> (btw, I added the _root. to each of the i's so that the function could
> 'see' it.
>
> thanks in advance!
> -Alex
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] BitmapData.dispose()

2006-03-24 Thread Ing. Mario Falomir
Yes,  BMP Obj remains in memory, you need to have a reference to that Object
so you can dispose it later.

import flash.display.BitmapData;
var bitmap:BitmapData;

function createBitmap():Void {
   bitmap = new BitmapData(500, 500, false, 0xFF);
   _root.attachBitmap(bitmap, 0);
}

clickObj = {};

clickObj.onMouseDown = function()
{
_root.bitmap.dispose();
}

Mouse.addListener( clickObj );

createBitmap();

On 3/24/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Quick question.
>
> private function createBitmap():Void {
> var bitmap:BitmapData = new Bitmap(200, 200, false, 0xFF);
> clip.attachBitmap(bitmap, 0);
> }
>
> If I never execute .dispose() on the bitmap, does it remain in memory?
> It seems logical to me that it remains there only until the function is
> finished. It's a local variable so I would expect the memory gets freed
> as soon as the local variable dies.
>
> Thanks!
>
> Regards,
> Dimtirios Bendilas
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MD5 Class in AS2.0?

2006-03-02 Thread Ing. Mario Falomir
Here is a prototype :), it could be useful and you could make a class out of
it :)

http://www.sephiroth.it/proto_detail.php?id=51

Cheers

On 3/2/06, jim <[EMAIL PROTECTED]> wrote:
>
> Check out http://www.meychi.com/ they have one.
>
> Jim
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hill
> Sent: 02 March 2006 16:53
> To: Flashcoders mailing list
> Subject: [Flashcoders] MD5 Class in AS2.0?
>
> I see a couple older MD5 classes in 1.0. Is there a 2.0 version floating
> around somewhere?
>
> Thanks
> Chris
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Ing. Mario Falomir
Yep, the main part of the problem is the huge amount of data that it is
handling, I guess... It doesnt query a DB , we generate all the needed info,
such as catalogs for example, in the form of XML files. We did it this way
because since its an app its going to be in CDs we did not want to force the
end user to install MySQL (or whatever DBManager) and the required DB data
in order to run the application, not to mention that the people that is
going to use the app it's mainly politicians (PC = solitarie, word ) so
installing extra stuff was not an option at all :)

Anyway, phase 1 was completed , sometimes get a little slow, because all of
the parsing, iterations, filling grids and charting upon the XML data, but
the reason why I was looking for some suggestions it's because phase 2 of
the project will involve more data :S and I have to follow the same XML
approach, but i wanted to know how do you guys do to smooth things a little
bit and make things more solid.

Thanks for all your comments :)
Mario
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Ing. Mario Falomir
well, I will definetely take a look at it , thanks!

On 1/31/06, Daniel Smith <[EMAIL PROTECTED]> wrote:
>
> >
> >  >
> >>  On 1/31/06, Ing. Mario Falomir <[EMAIL PROTECTED]> wrote:
> >  > > Hi, I need some advice from you guys :) I have an XML Driven FLash
> APP,
>
> Would it be possible to format the data as JSON on the server side?
> It'd be much lighter weight ...
>
> http://www.crockford.com/JSON/
> specifically: http://www.crockford.com/JSON/JSON.as
>
> Daniel
>
> --
> Daniel Smith  - Sonoma County, CA
> dls [at] daniel [dot] org - AIM: SonomaDaniel
> http://daniel.org/blog- http://resume.daniel.org
> FlexiPhoto is in Alpha!   - http://FlexiPhoto.org
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Ing. Mario Falomir
yes, unfortunately most of the info i need it beforehand. There will be no
other option than to request some data (most of it) on demand and the other
one beforehand to make it at least a little bit better/smoother, or to think
a whole different approach :) Just to mention , there is a fat XML 22 MB
heavy :S

Thanks for you help!
Mario

On 1/31/06, Sajid Saiyed <[EMAIL PROTECTED]> wrote:
>
> Do you need all the data beforehand?
>
> If not, Do paging with data by getting data in chunks from your DB.
> or
> As you mentioned, get data on demand.
>
> Thats how I recently solved a similar issue.
>
> -- Sajid
>
>
> On 1/31/06, Ing. Mario Falomir <[EMAIL PROTECTED]> wrote:
> > Hi, I need some advice from you guys :) I have an XML Driven FLash APP,
> > basically it's a tool that displays charts and data in grids,
> containers,
> > etc...that my client will handout in CDs. So at the beginning of the
> > development process I thought XML would suit perfectly in the purpose of
> > this app. But it happened that the DB used to generate the apporpiate
> XML
> > files that my app consume had grown amazingly so eventually my app
> > (exclusively the part that searches for an specific registry entry)
> turns
> > very slow and sometimes (rarely but happens) it crashes due to the
> > exhaustive loops and interations i do in order to the search/display
> data of
> > an specific registry and filtering functions.
> >
> > So i thouhgt, upon your experience,  to ask how would you do to optimize
> > this thing or what its the best way to do the queries to an XML in order
> > smooth things a little bit more :) Or what approaches (or guidelines )
> do
> > you use when you have to develop an app. that will have XML to serve as
> its
> > DB. Do you load everysingle XML at once ? on demand ? etc ?
> >
> > Thanks in advanced!
> > Mario
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Ing. Mario Falomir
Hi, I need some advice from you guys :) I have an XML Driven FLash APP,
basically it's a tool that displays charts and data in grids, containers,
etc...that my client will handout in CDs. So at the beginning of the
development process I thought XML would suit perfectly in the purpose of
this app. But it happened that the DB used to generate the apporpiate XML
files that my app consume had grown amazingly so eventually my app
(exclusively the part that searches for an specific registry entry) turns
very slow and sometimes (rarely but happens) it crashes due to the
exhaustive loops and interations i do in order to the search/display data of
an specific registry and filtering functions.

So i thouhgt, upon your experience,  to ask how would you do to optimize
this thing or what its the best way to do the queries to an XML in order
smooth things a little bit more :) Or what approaches (or guidelines ) do
you use when you have to develop an app. that will have XML to serve as its
DB. Do you load everysingle XML at once ? on demand ? etc ?

Thanks in advanced!
Mario
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders