[Flashcoders] Flash CS3 - Strange Error: 5005: Unknown error optimizing byte code

2007-07-06 Thread Ashvin Savani
Hello flashcoders,

I am facing strange problem since long time. This error code even
doesn't exist in the list of error codes.

This is the exact error I am getting while I compile the FLA from flash
CS3.

Location : , Line 1
Description : 5005: Unknown error optimizing byte code.
Source : 

I don't know exact reason about its generation, But here are the some
possible reasons / hints:

Case 1) Overloading:

1.1) Size of .fla is 10.5 MB and its document class contains more than
60 classes to import and has more than 100 variables.

1.2) Even if I put In document class - only variable initialization and
class importing are there. Nothing in its constructor + no other
functions are defined. Still error is there.

1.3) If we import all classes and has all variables then it gives this
compile error. But if we remove some particular numbers of variable,
it's start working. In this we can remove any type of variables.

1.4) After reducing variables, application starts working till that it
won't.

Case 2)

2.1) Size of .fla is 1.75 MB and its document class is same as above
one.

2.2) All assumptions are same as above.

2.3) Now this class contains all functions and have initialization of
all variables + classes.

2.4) In this If we remove 3-5 variables, it will start functioning else
it won't.

Its a huge application so I am even confused that what is the cause of
error and this error stopped our working for a week now. Bit more
information about the project that may help the team to identify the
reason.

1. Project development started with flash public alpha 3. When we
started using Flash CS3, we had some design problem if we do open the
FLA in CS3, so we completely redesigned the Movieclips etc., in Flash
CS3 IDE.

2. Project contains approx 250 classes.

3. In main application, it imports 67 classes. (it works if I keep 63
classes in document class).

4. In the case 3 above, if that works with 63 classes and If I do add 3
frames in existing movieclip, it stops working.

5. In the case 3 above, if that works with 63 classes and If I do add /
declare few more variables, it stops working.

It would be humble appreciation if someone can come up with some light
in the dark tunnel.


Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert 

We Never Give Up!


___
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] test email please ignore.

2007-07-06 Thread Ashvin Savani


Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert 

We Never Give Up!


___
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] Flash CS3 - Strange Error: 5005: Unknown erroroptimizing byte code

2007-07-07 Thread Ashvin Savani
Anybody?

Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert 

We Never Give Up!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashvin
Savani
Sent: 06 July 2007 PM 7:35
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash CS3 - Strange Error: 5005: Unknown
erroroptimizing byte code

Hello flashcoders,

I am facing strange problem since long time. This error code even
doesn't exist in the list of error codes.

This is the exact error I am getting while I compile the FLA from flash
CS3.

Location : , Line 1
Description : 5005: Unknown error optimizing byte code.
Source : 

I don't know exact reason about its generation, But here are the some
possible reasons / hints:

Case 1) Overloading:

1.1) Size of .fla is 10.5 MB and its document class contains more than
60 classes to import and has more than 100 variables.

1.2) Even if I put In document class - only variable initialization and
class importing are there. Nothing in its constructor + no other
functions are defined. Still error is there.

1.3) If we import all classes and has all variables then it gives this
compile error. But if we remove some particular numbers of variable,
it's start working. In this we can remove any type of variables.

1.4) After reducing variables, application starts working till that it
won't.

Case 2)

2.1) Size of .fla is 1.75 MB and its document class is same as above
one.

2.2) All assumptions are same as above.

2.3) Now this class contains all functions and have initialization of
all variables + classes.

2.4) In this If we remove 3-5 variables, it will start functioning else
it won't.

Its a huge application so I am even confused that what is the cause of
error and this error stopped our working for a week now. Bit more
information about the project that may help the team to identify the
reason.

1. Project development started with flash public alpha 3. When we
started using Flash CS3, we had some design problem if we do open the
FLA in CS3, so we completely redesigned the Movieclips etc., in Flash
CS3 IDE.

