Using flash instead of the product-image in detail view

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Using flash instead of the product-image in detail view

MarWestermann
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943

If you want to upload like images that is one effort. Like provide the
upload for swf files on the EditProductContent page, and store them.
Also determine if the swf replaces the which of the Image files, like in
the upload feature

if you just want to ftp into the image folder the swf files that would
be the easiest. then just put in the swf file name in the images manually.

have not researched if the rendering engine is file specific or if it
will just put file in the EditProductContent image. you can give it a
try and see.

Marco Westermann sent the following on 2/16/2009 7:23 AM:

> Hi all,
>
> we want to embed flash-objects instead of the image in the product
> detail view (in the ecommerce-module). For example to show a reading
> rehearsal. But this has to be configurable, as the most products still
> needs a normal image while some of them needs the flash-objects. Would
> that be much work to realise.
>
> Thanks for any advises.
>
> with best regards,
>
> Marco Westermann
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJma1RrP3NbaWWqE4RAvZcAKCXBgg4b17BDspdh80Dk1zXeiOprACgnWJ5
2XtMVKwIGBoa/07G2uGw4js=
=KJfk
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

come to think of it you would have to have the rendering engine add the
support information for a swf file as well have parms in the
EditProductContent that would be passed to the rendering engine.
<OBJECT
  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
  ID="Sample"
  WIDTH="400"
  HEIGHT="300">
    <param name="Movie" value="myfile.swf">
    <param name="Src" value="myfile.swf">
    <param name="WMode" value="Window">
    <param name="Play" value="-1">
    <param name="Loop" value="-1">
    <param name="Quality" value="High">
    <param name="Menu" value="-1">
    <param name="Scale" value="ShowAll">
    <param name="DeviceFont" value="0">
    <param name="EmbedMovie" value="0">
    <param name="BGColor" value="FFFFFF">
    <param name="Stacking" value="below">
    <embed NAME="Sample" SRC="myfile.swf"
      WMODE="Window"
      PLAY="true"
      LOOP="true"
      QUALITY="high"
      BGCOLOR="#FFFFFF"
      SCALE="showall"
      WIDTH="100%"
      HEIGHT="100%"
      TYPE="application/x-shockwave-flash"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash">
</OBJECT>


BJ Freeman sent the following on 2/16/2009 10:15 AM:

>
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>
> If you want to upload like images that is one effort. Like provide the
> upload for swf files on the EditProductContent page, and store them.
> Also determine if the swf replaces the which of the Image files, like in
> the upload feature
>
> if you just want to ftp into the image folder the swf files that would
> be the easiest. then just put in the swf file name in the images manually.
>
> have not researched if the rendering engine is file specific or if it
> will just put file in the EditProductContent image. you can give it a
> try and see.
>
> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>> Hi all,
>
>> we want to embed flash-objects instead of the image in the product
>> detail view (in the ecommerce-module). For example to show a reading
>> rehearsal. But this has to be configurable, as the most products still
>> needs a normal image while some of them needs the flash-objects. Would
>> that be much work to realise.
>
>> Thanks for any advises.
>
>> with best regards,
>
>> Marco Westermann
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmbBSrP3NbaWWqE4RAqkjAKDNm0XdO3ZKI/0jd8PH6qlsr8LvowCgmilr
nnmVwFk6+1Y9XObhY0nbd1s=
=u70n
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Toddnick
Flash movies can have a variety of information passed to them from the
freemarker templates. You could create a 'master' flash movie and load
components dynamically through the params for the swf file or through swf
javascript handler. You can also wrap jpgs in a flash wrapper and load them
in dynamically as well.
There are a variety of libraries for generating swf files from scratch also.

On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> come to think of it you would have to have the rendering engine add the
> support information for a swf file as well have parms in the
> EditProductContent that would be passed to the rendering engine.
> <OBJECT
>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
> CODEBASE="
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> "
>  ID="Sample"
>  WIDTH="400"
>  HEIGHT="300">
>    <param name="Movie" value="myfile.swf">
>    <param name="Src" value="myfile.swf">
>    <param name="WMode" value="Window">
>    <param name="Play" value="-1">
>    <param name="Loop" value="-1">
>    <param name="Quality" value="High">
>    <param name="Menu" value="-1">
>    <param name="Scale" value="ShowAll">
>    <param name="DeviceFont" value="0">
>    <param name="EmbedMovie" value="0">
>    <param name="BGColor" value="FFFFFF">
>    <param name="Stacking" value="below">
>    <embed NAME="Sample" SRC="myfile.swf"
>      WMODE="Window"
>      PLAY="true"
>      LOOP="true"
>      QUALITY="high"
>      BGCOLOR="#FFFFFF"
>      SCALE="showall"
>      WIDTH="100%"
>      HEIGHT="100%"
>      TYPE="application/x-shockwave-flash"
>
> PLUGINSPAGE="
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> ">
> </OBJECT>
>
>
> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> >
> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
> >
> > If you want to upload like images that is one effort. Like provide the
> > upload for swf files on the EditProductContent page, and store them.
> > Also determine if the swf replaces the which of the Image files, like in
> > the upload feature
> >
> > if you just want to ftp into the image folder the swf files that would
> > be the easiest. then just put in the swf file name in the images
> manually.
> >
> > have not researched if the rendering engine is file specific or if it
> > will just put file in the EditProductContent image. you can give it a
> > try and see.
> >
> > Marco Westermann sent the following on 2/16/2009 7:23 AM:
> >> Hi all,
> >
> >> we want to embed flash-objects instead of the image in the product
> >> detail view (in the ecommerce-module). For example to show a reading
> >> rehearsal. But this has to be configurable, as the most products still
> >> needs a normal image while some of them needs the flash-objects. Would
> >> that be much work to realise.
> >
> >> Thanks for any advises.
> >
> >> with best regards,
> >
> >> Marco Westermann
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmbBSrP3NbaWWqE4RAqkjAKDNm0XdO3ZKI/0jd8PH6qlsr8LvowCgmilr
> nnmVwFk6+1Y9XObhY0nbd1s=
> =u70n
> -----END PGP SIGNATURE-----
>



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

the libraries licenses would have to be compatible with the apache license.
you still need a way to work within the ofbiz framework.

Todd Burdeinei sent the following on 2/16/2009 11:23 AM:

> Flash movies can have a variety of information passed to them from the
> freemarker templates. You could create a 'master' flash movie and load
> components dynamically through the params for the swf file or through swf
> javascript handler. You can also wrap jpgs in a flash wrapper and load them
> in dynamically as well.
> There are a variety of libraries for generating swf files from scratch also.
>
> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]> wrote:
>
> come to think of it you would have to have the rendering engine add the
> support information for a swf file as well have parms in the
> EditProductContent that would be passed to the rendering engine.
> <OBJECT
>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
> CODEBASE="
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> "
>  ID="Sample"
>  WIDTH="400"
>  HEIGHT="300">
>    <param name="Movie" value="myfile.swf">
>    <param name="Src" value="myfile.swf">
>    <param name="WMode" value="Window">
>    <param name="Play" value="-1">
>    <param name="Loop" value="-1">
>    <param name="Quality" value="High">
>    <param name="Menu" value="-1">
>    <param name="Scale" value="ShowAll">
>    <param name="DeviceFont" value="0">
>    <param name="EmbedMovie" value="0">
>    <param name="BGColor" value="FFFFFF">
>    <param name="Stacking" value="below">
>    <embed NAME="Sample" SRC="myfile.swf"
>      WMODE="Window"
>      PLAY="true"
>      LOOP="true"
>      QUALITY="high"
>      BGCOLOR="#FFFFFF"
>      SCALE="showall"
>      WIDTH="100%"
>      HEIGHT="100%"
>      TYPE="application/x-shockwave-flash"
>
> PLUGINSPAGE="
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> ">
> </OBJECT>
>
>
> BJ Freeman sent the following on 2/16/2009 10:15 AM:
>>>>
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>>>> If you want to upload like images that is one effort. Like provide the
>>>> upload for swf files on the EditProductContent page, and store them.
>>>> Also determine if the swf replaces the which of the Image files, like in
>>>> the upload feature
>>>>
>>>> if you just want to ftp into the image folder the swf files that would
>>>> be the easiest. then just put in the swf file name in the images
> manually.
>>>> have not researched if the rendering engine is file specific or if it
>>>> will just put file in the EditProductContent image. you can give it a
>>>> try and see.
>>>>
>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>> Hi all,
>>>>> we want to embed flash-objects instead of the image in the product
>>>>> detail view (in the ecommerce-module). For example to show a reading
>>>>> rehearsal. But this has to be configurable, as the most products still
>>>>> needs a normal image while some of them needs the flash-objects. Would
>>>>> that be much work to realise.
>>>>> Thanks for any advises.
>>>>> with best regards,
>>>>> Marco Westermann
>>>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmcAfrP3NbaWWqE4RAie8AJ9JexEBdMFLGXXzCoaP4TbioscAzgCffpeH
G2e2yCl+hRcyVHsbomgRs7s=
=nd61
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Toddnick
Wouldn't the license incompatibility only come into play if you try to
redistribute those other libraries with ofbiz? You could write handlers and
connections for them and everything short of actually shipping them with
your code.
What if you didn't intend to redistribute?

