I am using front page module and I want to insert a flash intro into the anon front page. I find one I want to purchase but it says available in .fla and .swf Can I use it? And how?

Comments

Phillip Mc’s picture

.fla = the original macromedia animation file you can edit in macromedia flash.
.swf = the finished animated piece that you upload to your website.

Those template sites that sell flash intros and animations tend to provide both files (fla + swf) so you can edit the animation yourself if you have macromedia (or is it now adobe?) flash. installed on your computer.

lfhubcom’s picture

I just install flash onto my computer so I'm new to that to. I made a little movie on it but got now where as close as what I see for sale.

vm’s picture

the .fla (flash animation) is the flash source file, that you can pull into flash and alter.

the. swf swf files are completed, compiled and published files and is what you want to embed in your page for anon users.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

omg thank you so much...it's finally starting to make sense...just tomake sure i really got it...
the .swf i embed as if it was html
and the.fla file i upload into a file after I alter it in flash?
thank in advance guys...you're my heros

vm’s picture

yes the .swf is what gets embeded in your page with HTML

the .fla has no reason to be uploaded to your server, it is the source file.
If you wanted to alter the source file, then export to another .swf you can now do so.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

ok i copied everything that was in the intro.swf file and pasted it into the anon box.

I was asking if i upload the .fla to a file in my host file manager...isn't drupal my server...Sorry for the newbie questions.

do I have to put any other codes in the anon box other than what I copied and pasted?

Thanks.

vm’s picture

you don't copy and paste what is inside the .swf file.

you have to use HTML To reference the swf file and call it into the block.

example:

<object>
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf">
</embed>
</object> 

The above would get saved into a block using the FULL HTML input format and the swf file will play.

The fla file does not have to be uploaded to your host. You keep that file because it is the source of the .swf

Again the .fla file is the raw source file. It is the file from which the .swf is built. .fla is from flash, the .fla gets exported as a .swf to use on the internet. You recieved the .fla because you purchased the source which you can then import back into flash and alter if you so chose. After altering the .fla you would then export it back into another .swf file that would show your changes. If you had just purchased the .swf file it would be more difficult to change the .swf in any way.

example;

in my .fla I have a graphic of a dog jumping and an audio file a dog barking. I then turn this .fla into a .swf and use it on my website. Then I decide I want a cat jumping and an audio file of a dog barking, I return to the .fla and change the graphic of a dog to a cat and export to a .swf and upload to my site.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

I don't know what I am still doing wrong. In my anon block I put in:

<object>
<PARAM NAME=movie VALUE="intro.swf"> 
<EMBED src="intro.swf"  </EMBED>
</object>

I'm thinking I'm not pointing it to the source how do I do that...above I meant to say copy and paste the intro.html file not intro.swf....this is the intro.html file:

<HTML>
<HEAD>

<TITLE>intro</TITLE>
</HEAD>
<BODY bgcolor="#000000" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  id="intro" ALIGN="center" width="100%" height="100%">
 <PARAM NAME=movie VALUE="intro.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="intro.swf" quality=high scale=noscale bgcolor=#000000  WIDTH="100%" HEIGHT="100%" NAME="intro" ALIGN="center"
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>

Thank you once again....I want to give up but since my community is invitation only (for privacy reasons) I need a presentation to show the value of joining. and I found a flash intro that bascily did what I was trying to do.

vm’s picture

I'm thinking I'm not pointing it to the source how do I do that

without knowing exactly where your intro.swf file is there is no way I can help.

you need the path, ie: if the .swf file is in the files folder you need files/intro.swf or /files/into.swf

you also don't want to strip so much of the information you are stripping from the actual HTML.

not that long ago I checked on this thread and you said it worked in page content type, the idea is still the same to get it to work in a block.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

the way I got it to work before was i uploaded the file to my host and named it index.swf and it autmatically became my main page.