2. Project contains approx 250 classes.

3. In main application, it imports 67 classes. (it works if I keep 63
classes in document class).

4. In the case 3 above, if that works with 63 classes and If I do add 3
frames in existing movieclip, it stops working.

5. In the case 3 above, if that works with 63 classes and If I do add /
declare few more variables, it stops working.

It would be humble appreciation if someone can come up with some light
in the dark tunnel.


Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert 

We Never Give Up!


___
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] Flash CS3 - Strange Error: 5005:Unknownerroroptimizing byte code

2007-07-07 Thread Ashvin Savani
Muzak,

Thanks for your response :)

Actually I searched on google before that and 32K was the limit for AS2.
I was expecting atleast 64K limit with AS3. What do you suggest in this
case if say limit is the same? Because to satisfy business needs we
can't cut down the classes from import list :)

Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert 

We Never Give Up!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: 07 July 2007 PM 12:22
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash CS3 - Strange Error:
5005:Unknownerroroptimizing byte code

Refactor.

Sounds like you need to completly rethink your application.
Importing 60 classes in your main application doesn't quite sound right.

There's a limit to how much code can be executed in 1 frame.
From what you describe it looks like you've reached that limit.
The limit used to be 32k, but has been increased in Flash Player 9 (if
i'm not mistaken).

Google: flash bytecode limit

regards,
Muzak


- Original Message - 
From: Ashvin Savani [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Saturday, July 07, 2007 8:19 AM
Subject: RE: [Flashcoders] Flash CS3 - Strange Error: 5005:
Unknownerroroptimizing byte code


Anybody?

Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert

We Never Give Up!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashvin
Savani
Sent: 06 July 2007 PM 7:35
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash CS3 - Strange Error: 5005: Unknown
erroroptimizing byte code

Hello flashcoders,

I am facing strange problem since long time. This error code even
doesn't exist in the list of error codes.

This is the exact error I am getting while I compile the FLA from flash
CS3.

Location : , Line 1
Description : 5005: Unknown error optimizing byte code.
Source :

I don't know exact reason about its generation, But here are the some
possible reasons / hints:

Case 1) Overloading:

1.1) Size of .fla is 10.5 MB and its document class contains more than
60 classes to import and has more than 100 variables.

1.2) Even if I put In document class - only variable initialization and
class importing are there. Nothing in its constructor + no other
functions are defined. Still error is there.

1.3) If we import all classes and has all variables then it gives this
compile error. But if we remove some particular numbers of variable,
it's start working. In this we can remove any type of variables.

1.4) After reducing variables, application starts working till that it
won't.

Case 2)

2.1) Size of .fla is 1.75 MB and its document class is same as above
one.

2.2) All assumptions are same as above.

2.3) Now this class contains all functions and have initialization of
all variables + classes.

2.4) In this If we remove 3-5 variables, it will start functioning else
it won't.

Its a huge application so I am even confused that what is the cause of
error and this error stopped our working for a week now. Bit more
information about the project that may help the team to identify the
reason.

1. Project development started with flash public alpha 3. When we
started using Flash CS3, we had some design problem if we do open the
FLA in CS3, so we completely redesigned the Movieclips etc., in Flash
CS3 IDE.

2. Project contains approx 250 classes.

3. In main application, it imports 67 classes. (it works if I keep 63
classes in document class).

4. In the case 3 above, if that works with 63 classes and If I do add 3
frames in existing movieclip, it stops working.

5. In the case 3 above, if that works with 63 classes and If I do add /
declare few more variables, it stops working.

It would be humble appreciation if someone can come up with some light
in the dark tunnel.


Best Regards,

Ashvin Savani - arckid
Founder  CTO - Avinashi.com
Adobe Community Expert

We Never Give Up!



___
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] amfphp 1.9 not working on web host

2008-04-21 Thread Ashvin Savani
What exact error you are getting?

Regards,