On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> the libraries licenses would have to be compatible with the apache license.
> you still need a way to work within the ofbiz framework.
>
> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
> > Flash movies can have a variety of information passed to them from the
> > freemarker templates. You could create a 'master' flash movie and load
> > components dynamically through the params for the swf file or through swf
> > javascript handler. You can also wrap jpgs in a flash wrapper and load
> them
> > in dynamically as well.
> > There are a variety of libraries for generating swf files from scratch
> also.
> >
> > On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
> wrote:
> >
> > come to think of it you would have to have the rendering engine add the
> > support information for a swf file as well have parms in the
> > EditProductContent that would be passed to the rendering engine.
> > <OBJECT
> >  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> >
> > CODEBASE="
> >
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> > "
> >  ID="Sample"
> >  WIDTH="400"
> >  HEIGHT="300">
> >    <param name="Movie" value="myfile.swf">
> >    <param name="Src" value="myfile.swf">
> >    <param name="WMode" value="Window">
> >    <param name="Play" value="-1">
> >    <param name="Loop" value="-1">
> >    <param name="Quality" value="High">
> >    <param name="Menu" value="-1">
> >    <param name="Scale" value="ShowAll">
> >    <param name="DeviceFont" value="0">
> >    <param name="EmbedMovie" value="0">
> >    <param name="BGColor" value="FFFFFF">
> >    <param name="Stacking" value="below">
> >    <embed NAME="Sample" SRC="myfile.swf"
> >      WMODE="Window"
> >      PLAY="true"
> >      LOOP="true"
> >      QUALITY="high"
> >      BGCOLOR="#FFFFFF"
> >      SCALE="showall"
> >      WIDTH="100%"
> >      HEIGHT="100%"
> >      TYPE="application/x-shockwave-flash"
> >
> > PLUGINSPAGE="
> >
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> > ">
> > </OBJECT>
> >
> >
> > BJ Freeman sent the following on 2/16/2009 10:15 AM:
> >>>>
> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
> >>>> If you want to upload like images that is one effort. Like provide the
> >>>> upload for swf files on the EditProductContent page, and store them.
> >>>> Also determine if the swf replaces the which of the Image files, like
> in
> >>>> the upload feature
> >>>>
> >>>> if you just want to ftp into the image folder the swf files that would
> >>>> be the easiest. then just put in the swf file name in the images
> > manually.
> >>>> have not researched if the rendering engine is file specific or if it
> >>>> will just put file in the EditProductContent image. you can give it a
> >>>> try and see.
> >>>>
> >>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
> >>>>> Hi all,
> >>>>> we want to embed flash-objects instead of the image in the product
> >>>>> detail view (in the ecommerce-module). For example to show a reading
> >>>>> rehearsal. But this has to be configurable, as the most products
> still
> >>>>> needs a normal image while some of them needs the flash-objects.
> Would
> >>>>> that be much work to realise.
> >>>>> Thanks for any advises.
> >>>>> with best regards,
> >>>>> Marco Westermann
> >>>>
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmcAfrP3NbaWWqE4RAie8AJ9JexEBdMFLGXXzCoaP4TbioscAzgCffpeH
> G2e2yCl+hRcyVHsbomgRs7s=
> =nd61
> -----END PGP SIGNATURE-----
>



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you have a point.
I always assume someone will contribute.
:D

Todd Burdeinei sent the following on 2/16/2009 11:46 AM:

> Wouldn't the license incompatibility only come into play if you try to
> redistribute those other libraries with ofbiz? You could write handlers and
> connections for them and everything short of actually shipping them with
> your code.
> What if you didn't intend to redistribute?
>
> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]> wrote:
>
> the libraries licenses would have to be compatible with the apache license.
> you still need a way to work within the ofbiz framework.
>
> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>>>> Flash movies can have a variety of information passed to them from the
>>>> freemarker templates. You could create a 'master' flash movie and load
>>>> components dynamically through the params for the swf file or through swf
>>>> javascript handler. You can also wrap jpgs in a flash wrapper and load
> them
>>>> in dynamically as well.
>>>> There are a variety of libraries for generating swf files from scratch
> also.
>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
> wrote:
>>>> come to think of it you would have to have the rendering engine add the
>>>> support information for a swf file as well have parms in the
>>>> EditProductContent that would be passed to the rendering engine.
>>>> <OBJECT
>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>
>>>> CODEBASE="
>>>>
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>>>> "
>>>>  ID="Sample"
>>>>  WIDTH="400"
>>>>  HEIGHT="300">
>>>>    <param name="Movie" value="myfile.swf">
>>>>    <param name="Src" value="myfile.swf">
>>>>    <param name="WMode" value="Window">
>>>>    <param name="Play" value="-1">
>>>>    <param name="Loop" value="-1">
>>>>    <param name="Quality" value="High">
>>>>    <param name="Menu" value="-1">
>>>>    <param name="Scale" value="ShowAll">
>>>>    <param name="DeviceFont" value="0">
>>>>    <param name="EmbedMovie" value="0">
>>>>    <param name="BGColor" value="FFFFFF">
>>>>    <param name="Stacking" value="below">
>>>>    <embed NAME="Sample" SRC="myfile.swf"
>>>>      WMODE="Window"
>>>>      PLAY="true"
>>>>      LOOP="true"
>>>>      QUALITY="high"
>>>>      BGCOLOR="#FFFFFF"
>>>>      SCALE="showall"
>>>>      WIDTH="100%"
>>>>      HEIGHT="100%"
>>>>      TYPE="application/x-shockwave-flash"
>>>>
>>>> PLUGINSPAGE="
>>>>
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>>>> ">
>>>> </OBJECT>
>>>>
>>>>
>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>>>>>>> If you want to upload like images that is one effort. Like provide the
>>>>>>> upload for swf files on the EditProductContent page, and store them.
>>>>>>> Also determine if the swf replaces the which of the Image files, like
> in
>>>>>>> the upload feature
>>>>>>>
>>>>>>> if you just want to ftp into the image folder the swf files that would
>>>>>>> be the easiest. then just put in the swf file name in the images
>>>> manually.
>>>>>>> have not researched if the rendering engine is file specific or if it
>>>>>>> will just put file in the EditProductContent image. you can give it a
>>>>>>> try and see.
>>>>>>>
>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>>>>> Hi all,
>>>>>>>> we want to embed flash-objects instead of the image in the product
>>>>>>>> detail view (in the ecommerce-module). For example to show a reading
>>>>>>>> rehearsal. But this has to be configurable, as the most products
> still
>>>>>>>> needs a normal image while some of them needs the flash-objects.
> Would
>>>>>>>> that be much work to realise.
>>>>>>>> Thanks for any advises.
>>>>>>>> with best regards,
>>>>>>>> Marco Westermann
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmcSWrP3NbaWWqE4RAr3VAKCvgIr0WAlOT/fv5VIxi7rjbpMQpACfTE+d
wJIhanzi4ksPgDu9ox4h2X8=
=jF5n
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Jacques Le Roux
Administrator
In reply to this post by Toddnick
No problems as long as you don't want to contribute it to Apache OFBiz

Jacques

From: "Todd Burdeinei" <[hidden email]>

> Wouldn't the license incompatibility only come into play if you try to
> redistribute those other libraries with ofbiz? You could write handlers and
> connections for them and everything short of actually shipping them with
> your code.
> What if you didn't intend to redistribute?
>
> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> the libraries licenses would have to be compatible with the apache license.
>> you still need a way to work within the ofbiz framework.
>>
>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>> > Flash movies can have a variety of information passed to them from the
>> > freemarker templates. You could create a 'master' flash movie and load
>> > components dynamically through the params for the swf file or through swf
>> > javascript handler. You can also wrap jpgs in a flash wrapper and load
>> them
>> > in dynamically as well.
>> > There are a variety of libraries for generating swf files from scratch
>> also.
>> >
>> > On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
>> wrote:
>> >
>> > come to think of it you would have to have the rendering engine add the
>> > support information for a swf file as well have parms in the
>> > EditProductContent that would be passed to the rendering engine.
>> > <OBJECT
>> >  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>> >
>> > CODEBASE="
>> >
>> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>> > "
>> >  ID="Sample"
>> >  WIDTH="400"
>> >  HEIGHT="300">
>> >    <param name="Movie" value="myfile.swf">
>> >    <param name="Src" value="myfile.swf">
>> >    <param name="WMode" value="Window">
>> >    <param name="Play" value="-1">
>> >    <param name="Loop" value="-1">
>> >    <param name="Quality" value="High">
>> >    <param name="Menu" value="-1">
>> >    <param name="Scale" value="ShowAll">
>> >    <param name="DeviceFont" value="0">
>> >    <param name="EmbedMovie" value="0">
>> >    <param name="BGColor" value="FFFFFF">
>> >    <param name="Stacking" value="below">
>> >    <embed NAME="Sample" SRC="myfile.swf"
>> >      WMODE="Window"
>> >      PLAY="true"
>> >      LOOP="true"
>> >      QUALITY="high"
>> >      BGCOLOR="#FFFFFF"
>> >      SCALE="showall"
>> >      WIDTH="100%"
>> >      HEIGHT="100%"
>> >      TYPE="application/x-shockwave-flash"
>> >
>> > PLUGINSPAGE="
>> >
>> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>> > ">
>> > </OBJECT>
>> >
>> >
>> > BJ Freeman sent the following on 2/16/2009 10:15 AM:
>> >>>>
>> >
>> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>> >>>> If you want to upload like images that is one effort. Like provide the
>> >>>> upload for swf files on the EditProductContent page, and store them.
>> >>>> Also determine if the swf replaces the which of the Image files, like
>> in
>> >>>> the upload feature
>> >>>>
>> >>>> if you just want to ftp into the image folder the swf files that would
>> >>>> be the easiest. then just put in the swf file name in the images
>> > manually.
>> >>>> have not researched if the rendering engine is file specific or if it
>> >>>> will just put file in the EditProductContent image. you can give it a
>> >>>> try and see.
>> >>>>
>> >>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>> >>>>> Hi all,
>> >>>>> we want to embed flash-objects instead of the image in the product
>> >>>>> detail view (in the ecommerce-module). For example to show a reading
>> >>>>> rehearsal. But this has to be configurable, as the most products
>> still
>> >>>>> needs a normal image while some of them needs the flash-objects.
>> Would
>> >>>>> that be much work to realise.
>> >>>>> Thanks for any advises.
>> >>>>> with best regards,
>> >>>>> Marco Westermann
>> >>>>
>> >>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJmcAfrP3NbaWWqE4RAie8AJ9JexEBdMFLGXXzCoaP4TbioscAzgCffpeH
>> G2e2yCl+hRcyVHsbomgRs7s=
>> =nd61
>> -----END PGP SIGNATURE-----
>>
>
>
>
> --
> Todd Burdeinei
> Web Developer
> Burdeinei Corp
> 702-259-3273 office / fax number
> 702-372-9920 cell
> [hidden email]
>

Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Toddnick
In reply to this post by BJ Freeman
As far as that goes- you could contribute, as long as you didn't try to
package your dependencies also. Like how we have configurations and support
for mysql, but don't include mysql in the ofbiz package. "For this part go
here" etc etc.

On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> you have a point.
> I always assume someone will contribute.
> :D
>
> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
> > Wouldn't the license incompatibility only come into play if you try to
> > redistribute those other libraries with ofbiz? You could write handlers
> and
> > connections for them and everything short of actually shipping them with
> > your code.
> > What if you didn't intend to redistribute?
> >
> > On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]>
> wrote:
> >
> > the libraries licenses would have to be compatible with the apache
> license.
> > you still need a way to work within the ofbiz framework.
> >
> > Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
> >>>> Flash movies can have a variety of information passed to them from the
> >>>> freemarker templates. You could create a 'master' flash movie and load
> >>>> components dynamically through the params for the swf file or through
> swf
> >>>> javascript handler. You can also wrap jpgs in a flash wrapper and load
> > them
> >>>> in dynamically as well.
> >>>> There are a variety of libraries for generating swf files from scratch
> > also.
> >>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
> > wrote:
> >>>> come to think of it you would have to have the rendering engine add
> the
> >>>> support information for a swf file as well have parms in the
> >>>> EditProductContent that would be passed to the rendering engine.
> >>>> <OBJECT
> >>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> >>>>
> >>>> CODEBASE="
> >>>>
> >
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> >>>> "
> >>>>  ID="Sample"
> >>>>  WIDTH="400"
> >>>>  HEIGHT="300">
> >>>>    <param name="Movie" value="myfile.swf">
> >>>>    <param name="Src" value="myfile.swf">
> >>>>    <param name="WMode" value="Window">
> >>>>    <param name="Play" value="-1">
> >>>>    <param name="Loop" value="-1">
> >>>>    <param name="Quality" value="High">
> >>>>    <param name="Menu" value="-1">
> >>>>    <param name="Scale" value="ShowAll">
> >>>>    <param name="DeviceFont" value="0">
> >>>>    <param name="EmbedMovie" value="0">
> >>>>    <param name="BGColor" value="FFFFFF">
> >>>>    <param name="Stacking" value="below">
> >>>>    <embed NAME="Sample" SRC="myfile.swf"
> >>>>      WMODE="Window"
> >>>>      PLAY="true"
> >>>>      LOOP="true"
> >>>>      QUALITY="high"
> >>>>      BGCOLOR="#FFFFFF"
> >>>>      SCALE="showall"
> >>>>      WIDTH="100%"
> >>>>      HEIGHT="100%"
> >>>>      TYPE="application/x-shockwave-flash"
> >>>>
> >>>> PLUGINSPAGE="
> >>>>
> >
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> >>>> ">
> >>>> </OBJECT>
> >>>>
> >>>>
> >>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
> >>>>>>> If you want to upload like images that is one effort. Like provide
> the
> >>>>>>> upload for swf files on the EditProductContent page, and store
> them.
> >>>>>>> Also determine if the swf replaces the which of the Image files,
> like
> > in
> >>>>>>> the upload feature
> >>>>>>>
> >>>>>>> if you just want to ftp into the image folder the swf files that
> would
> >>>>>>> be the easiest. then just put in the swf file name in the images
> >>>> manually.
> >>>>>>> have not researched if the rendering engine is file specific or if
> it
> >>>>>>> will just put file in the EditProductContent image. you can give it
> a
> >>>>>>> try and see.
> >>>>>>>
> >>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
> >>>>>>>> Hi all,
> >>>>>>>> we want to embed flash-objects instead of the image in the product
> >>>>>>>> detail view (in the ecommerce-module). For example to show a
> reading
> >>>>>>>> rehearsal. But this has to be configurable, as the most products
> > still
> >>>>>>>> needs a normal image while some of them needs the flash-objects.
> > Would
> >>>>>>>> that be much work to realise.
> >>>>>>>> Thanks for any advises.
> >>>>>>>> with best regards,
> >>>>>>>> Marco Westermann
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmcSWrP3NbaWWqE4RAr3VAKCvgIr0WAlOT/fv5VIxi7rjbpMQpACfTE+d
> wJIhanzi4ksPgDu9ox4h2X8=
> =jF5n
> -----END PGP SIGNATURE-----
>



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

would you say focusing on just compiled swf first then possibly
expanding would be a good path to follow?

Todd Burdeinei sent the following on 2/16/2009 12:10 PM:

> As far as that goes- you could contribute, as long as you didn't try to
> package your dependencies also. Like how we have configurations and support
> for mysql, but don't include mysql in the ofbiz package. "For this part go
> here" etc etc.
>
> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]> wrote:
>
> you have a point.
> I always assume someone will contribute.
> :D
>
> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
>>>> Wouldn't the license incompatibility only come into play if you try to
>>>> redistribute those other libraries with ofbiz? You could write handlers
> and
>>>> connections for them and everything short of actually shipping them with
>>>> your code.
>>>> What if you didn't intend to redistribute?
>>>>
>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]>
> wrote:
>>>> the libraries licenses would have to be compatible with the apache
> license.
>>>> you still need a way to work within the ofbiz framework.
>>>>
>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>>>>>>> Flash movies can have a variety of information passed to them from the
>>>>>>> freemarker templates. You could create a 'master' flash movie and load
>>>>>>> components dynamically through the params for the swf file or through
> swf
>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper and load
>>>> them
>>>>>>> in dynamically as well.
>>>>>>> There are a variety of libraries for generating swf files from scratch
>>>> also.
>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>>>> come to think of it you would have to have the rendering engine add
> the
>>>>>>> support information for a swf file as well have parms in the
>>>>>>> EditProductContent that would be passed to the rendering engine.
>>>>>>> <OBJECT
>>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>>>>
>>>>>>> CODEBASE="
>>>>>>>
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>>>>>>> "
>>>>>>>  ID="Sample"
>>>>>>>  WIDTH="400"
>>>>>>>  HEIGHT="300">
>>>>>>>    <param name="Movie" value="myfile.swf">
>>>>>>>    <param name="Src" value="myfile.swf">
>>>>>>>    <param name="WMode" value="Window">
>>>>>>>    <param name="Play" value="-1">
>>>>>>>    <param name="Loop" value="-1">
>>>>>>>    <param name="Quality" value="High">
>>>>>>>    <param name="Menu" value="-1">
>>>>>>>    <param name="Scale" value="ShowAll">
>>>>>>>    <param name="DeviceFont" value="0">
>>>>>>>    <param name="EmbedMovie" value="0">
>>>>>>>    <param name="BGColor" value="FFFFFF">
>>>>>>>    <param name="Stacking" value="below">
>>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
>>>>>>>      WMODE="Window"
>>>>>>>      PLAY="true"
>>>>>>>      LOOP="true"
>>>>>>>      QUALITY="high"
>>>>>>>      BGCOLOR="#FFFFFF"
>>>>>>>      SCALE="showall"
>>>>>>>      WIDTH="100%"
>>>>>>>      HEIGHT="100%"
>>>>>>>      TYPE="application/x-shockwave-flash"
>>>>>>>
>>>>>>> PLUGINSPAGE="
>>>>>>>
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>>>>>>> ">
>>>>>>> </OBJECT>
>>>>>>>
>>>>>>>
>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>>>>>>>>>> If you want to upload like images that is one effort. Like provide
> the
>>>>>>>>>> upload for swf files on the EditProductContent page, and store
> them.
>>>>>>>>>> Also determine if the swf replaces the which of the Image files,
> like
>>>> in
>>>>>>>>>> the upload feature
>>>>>>>>>>
>>>>>>>>>> if you just want to ftp into the image folder the swf files that
> would
>>>>>>>>>> be the easiest. then just put in the swf file name in the images
>>>>>>> manually.
>>>>>>>>>> have not researched if the rendering engine is file specific or if
> it
>>>>>>>>>> will just put file in the EditProductContent image. you can give it
> a
>>>>>>>>>> try and see.
>>>>>>>>>>
>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>>>>>>>> Hi all,
>>>>>>>>>>> we want to embed flash-objects instead of the image in the product
>>>>>>>>>>> detail view (in the ecommerce-module). For example to show a
> reading
>>>>>>>>>>> rehearsal. But this has to be configurable, as the most products
>>>> still
>>>>>>>>>>> needs a normal image while some of them needs the flash-objects.
>>>> Would
>>>>>>>>>>> that be much work to realise.
>>>>>>>>>>> Thanks for any advises.
>>>>>>>>>>> with best regards,
>>>>>>>>>>> Marco Westermann
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmdEgrP3NbaWWqE4RAoIUAKCo3cKxH0J5AwH6PcVJ5LZIVgq/5ACfRdqY
UEO8YxfyC28u34+mhWRbjMY=
=EkNK
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Toddnick
Yes- especially since most product catalogs will have a style guide of
specific brand related traits that can live locally in the same swf file for
all the products. Things like internally embedded fonts, images and
placement can all live in and get re-used by the same swf file. Swf files
can also call other swf files and xml files to get content. Since you can
also load mp3 and jpgs from the xml and flash wrappers, its unlikely that
you'd need to generate a swf from scratch
For most applications for catalog items you'd never really need to generate
the swf itself dynamically- even graphs and other vector based drawings can
be made from params passed in.

There are some tools out there for making graphs and dynamically generated
swfs, but the few I found were bsd or closed.



On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> would you say focusing on just compiled swf first then possibly
> expanding would be a good path to follow?
>
> Todd Burdeinei sent the following on 2/16/2009 12:10 PM:
> > As far as that goes- you could contribute, as long as you didn't try to
> > package your dependencies also. Like how we have configurations and
> support
> > for mysql, but don't include mysql in the ofbiz package. "For this part
> go
> > here" etc etc.
> >
> > On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]>
> wrote:
> >
> > you have a point.
> > I always assume someone will contribute.
> > :D
> >
> > Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
> >>>> Wouldn't the license incompatibility only come into play if you try to
> >>>> redistribute those other libraries with ofbiz? You could write
> handlers
> > and
> >>>> connections for them and everything short of actually shipping them
> with
> >>>> your code.
> >>>> What if you didn't intend to redistribute?
> >>>>
> >>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]>
> > wrote:
> >>>> the libraries licenses would have to be compatible with the apache
> > license.
> >>>> you still need a way to work within the ofbiz framework.
> >>>>
> >>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
> >>>>>>> Flash movies can have a variety of information passed to them from
> the
> >>>>>>> freemarker templates. You could create a 'master' flash movie and
> load
> >>>>>>> components dynamically through the params for the swf file or
> through
> > swf
> >>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper and
> load
> >>>> them
> >>>>>>> in dynamically as well.
> >>>>>>> There are a variety of libraries for generating swf files from
> scratch
> >>>> also.
> >>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman <[hidden email]>
> >>>> wrote:
> >>>>>>> come to think of it you would have to have the rendering engine add
> > the
> >>>>>>> support information for a swf file as well have parms in the
> >>>>>>> EditProductContent that would be passed to the rendering engine.
> >>>>>>> <OBJECT
> >>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> >>>>>>>
> >>>>>>> CODEBASE="
> >>>>>>>
> >
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> >>>>>>> "
> >>>>>>>  ID="Sample"
> >>>>>>>  WIDTH="400"
> >>>>>>>  HEIGHT="300">
> >>>>>>>    <param name="Movie" value="myfile.swf">
> >>>>>>>    <param name="Src" value="myfile.swf">
> >>>>>>>    <param name="WMode" value="Window">
> >>>>>>>    <param name="Play" value="-1">
> >>>>>>>    <param name="Loop" value="-1">
> >>>>>>>    <param name="Quality" value="High">
> >>>>>>>    <param name="Menu" value="-1">
> >>>>>>>    <param name="Scale" value="ShowAll">
> >>>>>>>    <param name="DeviceFont" value="0">
> >>>>>>>    <param name="EmbedMovie" value="0">
> >>>>>>>    <param name="BGColor" value="FFFFFF">
> >>>>>>>    <param name="Stacking" value="below">
> >>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
> >>>>>>>      WMODE="Window"
> >>>>>>>      PLAY="true"
> >>>>>>>      LOOP="true"
> >>>>>>>      QUALITY="high"
> >>>>>>>      BGCOLOR="#FFFFFF"
> >>>>>>>      SCALE="showall"
> >>>>>>>      WIDTH="100%"
> >>>>>>>      HEIGHT="100%"
> >>>>>>>      TYPE="application/x-shockwave-flash"
> >>>>>>>
> >>>>>>> PLUGINSPAGE="
> >>>>>>>
> >
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> >>>>>>> ">
> >>>>>>> </OBJECT>
> >>>>>>>
> >>>>>>>
> >>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
> >>>>>>>>>> If you want to upload like images that is one effort. Like
> provide
> > the
> >>>>>>>>>> upload for swf files on the EditProductContent page, and store
> > them.
> >>>>>>>>>> Also determine if the swf replaces the which of the Image files,
> > like
> >>>> in
> >>>>>>>>>> the upload feature
> >>>>>>>>>>
> >>>>>>>>>> if you just want to ftp into the image folder the swf files that
> > would
> >>>>>>>>>> be the easiest. then just put in the swf file name in the images
> >>>>>>> manually.
> >>>>>>>>>> have not researched if the rendering engine is file specific or
> if
> > it
> >>>>>>>>>> will just put file in the EditProductContent image. you can give
> it
> > a
> >>>>>>>>>> try and see.
> >>>>>>>>>>
> >>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
> >>>>>>>>>>> Hi all,
> >>>>>>>>>>> we want to embed flash-objects instead of the image in the
> product
> >>>>>>>>>>> detail view (in the ecommerce-module). For example to show a
> > reading
> >>>>>>>>>>> rehearsal. But this has to be configurable, as the most
> products
> >>>> still
> >>>>>>>>>>> needs a normal image while some of them needs the
> flash-objects.
> >>>> Would
> >>>>>>>>>>> that be much work to realise.
> >>>>>>>>>>> Thanks for any advises.
> >>>>>>>>>>> with best regards,
> >>>>>>>>>>> Marco Westermann
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmdEgrP3NbaWWqE4RAoIUAKCo3cKxH0J5AwH6PcVJ5LZIVgq/5ACfRdqY
> UEO8YxfyC28u34+mhWRbjMY=
> =EkNK
> -----END PGP SIGNATURE-----
>



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

MarWestermann
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

for your personal system that is a viable way.
but it will cost a client to have a new consultant to get familar with
you customization, like one user that posted here.
so think through the complete life cycle of the implementation.

Marco Westermann sent the following on 2/16/2009 1:56 PM:

> Hi,
>
> thanks for your answers, but you misunderstood the question a little bit
> I think (or I misanderstand your answers). I only wanted to include an
> existing flash object (which comes from a web ressource of the
> manufactures web page, for example embed the following lines of code
> instead of the image:
>
> <script type='text/javascript'
> src='http://www.bic-media.com/dmrs/js/widget/DMRWidget.js'></script>
> <script type='text/javascript'>try {new DMRWidget('9783481025038',
> 'skin=black,buyButton=no,download=no,lang=de');} catch (e) {}</script>
>
> but I think, I have already a suggestion:
>
> I changed the productdetail.ftl, so where the image is placed on the
> site, I decide wether to place the image or to include the appropriate
> flash-object via java script. As this has to be configurable I have to
> change the product configuration and add some new fields.
>
> By the way: As this is the first day evaluating OfBiz I was impressed,
> that I could manage these. So great work, folks.
>
> Thanks a lot.
>
> with best regards,
> Marco
>
> Todd Burdeinei schrieb:
>> Yes- especially since most product catalogs will have a style guide of
>> specific brand related traits that can live locally in the same swf
>> file for
>> all the products. Things like internally embedded fonts, images and
>> placement can all live in and get re-used by the same swf file. Swf files
>> can also call other swf files and xml files to get content. Since you can
>> also load mp3 and jpgs from the xml and flash wrappers, its unlikely that
>> you'd need to generate a swf from scratch
>> For most applications for catalog items you'd never really need to
>> generate
>> the swf itself dynamically- even graphs and other vector based
>> drawings can
>> be made from params passed in.
>>
>> There are some tools out there for making graphs and dynamically
>> generated
>> swfs, but the few I found were bsd or closed.
>>
>>
>>
>> On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[hidden email]> wrote:
>>
>>  
> would you say focusing on just compiled swf first then possibly
> expanding would be a good path to follow?
>
> Todd Burdeinei sent the following on 2/16/2009 12:10 PM:
>    
>>>>> As far as that goes- you could contribute, as long as you didn't try to
>>>>> package your dependencies also. Like how we have configurations and
>>>>>      
> support
>    
>>>>> for mysql, but don't include mysql in the ofbiz package. "For this part
>>>>>      
> go
>    
>>>>> here" etc etc.
>>>>>
>>>>> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]>
>>>>>      
> wrote:
>    
>>>>> you have a point.
>>>>> I always assume someone will contribute.
>>>>> :D
>>>>>
>>>>> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
>>>>>      
>>>>>>>> Wouldn't the license incompatibility only come into play if you
>>>>>>>> try to
>>>>>>>> redistribute those other libraries with ofbiz? You could write
>>>>>>>>            
> handlers
>    
>>>>> and
>>>>>      
>>>>>>>> connections for them and everything short of actually shipping them
>>>>>>>>            
> with
>    
>>>>>>>> your code.
>>>>>>>> What if you didn't intend to redistribute?
>>>>>>>>
>>>>>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]>
>>>>>>>>            
>>>>> wrote:
>>>>>      
>>>>>>>> the libraries licenses would have to be compatible with the apache
>>>>>>>>            
>>>>> license.
>>>>>      
>>>>>>>> you still need a way to work within the ofbiz framework.
>>>>>>>>
>>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>>>>>>>>            
>>>>>>>>>>> Flash movies can have a variety of information passed to them
>>>>>>>>>>> from
>>>>>>>>>>>                  
> the
>    
>>>>>>>>>>> freemarker templates. You could create a 'master' flash movie and
>>>>>>>>>>>                  
> load
>    
>>>>>>>>>>> components dynamically through the params for the swf file or
>>>>>>>>>>>                  
> through
>    
>>>>> swf
>>>>>      
>>>>>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper and
>>>>>>>>>>>                  
> load
>    
>>>>>>>> them
>>>>>>>>            
>>>>>>>>>>> in dynamically as well.
>>>>>>>>>>> There are a variety of libraries for generating swf files from
>>>>>>>>>>>                  
> scratch
>    
>>>>>>>> also.
>>>>>>>>            
>>>>>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman
>>>>>>>>>>> <[hidden email]>
>>>>>>>>>>>                  
>>>>>>>> wrote:
>>>>>>>>            
>>>>>>>>>>> come to think of it you would have to have the rendering
>>>>>>>>>>> engine add
>>>>>>>>>>>                  
>>>>> the
>>>>>      
>>>>>>>>>>> support information for a swf file as well have parms in the
>>>>>>>>>>> EditProductContent that would be passed to the rendering engine.
>>>>>>>>>>> <OBJECT
>>>>>>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>>>>>>>>
>>>>>>>>>>> CODEBASE="
>>>>>>>>>>>
>>>>>>>>>>>                  
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>
>    
>>>>>>>>>>> "
>>>>>>>>>>>  ID="Sample"
>>>>>>>>>>>  WIDTH="400"
>>>>>>>>>>>  HEIGHT="300">
>>>>>>>>>>>    <param name="Movie" value="myfile.swf">
>>>>>>>>>>>    <param name="Src" value="myfile.swf">
>>>>>>>>>>>    <param name="WMode" value="Window">
>>>>>>>>>>>    <param name="Play" value="-1">
>>>>>>>>>>>    <param name="Loop" value="-1">
>>>>>>>>>>>    <param name="Quality" value="High">
>>>>>>>>>>>    <param name="Menu" value="-1">
>>>>>>>>>>>    <param name="Scale" value="ShowAll">
>>>>>>>>>>>    <param name="DeviceFont" value="0">
>>>>>>>>>>>    <param name="EmbedMovie" value="0">
>>>>>>>>>>>    <param name="BGColor" value="FFFFFF">
>>>>>>>>>>>    <param name="Stacking" value="below">
>>>>>>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
>>>>>>>>>>>      WMODE="Window"
>>>>>>>>>>>      PLAY="true"
>>>>>>>>>>>      LOOP="true"
>>>>>>>>>>>      QUALITY="high"
>>>>>>>>>>>      BGCOLOR="#FFFFFF"
>>>>>>>>>>>      SCALE="showall"
>>>>>>>>>>>      WIDTH="100%"
>>>>>>>>>>>      HEIGHT="100%"
>>>>>>>>>>>      TYPE="application/x-shockwave-flash"
>>>>>>>>>>>
>>>>>>>>>>> PLUGINSPAGE="
>>>>>>>>>>>
>>>>>>>>>>>                  
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>
>    
>>>>>>>>>>> ">
>>>>>>>>>>> </OBJECT>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
>>>>>>>>>>>                  
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>
>    
>>>>>>>>>>>>>> If you want to upload like images that is one effort. Like
>>>>>>>>>>>>>>                        
> provide
>    
>>>>> the
>>>>>      
>>>>>>>>>>>>>> upload for swf files on the EditProductContent page, and store
>>>>>>>>>>>>>>                        
>>>>> them.
>>>>>      
>>>>>>>>>>>>>> Also determine if the swf replaces the which of the Image
>>>>>>>>>>>>>> files,
>>>>>>>>>>>>>>                        
>>>>> like
>>>>>      
>>>>>>>> in
>>>>>>>>            
>>>>>>>>>>>>>> the upload feature
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> if you just want to ftp into the image folder the swf files
>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>                        
>>>>> would
>>>>>      
>>>>>>>>>>>>>> be the easiest. then just put in the swf file name in the
>>>>>>>>>>>>>> images
>>>>>>>>>>>>>>                        
>>>>>>>>>>> manually.
>>>>>>>>>>>                  
>>>>>>>>>>>>>> have not researched if the rendering engine is file
>>>>>>>>>>>>>> specific or
>>>>>>>>>>>>>>                        
> if
>    
>>>>> it
>>>>>      
>>>>>>>>>>>>>> will just put file in the EditProductContent image. you can
>>>>>>>>>>>>>> give
>>>>>>>>>>>>>>                        
> it
>    
>>>>> a
>>>>>      
>>>>>>>>>>>>>> try and see.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>>>>>>>>>>>                        
>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>> we want to embed flash-objects instead of the image in the
>>>>>>>>>>>>>>>                          
> product
>    
>>>>>>>>>>>>>>> detail view (in the ecommerce-module). For example to show a
>>>>>>>>>>>>>>>                          
>>>>> reading
>>>>>      
>>>>>>>>>>>>>>> rehearsal. But this has to be configurable, as the most
>>>>>>>>>>>>>>>                          
> products
>    
>>>>>>>> still
>>>>>>>>            
>>>>>>>>>>>>>>> needs a normal image while some of them needs the
>>>>>>>>>>>>>>>                          
> flash-objects.
>    
>>>>>>>> Would
>>>>>>>>            
>>>>>>>>>>>>>>> that be much work to realise.
>>>>>>>>>>>>>>> Thanks for any advises.
>>>>>>>>>>>>>>> with best regards,
>>>>>>>>>>>>>>> Marco Westermann
>>>>>>>>>>>>>>>                          
>>>

>>
>>
>>
>>  


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmeSPrP3NbaWWqE4RAvA5AKCMoZLPr1uvIphGe6TzXE8C1hOzvwCfY4AH
/gPm/fV+dev/0IH9mVKA8n8=
=PT1Y
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

Toddnick
BJ, what if I made an *.fla source file and included its compiled code- the
swf. For example- an embedded flash player for mp3's that could be purchased
as a digital item. I'd also put comments in the fla code explaining how to
pass some basic params through the freemarker template into it.
Would you want to / be able to include this in ofbiz? You would need to have
Flash to compile it- or use it as is by changing the xml mp3 list file and
sample mp3.

Can it be apache licensed since its source file is also given? (the fla)

