Hi I have started using rails eg: rform and typo, but mostly I do flash dev (I know you guys decided you did not want flash content and used the name for something else!). Anyway what experiments have people been doing, anyone been Ajaxing flash content within rails application or even just embedding in rails, I did not really find anything on using flash in Typo, not that you can''t probably just hack it in where you want, but really it would be better if was fitted with rails structures and since I am very much a newbie I wanted to gain some ideas from experts and I was thinking really for just fairly static flash you would want a generic structure that replaced content that was not supported. Also if I want to run rforum and typo on the same server is it difficult and can I embed the rforum on typo page? Anyone got any pointers ideas, read discussions after all no point in clean ruby structures if we then just shove stuff in willy nilly. Justin -- Posted via http://www.ruby-forum.com/.
Here''s one example that seems to work pretty well (includes code snippets). http://www.onrails.org/articles/2005/07/31/dvdreleases-integrating- flash-with-ruby-on-rails Steven On Jan 13, 2006, at 5:46 AM, JLM wrote:> Hi I have started using rails eg: rform and typo, but mostly I do > flash > dev (I know you guys decided you did not want flash content and > used the > name for something else!). Anyway what experiments have people been > doing, anyone been Ajaxing flash content within rails application or > even just embedding in rails, I did not really find anything on using > flash in Typo, not that you can''t probably just hack it in where you > want, but really it would be better if was fitted with rails > structures > and since I am very much a newbie I wanted to gain some ideas from > experts and I was thinking really for just fairly static flash you > would > want a generic structure that replaced content that was not > supported. > > Also if I want to run rforum and typo on the same server is it > difficult > and can I embed the rforum on typo page? > > Anyone got any pointers ideas, read discussions after all no point in > clean ruby structures if we then just shove stuff in willy nilly. > > > > Justin > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Justin, I find that the best way to integrate Flash into my websites is via XML. So while I use Rails to generate the XML, I wouldn''t really call it "embedding in Rails". Take a look at: http://www.flashforwardconference.com ...which happens to be for a conference about learning Flash. The entire site is running on Rails. The banner at the top of the page is a Flash 8 SWF which is loading in XML of the conference speaker and seminar data, generated by Rails. (On the Flash side of things, it''s also loading in images and using the pixels of the image for the dots--a technique that requires Flash 8.) If the user does not have the Flash 8 plug-in (20% of our users don''t), it uses JavaScript to degrade gracefully and the user would see a static image instead. I''m not enough of a Flash expert to even conceive of how one could use AJAX to integrate the two more closely. If you or anyone else has cool ideas, I''d love to pass them along to our Flash team and try them out. Kevin Skoglund> Hi I have started using rails eg: rform and typo, but mostly I do > flash > dev (I know you guys decided you did not want flash content and > used the > name for something else!). Anyway what experiments have people been > doing, anyone been Ajaxing flash content within rails application or > even just embedding in rails, I did not really find anything on using > flash in Typo, not that you can''t probably just hack it in where you > want, but really it would be better if was fitted with rails > structures > and since I am very much a newbie I wanted to gain some ideas from > experts and I was thinking really for just fairly static flash you > would > want a generic structure that replaced content that was not > supported.
Steven Smith wrote:> Here''s one example that seems to work pretty well (includes code > snippets). > > http://www.onrails.org/articles/2005/07/31/dvdreleases-integrating- > flash-with-ruby-on-rails > > StevenHi there, here is another aproach to integrate Flash with Rails: http://www.osflash.org/actionstep_rails Unfortunately this is the only resource about this topic (expect some half year old blog entries). This looks really great, but I would like to see more and have tutorial at least about the integration. Does anybody knows something about this? I would really like to get my hands on this. Dirk -- Posted via http://www.ruby-forum.com/.
> I''m not enough of a Flash expert to even conceive of how one could > use AJAX to integrate the two more closely. If you or anyone else > has cool ideas, I''d love to pass them along to our Flash team and try > them out.I have a crude XML parsing class in ActionScript that deserializes it into a simple flash object to use: http://techno-weenie.net/svn/projects/xml_deserializer/xml_deserializer.as I''m not that skilled in Actionscript, but it''s served me well in the various projects I''ve been involved in. I''d much rather have a YAML parser in ActionScript though :) The Adaptive Path guys are rocking out with the Flash/Javascript Integration Kit in Measure Map for their Flash/AJAX stuff. Their free date slider widget gives a little glimpse into what is possible: http://weblogs.macromedia.com/flashjavascript/ http://www.measuremap.com/developer/slider/ Here''s a silly example of its use: (no AJAX yet, however) http://rails.techno-weenie.net/stats -- rick http://techno-weenie.net
Steven Thanks good link. Dirk I think that is Richard Kilmer''s project I spent hours trying to get somewhere with an earlier project of his ''alph'' and gave up left comments but never got any replies one or two sharp folk at 12stones also tried to get ''alph'' to work and couldn''t due to lack of any proper documentation or correct files etc... and he is mac based? So I am reluctant to chase that one - maybe I am wrong, I expect it works and is good but I will not hold my breath for access! Sorry to be negative but not heard of anyone else use ''alph'' and I did look hard.http://richkilmer.blogs.com/ether/2003/12/project_alph.html Might be better to look at javascript to flash stuff using External API, I lost the link right now but it was impressive what they could do but I could not make much sense of how it all went together. I was thinking rails maps ruby objects to database, well we need something similar for the front end... the link steven posted does not seem to be using the External API which I would think is the best way to go for the future. Alternatively I have seen some people communicating with swish via javascript (gsb), craftymind has also done stuff on this with flash and he did not seem overly impressed with the opensource javascript integration kit but maybe it has changed. Anyway I am interest in this area and want to get some discussions going since flash is a hassle to database and a simple rail (typo)standard hook up would be a good idea. JLM -- Posted via http://www.ruby-forum.com/.
I must agree with you Justin! I found nothing about that ActionStep and Rails project that could help to get it work properly. Stevens approach looks good, but I hadn''t the time to have a deeper look. Maybe you can find that link you mentioned, that would be great. Anyhow, I''m also interested in this topic, because I have actually a data visualization project. A flash viz would be surely great. If anybody else have an idea about making this possible, don''t be shy :-) Dirk -- Posted via http://www.ruby-forum.com/.
Dirk Link I was thinking of http://www.aflax.org/ I have done some Cd XML tweeny menus flash & games etc and am looking for work, I do not know much RoR yet but... if you want details of my flash let me know. Otherwise might be good to try doing some shared experiemental stuff I aim to have a mini forum with flash/swish/rails on. I have made classes that parse RSS that comes out of a rail apps and it is obviously an interesting area but complex. JLM -- Posted via http://www.ruby-forum.com/.
See groups.google.com/group/laszlo-on-rails/ On 1/13/06, JLM <JLM@justinfront.net> wrote:> Dirk > > Link I was thinking of > > http://www.aflax.org/ > > I have done some Cd XML tweeny menus flash & games etc and am looking > for work, I do not know much RoR yet but... if you want details of my > flash let me know. Otherwise might be good to try doing some shared > experiemental stuff I aim to have a mini forum with flash/swish/rails > on. I have made classes that parse RSS that comes out of a rail apps > and it is obviously an interesting area but complex. > > JLM > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >