Flash connection

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
turch2009
Forum Members
Forum Members
Posts: 40
Joined: Wed Oct 21, 2009 1:19 am

Flash connection

Post by turch2009 »

Is it possible to have flash grab from a content pages?

I'd like to have a Flash ticker (must be in Flash), but I'd like for the user to be able to change the content in the ticker.  Somethign as simple as opening a content page and editing the content.

I already know how to read from an xml with Flash.  Has anyone tried this?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Flash connection

Post by calguy1000 »

did you do a search?

I did... and within 2 minutes came up with the answer.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
turch2009
Forum Members
Forum Members
Posts: 40
Joined: Wed Oct 21, 2009 1:19 am

Re: Flash connection

Post by turch2009 »

Yes I did a search and found at least one similar question in the forums.  Using CMS Made Simple as a CMS for Flash.  This is the link if that is what you're talking about.  http://forum.cmsmadesimple.org/index.php?topic=23778.0

Unfortunately it's not only overly complicated from what I need, it's also incomplete.  The thread talks mostly about his need for code and what he needs to do in order to finish.

What I was looking for was a clean simple example of the actionScript one would code in order to grab the text from a content page.  There shouldn't be any need for a PHP script for this.  If the only code on the page reads "this is the text", then I simply want the Flash to find that and output it in a Dynamic Text field so that a user would read it in the text instead.  I'm looking to see if anyone has done somethign that simple.

Without knowing what you found in your search, I can't tell you if what you found is any more help to me.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Flash connection

Post by calguy1000 »

Without knowing what you found in your search, I can't tell you if what you found is any more help to me.
and without a well researched, well explained (or even an effort thereof) post... we can't be of much help to you.  Now that's a conundrum isn't it!  In order for anybody to be able to provide information, they require some information at the start.

Personally, I know the answer to this... but I'm done with this thread.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Re: Flash connection

Post by tomgsd »

Couple of ways you could do this.

1. Request your page from flash with the "showtemplate=false" parameter in the URL. eg: index.php?page=page_alias&showtemplate=false.  This will just show the contents of the main content block.

2. Create a new template and format it as XML and request the page as normal from flash.

Hope this helps.
Green Sheep Design Ltd. - www.greensheep.co.uk
turch2009
Forum Members
Forum Members
Posts: 40
Joined: Wed Oct 21, 2009 1:19 am

Re: Flash connection

Post by turch2009 »

I'm not sure what I did to cause Calguy to be so upset with me.  This is my first thread and posts to this community.

Anyway, thanks Tomgsd.  I think your second plan works best for me since I already know how to communicate with Flash using XML.  I'll try this and let everyone know what happened.
Post Reply

Return to “Developers Discussion”