On Mon, Feb 16, 2009 at 2:11 PM, BJ Freeman <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> for your personal system that is a viable way.
> but it will cost a client to have a new consultant to get familar with
> you customization, like one user that posted here.
> so think through the complete life cycle of the implementation.
>
> Marco Westermann sent the following on 2/16/2009 1:56 PM:
> > Hi,
> >
> > thanks for your answers, but you misunderstood the question a little bit
> > I think (or I misanderstand your answers). I only wanted to include an
> > existing flash object (which comes from a web ressource of the
> > manufactures web page, for example embed the following lines of code
> > instead of the image:
> >
> > <script type='text/javascript'
> > src='http://www.bic-media.com/dmrs/js/widget/DMRWidget.js'></script>
> > <script type='text/javascript'>try {new DMRWidget('9783481025038',
> > 'skin=black,buyButton=no,download=no,lang=de');} catch (e) {}</script>
> >
> > but I think, I have already a suggestion:
> >
> > I changed the productdetail.ftl, so where the image is placed on the
> > site, I decide wether to place the image or to include the appropriate
> > flash-object via java script. As this has to be configurable I have to
> > change the product configuration and add some new fields.
> >
> > By the way: As this is the first day evaluating OfBiz I was impressed,
> > that I could manage these. So great work, folks.
> >
> > Thanks a lot.
> >
> > with best regards,
> > Marco
> >
> > Todd Burdeinei schrieb:
> >> Yes- especially since most product catalogs will have a style guide of
> >> specific brand related traits that can live locally in the same swf
> >> file for
> >> all the products. Things like internally embedded fonts, images and
> >> placement can all live in and get re-used by the same swf file. Swf
> files
> >> can also call other swf files and xml files to get content. Since you
> can
> >> also load mp3 and jpgs from the xml and flash wrappers, its unlikely
> that
> >> you'd need to generate a swf from scratch
> >> For most applications for catalog items you'd never really need to
> >> generate
> >> the swf itself dynamically- even graphs and other vector based
> >> drawings can
> >> be made from params passed in.
> >>
> >> There are some tools out there for making graphs and dynamically
> >> generated
> >> swfs, but the few I found were bsd or closed.
> >>
> >>
> >>
> >> On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[hidden email]>
> wrote:
> >>
> >>
> > would you say focusing on just compiled swf first then possibly
> > expanding would be a good path to follow?
> >
> > Todd Burdeinei sent the following on 2/16/2009 12:10 PM:
> >
> >>>>> As far as that goes- you could contribute, as long as you didn't try
> to
> >>>>> package your dependencies also. Like how we have configurations and
> >>>>>
> > support
> >
> >>>>> for mysql, but don't include mysql in the ofbiz package. "For this
> part
> >>>>>
> > go
> >
> >>>>> here" etc etc.
> >>>>>
> >>>>> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]>
> >>>>>
> > wrote:
> >
> >>>>> you have a point.
> >>>>> I always assume someone will contribute.
> >>>>> :D
> >>>>>
> >>>>> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
> >>>>>
> >>>>>>>> Wouldn't the license incompatibility only come into play if you
> >>>>>>>> try to
> >>>>>>>> redistribute those other libraries with ofbiz? You could write
> >>>>>>>>
> > handlers
> >
> >>>>> and
> >>>>>
> >>>>>>>> connections for them and everything short of actually shipping
> them
> >>>>>>>>
> > with
> >
> >>>>>>>> your code.
> >>>>>>>> What if you didn't intend to redistribute?
> >>>>>>>>
> >>>>>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]
> >
> >>>>>>>>
> >>>>> wrote:
> >>>>>
> >>>>>>>> the libraries licenses would have to be compatible with the apache
> >>>>>>>>
> >>>>> license.
> >>>>>
> >>>>>>>> you still need a way to work within the ofbiz framework.
> >>>>>>>>
> >>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
> >>>>>>>>
> >>>>>>>>>>> Flash movies can have a variety of information passed to them
> >>>>>>>>>>> from
> >>>>>>>>>>>
> > the
> >
> >>>>>>>>>>> freemarker templates. You could create a 'master' flash movie
> and
> >>>>>>>>>>>
> > load
> >
> >>>>>>>>>>> components dynamically through the params for the swf file or
> >>>>>>>>>>>
> > through
> >
> >>>>> swf
> >>>>>
> >>>>>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper
> and
> >>>>>>>>>>>
> > load
> >
> >>>>>>>> them
> >>>>>>>>
> >>>>>>>>>>> in dynamically as well.
> >>>>>>>>>>> There are a variety of libraries for generating swf files from
> >>>>>>>>>>>
> > scratch
> >
> >>>>>>>> also.
> >>>>>>>>
> >>>>>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman
> >>>>>>>>>>> <[hidden email]>
> >>>>>>>>>>>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>>>> come to think of it you would have to have the rendering
> >>>>>>>>>>> engine add
> >>>>>>>>>>>
> >>>>> the
> >>>>>
> >>>>>>>>>>> support information for a swf file as well have parms in the
> >>>>>>>>>>> EditProductContent that would be passed to the rendering
> engine.
> >>>>>>>>>>> <OBJECT
> >>>>>>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> >>>>>>>>>>>
> >>>>>>>>>>> CODEBASE="
> >>>>>>>>>>>
> >>>>>>>>>>>
> >
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
> >
> >
> >>>>>>>>>>> "
> >>>>>>>>>>>  ID="Sample"
> >>>>>>>>>>>  WIDTH="400"
> >>>>>>>>>>>  HEIGHT="300">
> >>>>>>>>>>>    <param name="Movie" value="myfile.swf">
> >>>>>>>>>>>    <param name="Src" value="myfile.swf">
> >>>>>>>>>>>    <param name="WMode" value="Window">
> >>>>>>>>>>>    <param name="Play" value="-1">
> >>>>>>>>>>>    <param name="Loop" value="-1">
> >>>>>>>>>>>    <param name="Quality" value="High">
> >>>>>>>>>>>    <param name="Menu" value="-1">
> >>>>>>>>>>>    <param name="Scale" value="ShowAll">
> >>>>>>>>>>>    <param name="DeviceFont" value="0">
> >>>>>>>>>>>    <param name="EmbedMovie" value="0">
> >>>>>>>>>>>    <param name="BGColor" value="FFFFFF">
> >>>>>>>>>>>    <param name="Stacking" value="below">
> >>>>>>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
> >>>>>>>>>>>      WMODE="Window"
> >>>>>>>>>>>      PLAY="true"
> >>>>>>>>>>>      LOOP="true"
> >>>>>>>>>>>      QUALITY="high"
> >>>>>>>>>>>      BGCOLOR="#FFFFFF"
> >>>>>>>>>>>      SCALE="showall"
> >>>>>>>>>>>      WIDTH="100%"
> >>>>>>>>>>>      HEIGHT="100%"
> >>>>>>>>>>>      TYPE="application/x-shockwave-flash"
> >>>>>>>>>>>
> >>>>>>>>>>> PLUGINSPAGE="
> >>>>>>>>>>>
> >>>>>>>>>>>
> >
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
> >
> >
> >>>>>>>>>>> ">
> >>>>>>>>>>> </OBJECT>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
> >>>>>>>>>>>
> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
> >
> >
> >>>>>>>>>>>>>> If you want to upload like images that is one effort. Like
> >>>>>>>>>>>>>>
> > provide
> >
> >>>>> the
> >>>>>
> >>>>>>>>>>>>>> upload for swf files on the EditProductContent page, and
> store
> >>>>>>>>>>>>>>
> >>>>> them.
> >>>>>
> >>>>>>>>>>>>>> Also determine if the swf replaces the which of the Image
> >>>>>>>>>>>>>> files,
> >>>>>>>>>>>>>>
> >>>>> like
> >>>>>
> >>>>>>>> in
> >>>>>>>>
> >>>>>>>>>>>>>> the upload feature
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> if you just want to ftp into the image folder the swf files
> >>>>>>>>>>>>>> that
> >>>>>>>>>>>>>>
> >>>>> would
> >>>>>
> >>>>>>>>>>>>>> be the easiest. then just put in the swf file name in the
> >>>>>>>>>>>>>> images
> >>>>>>>>>>>>>>
> >>>>>>>>>>> manually.
> >>>>>>>>>>>
> >>>>>>>>>>>>>> have not researched if the rendering engine is file
> >>>>>>>>>>>>>> specific or
> >>>>>>>>>>>>>>
> > if
> >
> >>>>> it
> >>>>>
> >>>>>>>>>>>>>> will just put file in the EditProductContent image. you can
> >>>>>>>>>>>>>> give
> >>>>>>>>>>>>>>
> > it
> >
> >>>>> a
> >>>>>
> >>>>>>>>>>>>>> try and see.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Hi all,
> >>>>>>>>>>>>>>> we want to embed flash-objects instead of the image in the
> >>>>>>>>>>>>>>>
> > product
> >
> >>>>>>>>>>>>>>> detail view (in the ecommerce-module). For example to show
> a
> >>>>>>>>>>>>>>>
> >>>>> reading
> >>>>>
> >>>>>>>>>>>>>>> rehearsal. But this has to be configurable, as the most
> >>>>>>>>>>>>>>>
> > products
> >
> >>>>>>>> still
> >>>>>>>>
> >>>>>>>>>>>>>>> needs a normal image while some of them needs the
> >>>>>>>>>>>>>>>
> > flash-objects.
> >
> >>>>>>>> Would
> >>>>>>>>
> >>>>>>>>>>>>>>> that be much work to realise.
> >>>>>>>>>>>>>>> Thanks for any advises.
> >>>>>>>>>>>>>>> with best regards,
> >>>>>>>>>>>>>>> Marco Westermann
> >>>>>>>>>>>>>>>
> >>>
>
> >>
> >>
> >>
> >>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmeSPrP3NbaWWqE4RAvA5AKCMoZLPr1uvIphGe6TzXE8C1hOzvwCfY4AH
> /gPm/fV+dev/0IH9mVKA8n8=
> =PT1Y
> -----END PGP SIGNATURE-----
>



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd:
my original suggestion is the quickest and follows the model.
it is up a level from your suggestion.
This way no user has to know about coding.
For you, to implement the way I suggest, it would probably mean
extending an entity or creating a new one, to store the parameters,
updating EditProductContent and create a method to render the flash with
it parameters.
you can put in a url in the EditProductContent  that can be used for
external sources, like grabbing it from another site if the URL includes
a Http:// and add a method to use the appropriate parameters.
Some one can always then write an fla file compile externally and put it
in ofbiz, for fancy stuff.

atleast that is my 2 cents, but not the only way to do it.


Todd Burdeinei sent the following on 2/16/2009 2:33 PM:

