Re: [Flashcoders] Couple questions re Zinc and Access

2007-07-29 Thread vipin chandran
Dave,
Try the flat file DB called SQLite. There is an open source dll (mac version
also) which connects Zinc to SQLIte DB. This is very simple and you dont
need to worry about ODBC and stuffs... The SQLite is capable of handling
almost all the SQL queries also.

-Vipin

On 7/26/07, Dave Burnett [EMAIL PROTECTED] wrote:


 Hi all;

 I'm looking to connect a projector to an Access db, both on CD.

 Looks like Zinc will do this, but I'm curious if any folks with experience
 in the area could enlighten me:

 1. Are there any client requirements? MDAC version? Do I have to make an
 ODBC connection?

 2. What does Zinc mean when they say the recordset can be dumped in a
 simple XML format?

 e.g. is there any control over the XML structure, or is it WYSIWYG?

 Thanks.

 Dave

 _

 http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507

 ___
 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] Q:optimizing a Calendar app

2007-07-29 Thread eka
Hello :)

In my opensource framework when i want create a calendar with appointment i
use a Calendar class :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/date/Calendar.as

More information about VEGAS : http://code.google.com/p/vegas/
Install VEGAS : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN

Example to use the Calendar class in the SVN repository :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/date/

To creates a model of appointment i use my MVC and ADT (Abstract Data Type)
implementation with HashMap class.

Basic example with an hash map :

import vegas.data.map.HashMap ;

var map:HashMap = new HashMap() ;

var day:Calendar = new Calendar(2007,6,29) ;

var appointement:AppointmentVO = new AppointmentVO( day ) ;

map.put ( day.valueOf() , appointment ) ;

/// ...


var app:AppointmentVO = map.get( new Date(2007,6,29).valueOf() ) ;

trace( app ) ;

PS : My HashMap implementation in AS3 in VEGAS is based over the Dictionnary
class.

EKA+ :)




2007/7/29, Steven Sacks [EMAIL PROTECTED]:

 Apologies for not being clearer.

 I did not intend for you to use new Date().getTime() literally.

 What I meant was

 events[new Date(year, month, day).getTime()]

 so you could use the calendar date itself as the key.

 It makes no difference what key you decide to use, as long as the key is
 easy to look up because it has relevance to the calendar date.  It's
 probably less expensive to do [month + / + day + / + year] than
 creating a new Date object.

 And yes, in AS3, this would be a good candidate for a Dictionary object.


 Steven Sacks
 Flash Maestro
 Los Angeles, CA
 --
 blog: http://www.stevensacks.net
 ___
 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] Couple questions re Zinc and Access

2007-07-29 Thread Dave Burnett

Thanks Vipin, I'll check that out.

So I take it using Access with Zinc will have client requirements, MDAC etc?

Dave


From: vipin chandran [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Couple questions re Zinc and Access
Date: Sun, 29 Jul 2007 11:29:19 +0530

Dave,
Try the flat file DB called SQLite. There is an open source dll (mac 
version

also) which connects Zinc to SQLIte DB. This is very simple and you dont
need to worry about ODBC and stuffs... The SQLite is capable of handling
almost all the SQL queries also.

-Vipin

On 7/26/07, Dave Burnett [EMAIL PROTECTED] wrote:


 Hi all;

 I'm looking to connect a projector to an Access db, both on CD.

 Looks like Zinc will do this, but I'm curious if any folks with 
experience

 in the area could enlighten me:

 1. Are there any client requirements? MDAC version? Do I have to make an
 ODBC connection?

 2. What does Zinc mean when they say the recordset can be dumped in a
 simple XML format?

 e.g. is there any control over the XML structure, or is it WYSIWYG?

 Thanks.

 Dave

 _

 
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507


 ___
 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


_
http://newlivehotmail.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] Runtime shared library loading problem

2007-07-29 Thread Francis Turmel
All relative paths in any swfs loaded in your application will use the HTML
page as
their base path, not their own personal location. Like you already
mentioned, you can
change this base path by using the base param while embedding.

You just need to make all external assets loading to
always be relative to the HTML page or the specified base path.

Hope this helps


On 7/28/07, Kannan Bharadwaj [EMAIL PROTECTED] wrote:

 Hi,

 I have a flash movieclip container that I use to load all my swf files. I
 use SWFObject to load this flash container inside the html file and I pass
 my swf filename as a variable.

 This works fine as long as my swf files do not contain objects that need
 to
 be loaded at runtime. When I have such objects, they do not seem to get
 loaded.

 If I load my swf file directly using SWFObject and specify base param to
 indicate the path to the runtime files, it works fine. The problem happens
 only when I load my swf file through a container.

 Any help would be really appreciated.

 Thanks
 Kannan


 ___
 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] Couple questions re Zinc and Access

2007-07-29 Thread vipin chandran
Nope, if your requirements hangs around a PC then, access can be used
easily. But if you are looking for a hybrid (PC and Mac) then go with SQLite
and this library.
-Vipin

On 7/29/07, Dave Burnett [EMAIL PROTECTED] wrote:

 Thanks Vipin, I'll check that out.

 So I take it using Access with Zinc will have client requirements, MDAC
 etc?

 Dave

 From: vipin chandran [EMAIL PROTECTED]
 Reply-To: flashcoders@chattyfig.figleaf.com
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] Couple questions re Zinc and Access
 Date: Sun, 29 Jul 2007 11:29:19 +0530
 
 Dave,
 Try the flat file DB called SQLite. There is an open source dll (mac
 version
 also) which connects Zinc to SQLIte DB. This is very simple and you dont
 need to worry about ODBC and stuffs... The SQLite is capable of handling
 almost all the SQL queries also.
 
 -Vipin
 
 On 7/26/07, Dave Burnett [EMAIL PROTECTED] wrote:
  
  
   Hi all;
  
   I'm looking to connect a projector to an Access db, both on CD.
  
   Looks like Zinc will do this, but I'm curious if any folks with
 experience
   in the area could enlighten me:
  
   1. Are there any client requirements? MDAC version? Do I have to make
 an
   ODBC connection?
  
   2. What does Zinc mean when they say the recordset can be dumped in a
   simple XML format?
  
   e.g. is there any control over the XML structure, or is it WYSIWYG?
  
   Thanks.
  
   Dave
  
   _
  
  
 
 http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
  
   ___
   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

 _
 http://newlivehotmail.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] Runtime shared library loading problem