as for the path...do I get that by right clicking--> properties-->location?
*update* I just googled path and got this http://en.wikipedia.org/wiki/Path_(computing) so therefore the path is C:\Documents and Settings\alvina torres\My Documents\Downloads\drupal\templates\site\intro.swf it won't let me put intro.swf on the end ^^

After I get the path how do I plug it in? Do I replace soemthing in the html up there or stick it in somewhere?

still googling...

vm’s picture

you don't use a path like that, that for a windows bases operatiing system not a webserver.

again, where is your intro.swf located ? Without knowing that I can't help as I would just be guessing as to the location of the file. Drupal has yet to release the mindreading.module.

place it in the files folder or drupal, the use files/intro.swf as in my previous example.
or use http://www.yoursite.com/files/intro.swf if necessary

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

lol...That's what I meant before when I asked if I upload it to my host...I thought you said I do nothing with that file because it is the source file so I deleted it from my host and that's why I been so confused because I couldn't understand how it would know how to get it out of my computer...anywho...

above when you said "place it in the files folder or drupal" Is it not a file in my host or is there some way to upload it through my site or on drupal?

I just uploaded it from my computer to: /home/lfhubcom/public_html/animation/intro.swf

but that's wrong because it didn't work.

vm’s picture

¿? o_O ?¿

A) Incorrect and you are putting words into my fingers (mouth). What I told you (see comment link below) is not to upload was the .fla file. The .fla is the source file and doesn't need to be uploaded. the .swf file is the file that needs to be uploaded because this is the file that you are trying to call in your HTML. Please reread this thread and follow along. These references and explaination were because you stated you had two files, a .fla and a .swf and you weren't sure what to do with them.

see: http://drupal.org/node/261623#comment-853894 (where I stated not to upload the .fla, not not to upload the .swf)
see: http://drupal.org/node/261623#comment-854109 (where I explained what the .fla is)

B) you don't want to avoid the files folder and stick it in a folder that drupal doesn't recognize, hence why I stated the files folder in my example. you upload files using an FTP tool or the upload.module in drupal or even your host panel.

so to clairfy for you:

upload the intro.swf file to your files folder
then use the correct relative path to the intro.swf in your HTML to call the .swf file into the page.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