> BJ, what if I made an *.fla source file and included its compiled code- the
> swf. For example- an embedded flash player for mp3's that could be purchased
> as a digital item. I'd also put comments in the fla code explaining how to
> pass some basic params through the freemarker template into it.
> Would you want to / be able to include this in ofbiz? You would need to have
> Flash to compile it- or use it as is by changing the xml mp3 list file and
> sample mp3.
>
> Can it be apache licensed since its source file is also given? (the fla)
>
> On Mon, Feb 16, 2009 at 2:11 PM, BJ Freeman <[hidden email]> wrote:
>
> for your personal system that is a viable way.
> but it will cost a client to have a new consultant to get familar with
> you customization, like one user that posted here.
> so think through the complete life cycle of the implementation.
>
> Marco Westermann sent the following on 2/16/2009 1:56 PM:
>>>> Hi,
>>>>
>>>> thanks for your answers, but you misunderstood the question a little bit
>>>> I think (or I misanderstand your answers). I only wanted to include an
>>>> existing flash object (which comes from a web ressource of the
>>>> manufactures web page, for example embed the following lines of code
>>>> instead of the image:
>>>>
>>>> <script type='text/javascript'
>>>> src='http://www.bic-media.com/dmrs/js/widget/DMRWidget.js'></script>
>>>> <script type='text/javascript'>try {new DMRWidget('9783481025038',
>>>> 'skin=black,buyButton=no,download=no,lang=de');} catch (e) {}</script>
>>>>
>>>> but I think, I have already a suggestion:
>>>>
>>>> I changed the productdetail.ftl, so where the image is placed on the
>>>> site, I decide wether to place the image or to include the appropriate
>>>> flash-object via java script. As this has to be configurable I have to
>>>> change the product configuration and add some new fields.
>>>>
>>>> By the way: As this is the first day evaluating OfBiz I was impressed,
>>>> that I could manage these. So great work, folks.
>>>>
>>>> Thanks a lot.
>>>>
>>>> with best regards,
>>>> Marco
>>>>
>>>> Todd Burdeinei schrieb:
>>>>> Yes- especially since most product catalogs will have a style guide of
>>>>> specific brand related traits that can live locally in the same swf
>>>>> file for
>>>>> all the products. Things like internally embedded fonts, images and
>>>>> placement can all live in and get re-used by the same swf file. Swf
> files
>>>>> can also call other swf files and xml files to get content. Since you
> can
>>>>> also load mp3 and jpgs from the xml and flash wrappers, its unlikely
> that
>>>>> you'd need to generate a swf from scratch
>>>>> For most applications for catalog items you'd never really need to
>>>>> generate
>>>>> the swf itself dynamically- even graphs and other vector based
>>>>> drawings can
>>>>> be made from params passed in.
>>>>>
>>>>> There are some tools out there for making graphs and dynamically
>>>>> generated
>>>>> swfs, but the few I found were bsd or closed.
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[hidden email]>
> wrote:
>>>>>
>>>> would you say focusing on just compiled swf first then possibly
>>>> expanding would be a good path to follow?
>>>>
>>>> Todd Burdeinei sent the following on 2/16/2009 12:10 PM:
>>>>
>>>>>>>> As far as that goes- you could contribute, as long as you didn't try
> to
>>>>>>>> package your dependencies also. Like how we have configurations and
>>>>>>>>
>>>> support
>>>>
>>>>>>>> for mysql, but don't include mysql in the ofbiz package. "For this
> part
>>>> go
>>>>
>>>>>>>> here" etc etc.
>>>>>>>>
>>>>>>>> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]>
>>>>>>>>
>>>> wrote:
>>>>
>>>>>>>> you have a point.
>>>>>>>> I always assume someone will contribute.
>>>>>>>> :D
>>>>>>>>
>>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
>>>>>>>>
>>>>>>>>>>> Wouldn't the license incompatibility only come into play if you
>>>>>>>>>>> try to
>>>>>>>>>>> redistribute those other libraries with ofbiz? You could write
>>>>>>>>>>>
>>>> handlers
>>>>
>>>>>>>> and
>>>>>>>>
>>>>>>>>>>> connections for them and everything short of actually shipping
> them
>>>> with
>>>>
>>>>>>>>>>> your code.
>>>>>>>>>>> What if you didn't intend to redistribute?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>>>> the libraries licenses would have to be compatible with the apache
>>>>>>>>>>>
>>>>>>>> license.
>>>>>>>>
>>>>>>>>>>> you still need a way to work within the ofbiz framework.
>>>>>>>>>>>
>>>>>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>>>>>>>>>>>
>>>>>>>>>>>>>> Flash movies can have a variety of information passed to them
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>
>>>> the
>>>>
>>>>>>>>>>>>>> freemarker templates. You could create a 'master' flash movie
> and
>>>> load
>>>>
>>>>>>>>>>>>>> components dynamically through the params for the swf file or
>>>>>>>>>>>>>>
>>>> through
>>>>
>>>>>>>> swf
>>>>>>>>
>>>>>>>>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper
> and
>>>> load
>>>>
>>>>>>>>>>> them
>>>>>>>>>>>
>>>>>>>>>>>>>> in dynamically as well.
>>>>>>>>>>>>>> There are a variety of libraries for generating swf files from
>>>>>>>>>>>>>>
>>>> scratch
>>>>
>>>>>>>>>>> also.
>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman
>>>>>>>>>>>>>> <[hidden email]>
>>>>>>>>>>>>>>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>>> come to think of it you would have to have the rendering
>>>>>>>>>>>>>> engine add
>>>>>>>>>>>>>>
>>>>>>>> the
>>>>>>>>
>>>>>>>>>>>>>> support information for a swf file as well have parms in the
>>>>>>>>>>>>>> EditProductContent that would be passed to the rendering
> engine.
>>>>>>>>>>>>>> <OBJECT
>>>>>>>>>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> CODEBASE="
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>>>>
>>>>>>>>>>>>>> "
>>>>>>>>>>>>>>  ID="Sample"
>>>>>>>>>>>>>>  WIDTH="400"
>>>>>>>>>>>>>>  HEIGHT="300">
>>>>>>>>>>>>>>    <param name="Movie" value="myfile.swf">
>>>>>>>>>>>>>>    <param name="Src" value="myfile.swf">
>>>>>>>>>>>>>>    <param name="WMode" value="Window">
>>>>>>>>>>>>>>    <param name="Play" value="-1">
>>>>>>>>>>>>>>    <param name="Loop" value="-1">
>>>>>>>>>>>>>>    <param name="Quality" value="High">
>>>>>>>>>>>>>>    <param name="Menu" value="-1">
>>>>>>>>>>>>>>    <param name="Scale" value="ShowAll">
>>>>>>>>>>>>>>    <param name="DeviceFont" value="0">
>>>>>>>>>>>>>>    <param name="EmbedMovie" value="0">
>>>>>>>>>>>>>>    <param name="BGColor" value="FFFFFF">
>>>>>>>>>>>>>>    <param name="Stacking" value="below">
>>>>>>>>>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
>>>>>>>>>>>>>>      WMODE="Window"
>>>>>>>>>>>>>>      PLAY="true"
>>>>>>>>>>>>>>      LOOP="true"
>>>>>>>>>>>>>>      QUALITY="high"
>>>>>>>>>>>>>>      BGCOLOR="#FFFFFF"
>>>>>>>>>>>>>>      SCALE="showall"
>>>>>>>>>>>>>>      WIDTH="100%"
>>>>>>>>>>>>>>      HEIGHT="100%"
>>>>>>>>>>>>>>      TYPE="application/x-shockwave-flash"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> PLUGINSPAGE="
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>>>>
>>>>>>>>>>>>>> ">
>>>>>>>>>>>>>> </OBJECT>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
>>>>>>>>>>>>>>
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>>>>
>>>>>>>>>>>>>>>>> If you want to upload like images that is one effort. Like
>>>>>>>>>>>>>>>>>
>>>> provide
>>>>
>>>>>>>> the
>>>>>>>>
>>>>>>>>>>>>>>>>> upload for swf files on the EditProductContent page, and
> store
>>>>>>>> them.
>>>>>>>>
>>>>>>>>>>>>>>>>> Also determine if the swf replaces the which of the Image
>>>>>>>>>>>>>>>>> files,
>>>>>>>>>>>>>>>>>
>>>>>>>> like
>>>>>>>>
>>>>>>>>>>> in
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> the upload feature
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> if you just want to ftp into the image folder the swf files
>>>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>>
>>>>>>>> would
>>>>>>>>
>>>>>>>>>>>>>>>>> be the easiest. then just put in the swf file name in the
>>>>>>>>>>>>>>>>> images
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> manually.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> have not researched if the rendering engine is file
>>>>>>>>>>>>>>>>> specific or
>>>>>>>>>>>>>>>>>
>>>> if
>>>>
>>>>>>>> it
>>>>>>>>
>>>>>>>>>>>>>>>>> will just put file in the EditProductContent image. you can
>>>>>>>>>>>>>>>>> give
>>>>>>>>>>>>>>>>>
>>>> it
>>>>
>>>>>>>> a
>>>>>>>>
>>>>>>>>>>>>>>>>> try and see.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>> we want to embed flash-objects instead of the image in the
>>>>>>>>>>>>>>>>>>
>>>> product
>>>>
>>>>>>>>>>>>>>>>>> detail view (in the ecommerce-module). For example to show
> a
>>>>>>>> reading
>>>>>>>>
>>>>>>>>>>>>>>>>>> rehearsal. But this has to be configurable, as the most
>>>>>>>>>>>>>>>>>>
>>>> products
>>>>
>>>>>>>>>>> still
>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> needs a normal image while some of them needs the
>>>>>>>>>>>>>>>>>>
>>>> flash-objects.
>>>>
>>>>>>>>>>> Would
>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> that be much work to realise.
>>>>>>>>>>>>>>>>>> Thanks for any advises.
>>>>>>>>>>>>>>>>>> with best regards,
>>>>>>>>>>>>>>>>>> Marco Westermann
>>>>>>>>>>>>>>>>>>
>>>>>
>>>>>
>>>>>
>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmfaIrP3NbaWWqE4RAlVYAJsGjDClkxjt4aZXRfwLeIFjmfiv4QCfWC/n
PCSL8+T7aLbMIdj0gzNILu4=
=VMrY
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

BJ Freeman
In reply to this post by Toddnick
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

one other possibility if all the parms can be fixed or generated from
the current model, is use a FlsTemplate.ftl
it would have all the parms based on what ever you want.
so the only real varible would be the location of the "image"
so if you put a fls file in the picture you file would be called to
display the flash.

Todd Burdeinei sent the following on 2/16/2009 2:33 PM:

