Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AC_FL_RunContent and php variable from recordset

New Here ,
Sep 22, 2008 Sep 22, 2008
Hi, can anybody point me to a resource on how to grab the name of the .swf file from my db and pass it to the active content javascript?
If I just replace the the movie name with a php echo that grabs the file name from the db there is no playback.
TIA
-Frank
TOPICS
Server side applications
409
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 22, 2008 Sep 22, 2008
You would have to remove the extension (swf) for it to work. And there are
3 places where that filename would be used.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ronin701" <webforumsuser@macromedia.com> wrote in message
news:gb9368$6b2$1@forums.macromedia.com...
> Hi, can anybody point me to a resource on how to grab the name of the .swf
> file
> from my db and pass it to the active content javascript?
> If I just replace the the movie name with a php echo that grabs the file
> name
> from the db there is no playback.
> TIA
> -Frank
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 22, 2008 Sep 22, 2008
I'll have to strip the extension after I pull it out of the record set, assign that value to a variable and echo that in the js where there is no extension and use the standard echo in the areas where it need the extension, very good, thanks for pointing me in the right direction.

-Frank
http://www.roninwerks.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2008 Sep 23, 2008
LATEST
Should work fine.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ronin701" <webforumsuser@macromedia.com> wrote in message
news:gb9gll$lck$1@forums.macromedia.com...
> I'll have to strip the extension after I pull it out of the record set,
> assign
> that value to a variable and echo that in the js where there is no
> extension
> and use the standard echo in the areas where it need the extension, very
> good,
> thanks for pointing me in the right direction.
>
> -Frank
> http://www.roninwerks.com
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines