In desparate need of help with embedding Flash - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: In desparate need of help with embedding Flash (/showthread.php?tid=7068) Pages:
1
2
|
In desparate need of help with embedding Flash - El Forum - 03-23-2008 [eluser]charlie spider[/eluser] Can't seem to get a Flash movie to embed in my current project. It works fine in my root directory but as soon as i move it into the project folder it won't work. This is using code generated by SWFObject v2.0 (http://www.swffix.org/swfobject/generator/) Code: <?=$style;?> i've tried moving the map.swf into the main folder (ie: not in the flash folder) and other locations, but it still does not work. Any and all help will be greatly, greatly appreciated (especially by my wife who is worried because i started the day with a full head of hair but now have very little left to pull out) Thank you all Brent Christensen http://www.pyfo.ca In desparate need of help with embedding Flash - El Forum - 03-23-2008 [eluser]nirbhab[/eluser] Code: data="<?=base_url();?>flash/map.swf" When you are moving your project from: 1. http://domain.com to 2. http://domain.com/projects You should also check for base-url too.... Please check config.php file for that. In desparate need of help with embedding Flash - El Forum - 03-23-2008 [eluser]charlie spider[/eluser] Usually i use site_url() but i guess i tried it here out of desparation and just hadn't changed it back, but thanks for reminding me about that, will change it now, even though i still don't have this thing working:\ In desparate need of help with embedding Flash - El Forum - 03-23-2008 [eluser]nirbhab[/eluser] See the resources like CSS, Images , Flash file, what resources that doesn't need index.php of CI, Needs a base_url(), to be added to the url, as CI works with Absolute addressing not relative addressing, by default. So, base_url should be fixed first, when changing the domain of the applications. In desparate need of help with embedding Flash - El Forum - 03-24-2008 [eluser]charlie spider[/eluser] thanks for the comments nirbhab. base_url is not my problem here. i've tried this without base_url or site_url, i've tried this with absolute urls, i've tried this with the .swf in the main project folder i've tried this with the .swf in a /flash/ folder i created i even got desperate and tried the .swf in the views folder i've tried a bunch of other things i can't even remember right now. i need help from someone who has gotten flash (CS3) to work in a project recently nothing i do here seems to work thank you for any help In desparate need of help with embedding Flash - El Forum - 03-24-2008 [eluser]Clooner[/eluser] [quote author="charlie spider" date="1206387203"]thanks for the comments nirbhab. base_url is not my problem here. i've tried this without base_url or site_url, i've tried this with absolute urls, i've tried this with the .swf in the main project folder i've tried this with the .swf in a /flash/ folder i created i even got desperate and tried the .swf in the views folder i've tried a bunch of other things i can't even remember right now. i need help from someone who has gotten flash (CS3) to work in a project recently nothing i do here seems to work thank you for any help[/quote] But it works without a CI project? Because I think this has nothing to do with CI. What is the (html) result page? In desparate need of help with embedding Flash - El Forum - 03-24-2008 [eluser]charlie spider[/eluser] i have tried two different methods for embedding flash. one uses AC_RunActiveContent.js the other method uses SWFObject.js i have multiple project folders within the root of my localhost server (XAMPP) kinda like this: htdocs -bakery -blissmania -medallion -ppp -pyfo The folders 'bakery' and 'ppp' have CodeIgniter installed in them, the others do not. (I know this is not the most efficient method of having multiple CI installations running on a server but this makes things easier when uploading finished projects to a clients' server.) If i run a flash embedded page using either of the two methods mentioned above, from any of the non-CI folders, things work great. The flash works. If i take that same page and place it within the 'ppp' project's view folder, (obviously a CI project) and call that page from a controller, the flash doesn't work, regardless of where i place the .swf file or how i reference the .swf file. What's interesting is that when you look at the page in the browser, you can right-click on the big blank rectangle where the flash movie is supposed to be, that little right-click context menu appears and has the "About Adobe Flash 9.0" link in it. So the flash is ALMOST there, but it's not. As stated in the heading of this thread, i am in desperate need of help with this. If anybody has any experience embedding flash into a codeigniter project i would greatly greatly appreciate hearing how you did it. Where did you place your .swf ? What embedding method did you use? How did you reference your .swf? Do you have an example that i could look at? If someone can help me solve this problem i will permanently add a comment to the bottom of my forum signature where i will praise your obvious brilliance for all the CI community to see. Thanks In desparate need of help with embedding Flash - El Forum - 03-26-2008 [eluser]charlie spider[/eluser] I still haven't solved this problem and am still in DESPERATE NEED OF HELP !!! PLEASE PLEASE PLEASE (down on knees with hands clenched and cheesy violin music playing in the background) Can someone who has successfully embedded Flash into CI please help me ??? In desparate need of help with embedding Flash - El Forum - 03-27-2008 [eluser]dark_lord[/eluser] http://ellislab.com/forums/viewthread/45742/ I think you might want to try this thread dude... I have used it in embedding Flash. :-). Just be Patient in Studying it. And you might want to you use relative path. Code: ../flash/filename.swf In desparate need of help with embedding Flash - El Forum - 01-10-2009 [eluser]spmckee[/eluser] Charlie, did you ever find the solution? I have tried the exact same things you did with no luck. ARG! |