1 / 27

Cold Fusion & Flash

Cold Fusion & Flash. Shlomy Gantz CoreActive ACG July 2000. What is Flash. Alternative Vector based “compiled”. Standard. Why should I care about flash ?. Why use Flash . Advanced interface Compatibility Streaming animation/audio/content Compiled , Small file size Timeline

amma
Download Presentation

Cold Fusion & Flash

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cold Fusion & Flash Shlomy Gantz CoreActive ACG July 2000

  2. What is Flash • Alternative • Vector based • “compiled” Standard Why should I care about flash ? ...

  3. Why use Flash • Advanced interface • Compatibility • Streaming animation/audio/content • Compiled , Small file size • Timeline • Extremely Fast Development • Instantly package into Executable Yeah .. Sure …but why should we care

  4. Interface Importance - why do we care ? • The only thing the user sees • Usability • Quick Access to information • Allows many people to use it by applying standards Ok ok … show us some stuff ….

  5. Integration methods • CFML / JS Pushing information to Flash <HTML> <SCRIPT LANGUAGE=“javascript”> startObj.SetVariable("/:First_Name", "#First_Name#"); </SCRIPT> </HTML>

  6. Integration methods • Flash Pulling information from CFML <HTML> </HTML> 1 Shlomy Gantz- Integration with flash 2 Steve Nelson- Advanced fusebox 3. Robi Sen - Future of e-comm

  7. Integration methods • Generator compiling on the fly MP3 JPG Chart Ticker etc.. Doesn’t this cost like $30,000 … I’ll have to mortgage my kids

  8. URL parameters integration URL parameters integration

  9. URL parameters integration URL parameters example - Banner URL parameters example 2 - Order Form

  10. URL integration - The good Vs. evil • Simple to use , Easy to implement • No Flash knowledge needed • It’s simple • It’s really simple • It’s really really simple Hmmm….

  11. URL integration - Remember ! • Can only load once per page • URL variables are “exposed” • Urlencodedformat() • & at the end • use and endstring

  12. JavaScript integration JavaScript Integration

  13. JavaScript integration JavaScript example - CF MW JavaScript example 2 - Order Form JavaScript example 3 - Player

  14. JavaScript integration - good Vs. evil • Manipulate flash using almost all FS commands • Control from Browser window level • Client side processing • Browser Compatibility • Extra point of failure That was cool …. But I don’t want to learn javascript ..

  15. Flash “Load Variables” Flash "Load Variables"

  16. Flash “Load Variables” Flash “Load Variables” example - CFMW Flash “Load Variables” example 2 - Order Form

  17. Flash “Load Variables” - good Vs. evil • Connects directly with backend (transparent to user) • URL is not visible to user • Hard to detect CF errors

  18. Flash “Load Variables” - Remember ! • Urlencodedformat() • & at the end AND & at the beginning • check you application.log • Remember ! every time you run load variables you run a cfm file ..

  19. Generator integration • What is generator ? • How is it different from simple Flash ? MP3 JPG Chart Ticker etc..

  20. Generator integration • {} inside generator • .swt template - .swf template • CFX_Generate <cfx_generate template=“c:\wwwroot\mytemp.swt” type=“swf” file=“c:\wwwroot\mytemp.swf”>

  21. Integration methods - summary • Appending to Movie URL • Flash as JavaScript Object • Flash -Load Variables • Generator

  22. Working with a Flash Artist • Define your variables (I/O , types …) • Go Program …..leave the flash guy alone … • Integrate CFM files with flash string • TEST • go eat lunch ….

  23. Working with a Flash - Remember ! • keep validation in one place • keep .fla and swf files synchronized • keep it simple

  24. Flash Future - Flash 5 • XML support • HTML inline integration • New ActionScript (JS) • Better UI and Object browser • New “widgets” modules

  25. When not to use flash • When there is no need to ... when simple HTML is enough • “weak” clients …(486, P75 ..) • when building something for yourself …. After all we are …. PROGRAMMERS

  26. Thanks ….. • Shlomy Gantz - www.coreactive.com shlomygantz@hotmail.com • Amit Pitaru - www.pitaru.com amit@pitaru.com

  27. QA • What the $%@$ was he talking about ? • I want to go to lunch …. • Is this guy out of his mind ??? • I want to go to lunch ….. • Can this guy please stop talking so I can go to LUNCH !

More Related