Willie Hickey
|
| Posted: 10/27/2002, 6:02 PM |
|
Hi!! anyone know how to insert a flash movie into codecharge.
Thanks Willie
|
|
|
 |
Kelvin Chua
|
| Posted: 10/27/2002, 6:11 PM |
|
The language you are in? ASP, PHP, PERL?
Thanks.
Kelvin Chua
SINGAPORE
"Willie Hickey" <williehickey@worldnet.att.net> wrote in message
news:api5r6$e21$1@news.codecharge.com...
> Hi!! anyone know how to insert a flash movie into codecharge.
> Thanks Willie
>
>
|
|
|
 |
Carl Joshi
|
| Posted: 10/29/2002, 3:32 AM |
|
Hi Willie
Its extremely simple: just paste the HTML table that Flash generates into
CCS in HTML view.
The FLA/swf file must be in your CCS project folder for ideal results.
Regards
Carl
"Willie Hickey" <williehickey@worldnet.att.net> wrote in message
news:api5r6$e21$1@news.codecharge.com...
> Hi!! anyone know how to insert a flash movie into codecharge.
> Thanks Willie
>
>
|
|
|
 |
Buzz
|
| Posted: 10/29/2002, 9:18 AM |
|
Check out my response on the GoToCode site: http://www.gotocode.com/disc_viewt.asp?mid=16171&
Randy
"Willie Hickey" <williehickey@worldnet.att.net> wrote in message
news:api5r6$e21$1@news.codecharge.com...
> Hi!! anyone know how to insert a flash movie into codecharge.
> Thanks Willie
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/13/2002
|
|
|
 |
Dave Rexel
|
| Posted: 10/30/2002, 2:59 PM |
|
The following example CCS HTML code-snippet shows the advantages of using
CCS and Flash together maximising the strengths of both:
Sending values to the flashvars bit of the embed tag really gives a boost to
controlling the swf, you park the settings in the database,
potential=allowing a specialized Flash for each CCS logged in user.
----------------------------------------------
embed src="{srcSwf}"
flashvars="myXmlUrl={myXmlUrl}&myRepeatInterval={myRepeatIntervalSwf}"
bgcolor="#{bgcolorSwf}" quality="{qualitySwf}" width="{widthSwf}"
height="{heightSwf}" name="{nameSwf}" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
-----------------------------------------------
Heres the flow
CCS-->DB-->FLASH-->XML (generated by CCS-->DB)
How to connect it all up in a Flash-centric style
DB-->create table with the Flash elements you want to pass
Use the above example for inspiration
Populate it with a few examples
CCS-->make blank page*NOTE* with embed tag similar to above
In CCS Page Events insert Custom Code to read DB
and populate the {??Swf}variables in the embed tag
XML-->because of the limited amount of data
that can be parsed in the flashvars part of the embed tag
please read large amounts of data into Flash
by passing flashvars only the Url of an external data-source
FLASH-->use the collected data in your movie
*NOTE* : CCS 1.0.7 quirky way of mangling stuff forced me to write the embed
html via scripting (ASP/PHP/CF), lets hope YS sorts out the base
functionality and useability of the next CCS iteration before piling on more
features. Albeit no other app can generate ASP/PHP/CF versions of a given
task so easily.
Greetings
Dave
"Willie Hickey" <williehickey@worldnet.att.net> wrote in message
news:api5r6$e21$1@news.codecharge.com...
> Hi!! anyone know how to insert a flash movie into codecharge.
> Thanks Willie
>
>
|
|
|
 |
Zye
|
| Posted: 10/31/2002, 7:17 AM |
|
Thanks for sharing that Dave. I am a novice using Flash/PHP/MySQL. I have no
XML knowledge. I am trying to create a questionaire/survey (44 fixed
questions, 1 question per page/view) with a flash front end and PHP/MySQL. I
have been trying to figure out how to make a connection with CC or CCS
(Regged). Your contribution has shed some light. Do you have any pointers to
more info or can you help me with how I may get my project to operate. What
kind of lines are included in the xml file?
Many thanks for any help.
Zye Hill, UK
"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:appo8u$3at$1@news.codecharge.com...
> The following example CCS HTML code-snippet shows the advantages of using
> CCS and Flash together maximising the strengths of both:
> Sending values to the flashvars bit of the embed tag really gives a boost
to
> controlling the swf, you park the settings in the database,
> potential=allowing a specialized Flash for each CCS logged in user.
>
> ----------------------------------------------
> embed src="{srcSwf}"
> flashvars="myXmlUrl={myXmlUrl}&myRepeatInterval={myRepeatIntervalSwf}"
> bgcolor="#{bgcolorSwf}" quality="{qualitySwf}" width="{widthSwf}"
> height="{heightSwf}" name="{nameSwf}" type="application/x-shockwave-flash"
> pluginspage="http://www.macromedia.com/go/getflashplayer"
> -----------------------------------------------
>
> Heres the flow
> CCS-->DB-->FLASH-->XML (generated by CCS-->DB)
> How to connect it all up in a Flash-centric style
> DB-->create table with the Flash elements you want to pass
> Use the above example for inspiration
> Populate it with a few examples
> CCS-->make blank page*NOTE* with embed tag similar to above
> In CCS Page Events insert Custom Code to read DB
> and populate the {??Swf}variables in the embed tag
> XML-->because of the limited amount of data
> that can be parsed in the flashvars part of the embed tag
> please read large amounts of data into Flash
> by passing flashvars only the Url of an external data-source
> FLASH-->use the collected data in your movie
>
> *NOTE* : CCS 1.0.7 quirky way of mangling stuff forced me to write the
embed
> html via scripting (ASP/PHP/CF), lets hope YS sorts out the base
> functionality and useability of the next CCS iteration before piling on
more
> features. Albeit no other app can generate ASP/PHP/CF versions of a given
> task so easily.
>
> Greetings
> Dave
>
> "Willie Hickey" <williehickey@worldnet.att.net> wrote in message
>news:api5r6$e21$1@news.codecharge.com...
> > Hi!! anyone know how to insert a flash movie into codecharge.
> > Thanks Willie
> >
> >
>
>
|
|
|
 |
