[TYPO3] Can Typo3 work with flash?
Mike
php at talkingspider.com
Sat Aug 12 03:28:08 CEST 2006
It still won't work.
temp.myFlashSlideShow = COA
temp.myFlashSlideShow {
# wrap = <here goes your flash code except parameters>|</end of the code>
10 = TEXT
10 {
field = image
split {
token = ,
cObjNum = 1
1 = TEXT
1 {
current = 1
rawUrlEncode = 1
dataWrap = &image{register:SPLIT_COUNT}=/yourImagePath/|
}
}
}
}
imgcon = CONTENT
imgcon {
table = tt_content
select {
pidInList = global:id
uidInList = 7
}
renderObj < temp.myFlashSlideShow
}
The output I always get is "image0=/yourImagePath/". I have two
images in my image pagecontent object. I'm definitely viewing the
right page, the one that has the content object. If I explicitly set
the pid to 14, which is the page id, I still get the same result.
At 09:01 PM 8/11/2006, you wrote:
> > I don't know how to seed it with the data. You have "field=image",
> > but that's not getting the image content object. I tried field =
> > styles.content.getRight since I put the image content object in the
> > right column, but that didn't work either.
>
>usually you can do this with a CONTENT element or a RECORD.
>Both will execute a MySQL select statement.
>
>i.e.:
>
>marks.WHATEVER = CONTENT
>marks.WHATEVER {
> table = tt_content
> select {
> # first the id of the page
> pidInList = 123
> # then the id of the element
> uidInList = 456
> }
> renderObj < temp.myFlashSlideShow
>}
>
> > Also, I still need to do the urlencode in there somewhere on the
> > filenames. (Or does this do that already somehow?)
>
>temp.myFlashSlideShow = COA
>temp.myFlashSlideShow {
> wrap = <here goes your flash code except parameters>|</end of the code>
> 10 = TEXT
> 10 {
> field = image
> split {
> token = ,
> cObjNum = 1
> 1 = TEXT
> 1 {
> current = 1
>
> rawUrlEncode = 1
> dataWrap = <param name="image{register:SPLIT_COUNT}"
>value="/yourImagePath/|" />
> }
> }
> }
> }
>}
>
>This one should do the job.
>
>Joey
>
>--
>Wenn man keine Ahnung hat: Einfach mal Fresse halten!
>(If you have no clues: simply shut your knob sometimes!)
>Dieter Nuhr, German comedian
>openBC: http://www.cybercraft.de
>T3 cookbook: http://www.typo3experts.com
>
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list