> BJ, what if I made an *.fla source file and included its compiled code- the
> swf. For example- an embedded flash player for mp3's that could be purchased
> as a digital item. I'd also put comments in the fla code explaining how to
> pass some basic params through the freemarker template into it.
> Would you want to / be able to include this in ofbiz? You would need to have
> Flash to compile it- or use it as is by changing the xml mp3 list file and
> sample mp3.
>
> Can it be apache licensed since its source file is also given? (the fla)
>
> On Mon, Feb 16, 2009 at 2:11 PM, BJ Freeman <[hidden email]> wrote:
>
> for your personal system that is a viable way.
> but it will cost a client to have a new consultant to get familar with
> you customization, like one user that posted here.
> so think through the complete life cycle of the implementation.
>
> Marco Westermann sent the following on 2/16/2009 1:56 PM:
>>>> Hi,
>>>>
>>>> thanks for your answers, but you misunderstood the question a little bit
>>>> I think (or I misanderstand your answers). I only wanted to include an
>>>> existing flash object (which comes from a web ressource of the
>>>> manufactures web page, for example embed the following lines of code
>>>> instead of the image:
>>>>
>>>> <script type='text/javascript'
>>>> src='http://www.bic-media.com/dmrs/js/widget/DMRWidget.js'></script>
>>>> <script type='text/javascript'>try {new DMRWidget('9783481025038',
>>>> 'skin=black,buyButton=no,download=no,lang=de');} catch (e) {}</script>
>>>>
>>>> but I think, I have already a suggestion:
>>>>
>>>> I changed the productdetail.ftl, so where the image is placed on the
>>>> site, I decide wether to place the image or to include the appropriate
>>>> flash-object via java script. As this has to be configurable I have to
>>>> change the product configuration and add some new fields.
>>>>
>>>> By the way: As this is the first day evaluating OfBiz I was impressed,
>>>> that I could manage these. So great work, folks.
>>>>
>>>> Thanks a lot.
>>>>
>>>> with best regards,
>>>> Marco
>>>>
>>>> Todd Burdeinei schrieb:
>>>>> Yes- especially since most product catalogs will have a style guide of
>>>>> specific brand related traits that can live locally in the same swf
>>>>> file for
>>>>> all the products. Things like internally embedded fonts, images and
>>>>> placement can all live in and get re-used by the same swf file. Swf
> files
>>>>> can also call other swf files and xml files to get content. Since you
> can
>>>>> also load mp3 and jpgs from the xml and flash wrappers, its unlikely
> that
>>>>> you'd need to generate a swf from scratch
>>>>> For most applications for catalog items you'd never really need to
>>>>> generate
>>>>> the swf itself dynamically- even graphs and other vector based
>>>>> drawings can
>>>>> be made from params passed in.
>>>>>
>>>>> There are some tools out there for making graphs and dynamically
>>>>> generated
>>>>> swfs, but the few I found were bsd or closed.
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[hidden email]>
> wrote:
>>>>>
>>>> would you say focusing on just compiled swf first then possibly
>>>> expanding would be a good path to follow?
>>>>
>>>> Todd Burdeinei sent the following on 2/16/2009 12:10 PM:
>>>>
>>>>>>>> As far as that goes- you could contribute, as long as you didn't try
> to
>>>>>>>> package your dependencies also. Like how we have configurations and
>>>>>>>>
>>>> support
>>>>
>>>>>>>> for mysql, but don't include mysql in the ofbiz package. "For this
> part
>>>> go
>>>>
>>>>>>>> here" etc etc.
>>>>>>>>
>>>>>>>> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[hidden email]>
>>>>>>>>
>>>> wrote:
>>>>
>>>>>>>> you have a point.
>>>>>>>> I always assume someone will contribute.
>>>>>>>> :D
>>>>>>>>
>>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:46 AM:
>>>>>>>>
>>>>>>>>>>> Wouldn't the license incompatibility only come into play if you
>>>>>>>>>>> try to
>>>>>>>>>>> redistribute those other libraries with ofbiz? You could write
>>>>>>>>>>>
>>>> handlers
>>>>
>>>>>>>> and
>>>>>>>>
>>>>>>>>>>> connections for them and everything short of actually shipping
> them
>>>> with
>>>>
>>>>>>>>>>> your code.
>>>>>>>>>>> What if you didn't intend to redistribute?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[hidden email]
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>>>> the libraries licenses would have to be compatible with the apache
>>>>>>>>>>>
>>>>>>>> license.
>>>>>>>>
>>>>>>>>>>> you still need a way to work within the ofbiz framework.
>>>>>>>>>>>
>>>>>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM:
>>>>>>>>>>>
>>>>>>>>>>>>>> Flash movies can have a variety of information passed to them
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>
>>>> the
>>>>
>>>>>>>>>>>>>> freemarker templates. You could create a 'master' flash movie
> and
>>>> load
>>>>
>>>>>>>>>>>>>> components dynamically through the params for the swf file or
>>>>>>>>>>>>>>
>>>> through
>>>>
>>>>>>>> swf
>>>>>>>>
>>>>>>>>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper
> and
>>>> load
>>>>
>>>>>>>>>>> them
>>>>>>>>>>>
>>>>>>>>>>>>>> in dynamically as well.
>>>>>>>>>>>>>> There are a variety of libraries for generating swf files from
>>>>>>>>>>>>>>
>>>> scratch
>>>>
>>>>>>>>>>> also.
>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman
>>>>>>>>>>>>>> <[hidden email]>
>>>>>>>>>>>>>>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>>> come to think of it you would have to have the rendering
>>>>>>>>>>>>>> engine add
>>>>>>>>>>>>>>
>>>>>>>> the
>>>>>>>>
>>>>>>>>>>>>>> support information for a swf file as well have parms in the
>>>>>>>>>>>>>> EditProductContent that would be passed to the rendering
> engine.
>>>>>>>>>>>>>> <OBJECT
>>>>>>>>>>>>>>  CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> CODEBASE="
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0
>>>>
>>>>>>>>>>>>>> "
>>>>>>>>>>>>>>  ID="Sample"
>>>>>>>>>>>>>>  WIDTH="400"
>>>>>>>>>>>>>>  HEIGHT="300">
>>>>>>>>>>>>>>    <param name="Movie" value="myfile.swf">
>>>>>>>>>>>>>>    <param name="Src" value="myfile.swf">
>>>>>>>>>>>>>>    <param name="WMode" value="Window">
>>>>>>>>>>>>>>    <param name="Play" value="-1">
>>>>>>>>>>>>>>    <param name="Loop" value="-1">
>>>>>>>>>>>>>>    <param name="Quality" value="High">
>>>>>>>>>>>>>>    <param name="Menu" value="-1">
>>>>>>>>>>>>>>    <param name="Scale" value="ShowAll">
>>>>>>>>>>>>>>    <param name="DeviceFont" value="0">
>>>>>>>>>>>>>>    <param name="EmbedMovie" value="0">
>>>>>>>>>>>>>>    <param name="BGColor" value="FFFFFF">
>>>>>>>>>>>>>>    <param name="Stacking" value="below">
>>>>>>>>>>>>>>    <embed NAME="Sample" SRC="myfile.swf"
>>>>>>>>>>>>>>      WMODE="Window"
>>>>>>>>>>>>>>      PLAY="true"
>>>>>>>>>>>>>>      LOOP="true"
>>>>>>>>>>>>>>      QUALITY="high"
>>>>>>>>>>>>>>      BGCOLOR="#FFFFFF"
>>>>>>>>>>>>>>      SCALE="showall"
>>>>>>>>>>>>>>      WIDTH="100%"
>>>>>>>>>>>>>>      HEIGHT="100%"
>>>>>>>>>>>>>>      TYPE="application/x-shockwave-flash"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> PLUGINSPAGE="
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash
>>>>
>>>>>>>>>>>>>> ">
>>>>>>>>>>>>>> </OBJECT>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM:
>>>>>>>>>>>>>>
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943
>>>>
>>>>>>>>>>>>>>>>> If you want to upload like images that is one effort. Like
>>>>>>>>>>>>>>>>>
>>>> provide
>>>>
>>>>>>>> the
>>>>>>>>
>>>>>>>>>>>>>>>>> upload for swf files on the EditProductContent page, and
> store
>>>>>>>> them.
>>>>>>>>
>>>>>>>>>>>>>>>>> Also determine if the swf replaces the which of the Image
>>>>>>>>>>>>>>>>> files,
>>>>>>>>>>>>>>>>>
>>>>>>>> like
>>>>>>>>
>>>>>>>>>>> in
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> the upload feature
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> if you just want to ftp into the image folder the swf files
>>>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>>
>>>>>>>> would
>>>>>>>>
>>>>>>>>>>>>>>>>> be the easiest. then just put in the swf file name in the
>>>>>>>>>>>>>>>>> images
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> manually.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> have not researched if the rendering engine is file
>>>>>>>>>>>>>>>>> specific or
>>>>>>>>>>>>>>>>>
>>>> if
>>>>
>>>>>>>> it
>>>>>>>>
>>>>>>>>>>>>>>>>> will just put file in the EditProductContent image. you can
>>>>>>>>>>>>>>>>> give
>>>>>>>>>>>>>>>>>
>>>> it
>>>>
>>>>>>>> a
>>>>>>>>
>>>>>>>>>>>>>>>>> try and see.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>>> we want to embed flash-objects instead of the image in the
>>>>>>>>>>>>>>>>>>
>>>> product
>>>>
>>>>>>>>>>>>>>>>>> detail view (in the ecommerce-module). For example to show
> a
>>>>>>>> reading
>>>>>>>>
>>>>>>>>>>>>>>>>>> rehearsal. But this has to be configurable, as the most
>>>>>>>>>>>>>>>>>>
>>>> products
>>>>
>>>>>>>>>>> still
>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> needs a normal image while some of them needs the
>>>>>>>>>>>>>>>>>>
>>>> flash-objects.
>>>>
>>>>>>>>>>> Would
>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> that be much work to realise.
>>>>>>>>>>>>>>>>>> Thanks for any advises.
>>>>>>>>>>>>>>>>>> with best regards,
>>>>>>>>>>>>>>>>>> Marco Westermann
>>>>>>>>>>>>>>>>>>
>>>>>
>>>>>
>>>>>
>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmg8erP3NbaWWqE4RAp1dAJ93g1r75lnIhYZxDvWx0ngM9D33yQCgmndc
2PmNEhDxL77TA4wsC93x/uM=
=WBWo
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Using flash instead of the product-image in detail view

sumon
In reply to this post by BJ Freeman
Dear sir,
I am new to ofbiz and working on e-commerce application. But cannot understand how to add flash movie or image on an ecommerce site. I have read this forum posting but can grasp a very little. Can anybody give me a very basic from where to start for developing a flash enable ecom site.

Please help me.Thanks.