:( Sorry I didn't mean to misquote you...i think along the way I might have used the wrong .xxx I don't know where .fla came from in the first place because I have .swf and .html I think maybe above where it was stated that it comes with those two but I'm not really sure where the confusion happened. Before that I was confused on whether I had html in the first place because the oline support whre i got the templae from said there were no html and then they said there was and then there wasn't anywho...sorry for all the confusion.

Wait I know the place where i got the template from said that it was .fla and .swf that's where i got .fla from...but when I go to the folder there's .html and .swf

I will try the last two methods you stated I hope i don't have to mess with ftp.

Thanks again for the extra patience and all your help you are completely appreciated.

Here I go wish me luck.

lfhubcom’s picture

where it says embed src="" i put the path (http://www.lfhub.com/sites/default/files/intro.swf) in between the quotes but still not working did i put it in the wrong place? when i put it in the address bar it works. Thanks again

vm’s picture

if it works in the browser it will work in the code.

please paste here the exact code used. ALL of it.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

it's not the code...i got tired of logging out to see if it was working for the anon block so i copy and pasted it

<HTML>
<HEAD>

<TITLE>intro</TITLE>
</HEAD>
<BODY bgcolor="#000000" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  id="intro" ALIGN="center" width="100%" height="100%">
 <PARAM NAME=movie VALUE="intro.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="intro.swf" quality=high scale=noscale bgcolor=#000000  WIDTH="100%" HEIGHT="100%" NAME="intro" ALIGN="center"
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>

in the authenticated user block and it worked but still not working for anons.

vm’s picture

the code above looks different then what you posted origainally as you are missing the embed tag now

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  id="intro" ALIGN="center" width="100%" height="100%">
<PARAM NAME=movie VALUE="intro.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="intro.swf" quality=high scale=noscale bgcolor=#000000  WIDTH="100%" HEIGHT="100%" NAME="intro" ALIGN="center"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

either way, I don't know what you mean by authenticated user block, how was this block created ? what visibility settings are set on it when you edit it ?

also note:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  id="intro" ALIGN="center" width="100%" height="100%">
<PARAM NAME=movie VALUE="intro.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=scale VALUE=noscale>
<PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="intro.swf" quality=high scale=noscale bgcolor=#000000  WIDTH="100%" HEIGHT="100%" NAME="intro" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>

is much easier to read when its layed out properly

how did you finally upload the .swf file ?
where is it locate now ?

if using the upload module, or files folder, what is your file sytem set at , public or private in administer -> file system ?
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

wow thanks for responding so quickly...
I'm using the advanced front page module and I am trying to use the intro in the anonymous user block. There is also a block for authenticated users (those who have logged in). theses blocks came standard in the module. when i insert the above code in box boxes, it works in the authticated user's frontpage but not in the anonymous users frontpage. i'm going to review my permissions and access but i don't see why that would block the intro and not all that info on my front page.

lfhubcom’s picture

I missed the end before...I used cpanel to upload to my files folder...path site/default/files/intro.swf both ways works in authenticated users (just intro.swf) file system is set at private now it was at public earlier think I should change it back?

vm’s picture

I'll have to install the module and take a look, I've not used it in awhile.

If there is no need to set it to private, I wouldn't.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

please don't i figured it out...it was my perimissions...thank you soooo much. You are definately my hero. now i feel comfortable with purchasing that real one. A million times thank you

lfhubcom’s picture

Now that i no how to do this I since made my own intro it's ok needs a little work but anyway I tried to install it and seem to have installed fine but I need to figure out what to do with ac_runactivecontent I tried uploading it to the same folder as the .swf file but that didn't work and I tried opening it with wordpad and copy and paste the code onto my page but I didn't know where to put it so I but it underneath the html...ok that was way wrong...I googled for the answer and keep getting totally different answers and working with advanced front page module makes it sort of different. Do you know what I should do with this file?

vm’s picture

I have no idea.
What is the extension on the file ?
Does your swf even need it ?
What program was the swf done in ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

extenson of the file I believe is .js the program i used to make the intro was flash cs3

vm’s picture

I assume that file would go where the .swf goes.
Though you didn't answer one of the questions form above.
does this .swf file even need this? have you tried uploading the .swf file and calling it ino the browser?

the programs documentation will help as well. These types of questions are out of the scope of drupal to be honest.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

I assume that it needs it because when i try to go to the page the error comes up you would see it if you go www.lfhub.com
i have uploaded the file but have not tried calling it in the browser i will try that if i understand correctly...you mean type it in the browser the whole path like i did above with intro.swf? page documentation like the code/script...where would you suggest i go...having adanced front page through drupal mke the process a little differnt...i will go to www.flashkit.com and try asking there but they will not be familiar with advanced front page...but maybe they will be able to help me after all. thanks

vm’s picture

have you tried placing the .js file exactly where the intro.swf file is uploaded to ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

yes they are in the same place.

lfhubcom’s picture

Ok i deleted everything and retried and this time it worked...I don't know why. But I put the html in my anon page block. Then I uploaded the .swf and the ac_runactivecontent.js to the public.html in my file manager and it works....it needs some major work but it works...thanks for your help.

Phillip Mc’s picture

Hi very misunderstood...

just thought I would tip my hat to your patience with this thread.

You have an astonishing amount of patience and are a credit to the drupal community.

It's a pity solid support people like yourself aren't rewarded or credited in some way on drupal.org. Surely a stars system should be introduced?

Anyway. consider my hat tipped in your direction....and 5 stars out of 5 for your diligence.

vm’s picture

Thank you for the kind words Phil.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

lfhubcom’s picture

I agree

thomas23@drupal.org’s picture

subscribe