Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:08:08 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155440 Posts in 21702 Topics by 7732 Members
Latest Member: Smacki
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Is anyone else having problems inserting flash movie using fck editor?  (Read 1119 times)
sparkdigital

Offline Offline

Posts: 348



WWW
« on: September 05, 2008, 03:47:23 PM »

I'm trying to insert a swf file using the fck editor but for some reason it's not wanting to work. The source code it generates is:

Code:
<embed type="application/x-shockwave-flash" menu="false" loop="true" play="true" src="http://www.hallinbank.co.uk/media/flash/home/slideshow.swf" height="400" width="400"></embed>

When using the link in a new browser it does display fine so the path is correct. Any suggestions?

I think I might have to copy it into wb from dreamweaver for now...

Thanks,

Konrad
Logged
sparkdigital

Offline Offline

Posts: 348



WWW
« Reply #1 on: September 05, 2008, 06:04:56 PM »

Just inserted another type of flash movie and this works fine...

The one that I'm trying to insert pulls the images from the media folder using an xml file. As I said before, it works fine when directly viewing it in a browser but now when it's embedded.

The paths should all be correct as the swf, xml and images are all in the same folder  huh

Any ideas?

Thanks,

Konrad
Logged
vyni

Offline Offline

Posts: 566


« Reply #2 on: September 12, 2008, 12:42:37 AM »

Hi,
I think it is a problem of path-setting.
The one that I'm trying to insert pulls the images from the media folder using an xml file. As I said before, it works fine
You call this directly and works? Good.
Quote
The paths should all be correct as the swf, xml and images are all in the same folder
but if You embed this via wysiwyg it is in a different page/directory.

I had this once - and I solved it by editing the xml-file concerning the path. The swf tries to load pics from the directory where the php is located. Just try a little bit - You will find it.

regards from Himberg, nearby Vienna
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
mviens

Offline Offline

Posts: 57


« Reply #3 on: December 02, 2008, 01:12:53 AM »

Hello,

I am having the exact same issue. I have the swf, xml and jpgs all in: /media/flash/

When I call it directly (click on the swf file in the /media/flash/ folder) it works fine.

I want to be able to load the swf on a couple of different pages on different levels.

I thought that if I put an absolute reference from the swf to the xml, that would solve the problem but it didn't seem to. I've tried another of combinations for swf/xml locations.

Quote
The swf tries to load pics from the directory where the php is located. Just try a little bit - You will find it.
Has anyone figured out this location yet?

Thank you.

Michael
Logged
sparkdigital

Offline Offline

Posts: 348



WWW
« Reply #4 on: December 02, 2008, 11:19:45 AM »

Hi Michael,

No sorry - I gave up in the end but would still like to find out too as it will come in handy for future projects!

Thanks,

Konrad
Logged
vyni

Offline Offline

Posts: 566


« Reply #5 on: December 02, 2008, 03:32:18 PM »

Hi,

so use the wrapper to display the swf. Create a page, insert the swf in a section of type wrapper and use the module section-picker for displaying it on different pages.

It´s just that easy.
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
sparkdigital

Offline Offline

Posts: 348



WWW
« Reply #6 on: December 02, 2008, 03:51:11 PM »

Good idea - I'll give it a try this week and will try to remember to post feedback here!

Konrad
Logged
mviens

Offline Offline

Posts: 57


« Reply #7 on: December 03, 2008, 04:09:40 AM »

That sounds like a simple solution.

I finally got it to work doing the following:

I placed the swf, xml and all jpg images in:
/media/flash/

The swf references the xml and the xml references the jpg files using full absolute paths:
http://www.domainname.com/media/flash/

It works fine regardless of what level of page I place the swf using the Flash input in FCKEditor.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!