Ashvin Savani
CEO  Chief Architect,
FlashBrain - Division of Avinashi

We never give up!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of chas
warn
Sent: 22 April 2008 6:39 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] amfphp 1.9 not working on web host

Please help me on this issue.

I just moved from amfphp 1.2 to 1.9.  I can get 1.9 working locally but
not
on the remote web host.  I think this maybe a a cross domain issue.
___
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] Flash + Air

2008-04-24 Thread Ashvin Savani
Helmut, 

If I understand it correctly, it depends on usage or type of application
that you want to port to AIR. Either you can use it's native local
database (if it only deals with local database) or you can use any
remoting framework / solution which can communicate server side code. It
also depends on what exactly data transactions the application does.

Regards,

Ashvin Savani
CEO  Chief Architect,
FlashBrain - Division of Avinashi

We never give up!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: 24 April 2008 8:15 PM
To: Flash Coders List
Subject: [Flashcoders] Flash + Air

Does anyone knows the best way to embed Flash into an adobe Air
application?
The standard way of doing it (using SWFObject, FUO, Adobe AC_R) doesnt
seem
to work when testing the air applications. I have done some research but
nothing substantial that proves the best (or working) method.

TIA...
___
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] Lil' OOP direction needed

2006-11-06 Thread Ashvin Savani - Arckid
Marlon,

You may need to create following classes:

Playlist - to handle all about Playlist
NetConnection - to handle all events of NetConnection including connect
and disconnect
NetStream - to handle all events of streaming
Navigation - A complete class to handle all buttons (Play, Pause and
all)
Player - The heart of the player or say the main application
SeekBar - If required to display the current position of playback and
dragging etc.,

Redesign other subclasses if you required like volume controller or
scrub etc., if you really require them.

Hope this helps.

Best Regards,

Ashvin Savani - Arckid
Freelance Developer - Arckid.com
Founder  CTO - Avinashi.com
Adobe Community Expert - Flash

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marlon
Harrison
Sent: Monday, November 06, 2006 9:35 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Lil' OOP direction needed

I need to develop an on-demand video player that includes a category
browser so that users can view a list of videos from a particular
category (cooking, for example) or the user can create their own
playlist of videos.  My previous flash experience has been with
procedural based actionscripting and I'm having a difficult time
determining where to begin in planning out an OOP approach. I've picked
up a few OOP/Actionscript books form Friends of Ed, and the two Moock
books, but I'm still a little unsure on where/how to begin to make it as
modular as possible. I could really use a 'how  why'-type description
if anyone's so inclined...

Thanks!
___
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] Outlook and Flash

2006-12-15 Thread Ashvin Savani - Arckid
Jason,

The one way, I followed previously was like:

Create a socket server (VC++ based or whatever) which is running on some
port. If you plan to have flash client version is 9+ then, it would be
better if you have binary socket server.

That socket server can have access to Microsoft Office APIs, thorough
COM interface.

You can pass socket server commands to fetch calendar details from
outlook etc., and actually socket server will do that operation and pass
the result back to flash.

We are developing some product like this which is having integration
with outlook. Again this socket server can be a part of your outlook
plug-in itself or can be run as system service.

Hope this helps :)

Regards,

Ashvin Savani - Arckid
Freelance Developer - Arckid.com
Founder  CTO - Avinashi.com
Adobe Community Expert - Flash

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Saturday, December 16, 2006 3:38 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Outlook and Flash

I know with the security of the Flash player, it's probably not possible
or easy (unless MS has some sort of webservice for Exchange servers
built in or something) to grab a person's Outlook Calendar or Task list
- but what about a Flash desktop application - is that information
available through some API?  Can a third party app for Flash be used to
call an application which will retrieve this data?  I know there would
be security issues on that too, but I was tasked to investigate this.  I
might have some resources to write that application, but wouldn't know
what the possibilities would be on the Flash end.  Anyone done any
integration with Outlook before?  Thanks.

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
___
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