Forum OpenACS Development: Flash with openacs

Collapse
Posted by Rocco Siffredi on
Hi :

I want connect Flash forms with postgres DB.
If someone knows anything about this, please, I need his help.

It´s possible to use tcl with flash ?

Thanks.

Collapse
2: Re: Flash with openacs (response to 1)
Posted by Barry Books on
here is the code that hooks the sample flash slide show to the photo-album package
TCL
ad_page_contract {
} {
        album_id
}

db_multirow slides slides {
         select
  ci.item_id,
(select pp.caption from pa_photos pp where pp.pa_photo_id = ci.live_revision) as name
from cr_items ci,
  cr_child_rels ccr
where ci.latest_revision is not null
  and ci.content_type = 'pa_photo'
  and ccr.parent_id = :album_id
  and ci.item_id = ccr.child_id 
order by ccr.order_n
}

ADP
<SlideShow>
<multiple name="slides">
<Slide jpegURL="@slides.item_id@">@slides.name@</Slide>
</multiple>
</SlideShow>
Collapse
5: Re: Flash with openacs (response to 2)
Posted by Boris Kruvshenko on
Hi all, I have seen this in the oacs forum & I want to make some questions about it.

I understand the example with the multirow, but I don't understand how it's sended then the info to the flash movie.

any idea ??

Thx.

Collapse
3: Re: Flash with openacs (response to 1)
Posted by Nima Mazloumi on
Can you post a sample action script for the slideshow?
Collapse
6: Re: Flash with openacs (response to 1)
Posted by Nima Mazloumi on
Hi Rocco,

we will start next week with writing a flash that connects to the server to transfer data. I will post here as soon as I know more.

Please keeps us posted if you were successful in the meantime.

Greetings,
Nima

Collapse
7: Re: Flash with openacs (response to 1)
Posted by Rocco Siffredi on
Hi all:_

To connect Flash forms with postgres is possible with php but i want to do with tcl. This is the work.

Thanks.