Dave Rexel
|
| Posted: 10/31/2002, 8:48 AM |
|
Hello Zye (nice name, what's its origin?)
I would recommend an intensive look at Colin Moocks site and in your case
following his Flash Quiz project which should be easy to adapt for your
needs.
I am using CCS because I will build the non-flash areas of the clients site
with it, if you only need to support the Flash app you can handcode all the
PHP.
I have now been forced to handcode the PHP file that querys the DB and
generates the XML due to CCS outputting assorted garbage that messes up the
XML output.
Here is some simplified PHP code for the XML part
its just as easy using ASP/CF/JSP
------------------------------
echo "<myMainNode>";
mysql_connect("localhost","login","password");
mysql_select_db("myDBname");
$sql = "SELECT col1, col2 FROM myDBtable";
$query = mysql_query($sql);
$nrows = mysql_num_rows($query);
for ($i=0; $i < $nrows; $i++) {
$row = mysql_fetch_array($query);
echo "<myNode myAttribute=\"".$row['col1']."\">";
echo $row['col2'];
echo "</myNode>";
}
echo "</myMainNode>";
------------------------------
Flash will accept this generated XML without a whimper
if the result generates anything else (even blank spaces or CCS comments)
flash will choke, so run/test this PHP file by itself until the generated
XML output is perfect before getting Flash into the act.
Hope this helps.
Regards
Dave
"Zye" <zye@webvisionaries.net> wrote in message
news:aprhhr$ab9$1@news.codecharge.com...
> Thanks for sharing that Dave. I am a novice using Flash/PHP/MySQL. I have
no
> XML knowledge. I am trying to create a questionaire/survey (44 fixed
> questions, 1 question per page/view) with a flash front end and PHP/MySQL.
I
> have been trying to figure out how to make a connection with CC or CCS
> (Regged). Your contribution has shed some light. Do you have any pointers
to
> more info or can you help me with how I may get my project to operate.
What
> kind of lines are included in the xml file?
>
> Many thanks for any help.
>
> Zye Hill, UK
>
>
>
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:appo8u$3at$1@news.codecharge.com...
> > The following example CCS HTML code-snippet shows the advantages of
using
> > CCS and Flash together maximising the strengths of both:
> > Sending values to the flashvars bit of the embed tag really gives a
boost
> to
> > controlling the swf, you park the settings in the database,
> > potential=allowing a specialized Flash for each CCS logged in user.
> >
> > ----------------------------------------------
> > embed src="{srcSwf}"
> > flashvars="myXmlUrl={myXmlUrl}&myRepeatInterval={myRepeatIntervalSwf}"
> > bgcolor="#{bgcolorSwf}" quality="{qualitySwf}" width="{widthSwf}"
> > height="{heightSwf}" name="{nameSwf}"
type="application/x-shockwave-flash"
> > pluginspage="http://www.macromedia.com/go/getflashplayer"
> > -----------------------------------------------
> >
> > Heres the flow
> > CCS-->DB-->FLASH-->XML (generated by CCS-->DB)
> > How to connect it all up in a Flash-centric style
> > DB-->create table with the Flash elements you want to pass
> > Use the above example for inspiration
> > Populate it with a few examples
> > CCS-->make blank page*NOTE* with embed tag similar to above
> > In CCS Page Events insert Custom Code to read DB
> > and populate the {??Swf}variables in the embed tag
> > XML-->because of the limited amount of data
> > that can be parsed in the flashvars part of the embed tag
> > please read large amounts of data into Flash
> > by passing flashvars only the Url of an external
data-source
> > FLASH-->use the collected data in your movie
> >
> > *NOTE* : CCS 1.0.7 quirky way of mangling stuff forced me to write the
> embed
> > html via scripting (ASP/PHP/CF), lets hope YS sorts out the base
> > functionality and useability of the next CCS iteration before piling on
> more
> > features. Albeit no other app can generate ASP/PHP/CF versions of a
given
> > task so easily.
> >
> > Greetings
> > Dave
> >
> > "Willie Hickey" <williehickey@worldnet.att.net> wrote in message
> >news:api5r6$e21$1@news.codecharge.com...
> > > Hi!! anyone know how to insert a flash movie into codecharge.
> > > Thanks Willie
> > >
> > >
> >
> >
>
>
>
>
|
|
|
 |
Zye
|
| Posted: 10/31/2002, 11:25 AM |
|
Cheers Dave for the info. I will keep on experimenting and share what I
find. Zye is my adolesent adopted name when I was a Sci Fi alien freak.
"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:aprmt9$kbo$1@news.codecharge.com...
>
> Hello Zye (nice name, what's its origin?)
> I would recommend an intensive look at Colin Moocks site and in your case
> following his Flash Quiz project which should be easy to adapt for your
> needs.
> I am using CCS because I will build the non-flash areas of the clients
site
> with it, if you only need to support the Flash app you can handcode all
the
> PHP.
> I have now been forced to handcode the PHP file that querys the DB and
> generates the XML due to CCS outputting assorted garbage that messes up
the
> XML output.
>
> Here is some simplified PHP code for the XML part
> its just as easy using ASP/CF/JSP
>
> ------------------------------
> echo "<myMainNode>";
> mysql_connect("localhost","login","password");
> mysql_select_db("myDBname");
> $sql = "SELECT col1, col2 FROM myDBtable";
> $query = mysql_query($sql);
> $nrows = mysql_num_rows($query);
> for ($i=0; $i < $nrows; $i++) {
> $row = mysql_fetch_array($query);
> echo "<myNode myAttribute=\"".$row['col1']."\">";
> echo $row['col2'];
> echo "</myNode>";
> }
> echo "</myMainNode>";
> ------------------------------
>
> Flash will accept this generated XML without a whimper
> if the result generates anything else (even blank spaces or CCS comments)
> flash will choke, so run/test this PHP file by itself until the generated
> XML output is perfect before getting Flash into the act.
>
> Hope this helps.
> Regards
> Dave
>
>
>
> "Zye" <zye@webvisionaries.net> wrote in message
>news:aprhhr$ab9$1@news.codecharge.com...
> > Thanks for sharing that Dave. I am a novice using Flash/PHP/MySQL. I
have
> no
> > XML knowledge. I am trying to create a questionaire/survey (44 fixed
> > questions, 1 question per page/view) with a flash front end and
PHP/MySQL.
> I
> > have been trying to figure out how to make a connection with CC or CCS
> > (Regged). Your contribution has shed some light. Do you have any
pointers
> to
> > more info or can you help me with how I may get my project to operate.
> What
> > kind of lines are included in the xml file?
> >
> > Many thanks for any help.
> >
> > Zye Hill, UK
> >
> >
> >
> >
> > "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
> >news:appo8u$3at$1@news.codecharge.com...
> > > The following example CCS HTML code-snippet shows the advantages of
> using
> > > CCS and Flash together maximising the strengths of both:
> > > Sending values to the flashvars bit of the embed tag really gives a
> boost
> > to
> > > controlling the swf, you park the settings in the database,
> > > potential=allowing a specialized Flash for each CCS logged in user.
> > >
> > > ----------------------------------------------
> > > embed src="{srcSwf}"
> > > flashvars="myXmlUrl={myXmlUrl}&myRepeatInterval={myRepeatIntervalSwf}"
> > > bgcolor="#{bgcolorSwf}" quality="{qualitySwf}" width="{widthSwf}"
> > > height="{heightSwf}" name="{nameSwf}"
> type="application/x-shockwave-flash"
> > > pluginspage="http://www.macromedia.com/go/getflashplayer"
> > > -----------------------------------------------
> > >
> > > Heres the flow
> > > CCS-->DB-->FLASH-->XML (generated by CCS-->DB)
> > > How to connect it all up in a Flash-centric style
> > > DB-->create table with the Flash elements you want to pass
> > > Use the above example for inspiration
> > > Populate it with a few examples
> > > CCS-->make blank page*NOTE* with embed tag similar to above
> > > In CCS Page Events insert Custom Code to read DB
> > > and populate the {??Swf}variables in the embed tag
> > > XML-->because of the limited amount of data
> > > that can be parsed in the flashvars part of the embed
tag
> > > please read large amounts of data into Flash
> > > by passing flashvars only the Url of an external
> data-source
> > > FLASH-->use the collected data in your movie
> > >
> > > *NOTE* : CCS 1.0.7 quirky way of mangling stuff forced me to write the
> > embed
> > > html via scripting (ASP/PHP/CF), lets hope YS sorts out the base
> > > functionality and useability of the next CCS iteration before piling
on
> > more
> > > features. Albeit no other app can generate ASP/PHP/CF versions of a
> given
> > > task so easily.
> > >
> > > Greetings
> > > Dave
> > >
> > > "Willie Hickey" <williehickey@worldnet.att.net> wrote in message
> > >news:api5r6$e21$1@news.codecharge.com...
> > > > Hi!! anyone know how to insert a flash movie into codecharge.
> > > > Thanks Willie
> > > >
> > > >
> > >
> > >
> >
> >
> >
> >
>
>
|
|
|
 |
|