Re: Flash 5 .swt to Flash .swt / datasource migration and Set Environment
Dmitry Skavish <[email protected]> Thu, 23 Oct 2003 19:05:27 -0400
| Newsgroups | gmane.comp.java.jgenerator.devel |
|---|---|
| Organization | JZox, Inc. |
| Message-ID | <[email protected]> |
> I'm trying to upgrade some old Generator files, and would like to export
> them as Flash 6 files using the JGen MX components. In the old
> paradigm, you'd enter a datasource in the Flash Authoring environment -
> through the Set Environment panel.
>
> our data source presently is of the form:
> fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:{someVal}&userid=someUser&password=someReadOnlyPass&query={someQuery};
>
> Old MM templates have been running successfully on JGenerator using this
> Flash 5 export as usual... but... not when I try on Flash 6.
>
> I've been trying to get the same datasource to work in my MX - authored
> / Flash 6 exported tests. I'm trying to use the setEnvironment and / or
> setEnvironment2 components. What is the difference between these two?
> Will they work for this type of datasource? All I see is exmamples of
> xml data sources....
Yes, they will work just fine. SetEnvironment is datasource of type:
NAME,VALUE
name1, value1
name2, value2
name3, value3
name4, value4
SetEnvironment2:
name1, name2, name3
value11, value12, value13
value21, value22, value23
--
Dmitry Skavish
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/