2007-07-29 Thread Robert r. Sanders
I think that the issue is that the file (SWF) loading is taking place 
relative to the url of the root clip.  There are various ways to see 
network traffic, including Live HTTP Headers (plugin for Firefox), 
Wireshark (network packet sniffer), there's also an addon for IE that 
does HTTP monitoring although I can't think of its name off the top of 
my head.  These could confirm the full paths that are being requested.


You should be able to dynamically find the current base url in 
actionscript, although its not too pretty as I recall.  You could also 
just pass in the based URL and parse it internally to normalize for the 
different paths; or if possible just use absolute urls and/or 
server-relative urls.




Hi,

I have a flash movieclip container that I use to load all my swf files. I
use SWFObject to load this flash container inside the html file and I pass
my swf filename as a variable. 


This works fine as long as my swf files do not contain objects that need to
be loaded at runtime. When I have such objects, they do not seem to get
loaded.

If I load my swf file directly using SWFObject and specify base param to
indicate the path to the runtime files, it works fine. The problem happens
only when I load my swf file through a container.

Any help would be really appreciated.

Thanks
Kannan



  



--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

___
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] Couple questions re Zinc and Access

2007-07-29 Thread John Hattan
Glad you like it :)

FWIW, here's the page for my SQLite glue-DLL for Zinc. The Mac version works 
with mProjector, which is what I'm using for the Mac games (Zinc for Mac 
doesn't do universal binaries).

http://www.thecodezone.com/downloads/sqlite.html

- Original Message 
From: vipin chandran [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Sunday, July 29, 2007 12:59:19 AM
Subject: Re: [Flashcoders] Couple questions re Zinc and Access

Dave,
Try the flat file DB called SQLite. There is an open source dll (mac version
also) which connects Zinc to SQLIte DB. This is very simple and you dont
need to worry about ODBC and stuffs... The SQLite is capable of handling
almost all the SQL queries also.

-Vipin

On 7/26/07, Dave Burnett [EMAIL PROTECTED] wrote:


 Hi all;

 I'm looking to connect a projector to an Access db, both on CD.

 Looks like Zinc will do this, but I'm curious if any folks with experience
 in the area could enlighten me:

 1. Are there any client requirements? MDAC version? Do I have to make an
 ODBC connection?

 2. What does Zinc mean when they say the recordset can be dumped in a
 simple XML format?

 e.g. is there any control over the XML structure, or is it WYSIWYG?

 Thanks.

 Dave

 _

 http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507

 ___
 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] Couple questions re Zinc and Access

2007-07-29 Thread Troy Rollins


On Jul 29, 2007, at 2:37 PM, John Hattan wrote:

FWIW, here's the page for my SQLite glue-DLL for Zinc. The Mac  
version works with mProjector, which is what I'm using for the Mac  
games (Zinc for Mac doesn't do universal binaries).


Oh cool, I lost touch with mProjector... I hadn't realized they had  
gotten UB completed, and I see they even have a beta in place for AS3  
and FlexBuilder compatibility. Sweet, gotta check that out.


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
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] Can you reactivate my account please

2007-07-29 Thread Joe Wheeler
Thanks,

 

Joe

___
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] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-29 Thread Alan MacDougall

Micky Hulse wrote:

Pedro Taranto wrote:
if you want to return diferent types in one function you dont specify 
any return data type


Ah, sounds good to me. I was not sure if it was bad practice to not 
specify a type.


Well, if you want to write strictly, and if you're interested in exactly 
what data type your method returns, you can specify a return type of 
Object (the parent of every other AS class):


function getData():Object   { // do calculations, return the result }

var returnValue:Object = getData();

if (returnValue instanceof DataType)
{
   do stuff;
}
else if (returnValue instanceof OtherDataType
{
   do other stuff;
}

___
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] [FP8, AS2] Rules of thumb: Coding tips?

2007-07-29 Thread Micky Hulse

Hi Alan, thanks for reply.

Alan MacDougall wrote:
Well, if you want to write strictly, and if you're interested in exactly 
what data type your method returns, you can specify a return type of 
Object (the parent of every other AS class):


Ooooh, nice!

Thanks for the code snippet and tips! That helps out a lot. ;)

Going to dink with that now.

Have a great day/night.
Cheers,
Micky

--
Wishlists: http://snipurl.com/1gqpj
   Switch: http://browsehappy.com/
 BCC?: http://snipurl.com/w6f8
   My: http://del.icio.us/mhulse
___
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] need some clarifications on Video streaming

2007-07-29 Thread creativity
Hi,

i have some queries regarding video streaming.

1. If we use flash media server to deliver streaming as per user bandwidth,
do we need to keep separate flv files for each kind of bandwidth.
2. Is any third party tool available which can be put on server to convert
different video formats to flv
My requirement is that video uploaded by user in any format is converted
to flv and stored on  media server, like u can see in youtube.
3. What can be the best way to upload and download high quality video via
internet, where bandwidth can vary from palce to place.
thanks
-- 
Abhishek Kumar
___
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