Adding Flash Music to HTML Site
Hi everyone,
I need help adding background music to a site. YES! YES! I
know the million reasons not to do it, but the client wants it so I
am going to do it :-)
Once I create the SWF file with the music I want to stream,
how can I add it to the HTML code so it will play continuously
throughout the site instead of re-starting every time the user
moves from one page to another?
Thanks in advance for your help
Jose
On Sun, 10 Sep 2006 01:16:37 +0000 (UTC), "*mista*"
<[email protected]> wrote:
>Maybe use Frames and put the flash music in a frame
doesn't change content.
>But then, if the user refreshes the page, the music will
start again.
> And you'll be complicating your site even more. Can't
think of anything else.
>Just putting in my two bits here.
Put the .swf in a pop-up window.
Gary
Similar Messages
-
Need Help Adding Flash Intro To Existing Site
OK I'm helping a buddy of mine out and he's already got his sie built for him by someone else, the index file is .php. Now I've got this little Flash animation that we want to run first, then when it's done go to his website. When I try to add it to the top of the index page all that happens is the site loads like in normally did but with the Flash movie at the top instead of being another page. What do we need to do to have it load on it's own first?
yes. the index.html should embed your flash intro swf and at the end to your swf (and in a skip intro button code) you should open the current main page (using getURL or navigateToURL).
-
hi guys, Im trying to create a website, but cos of the way
i've added music it reloads and starts over every time i go to a
new pg (switching scenes) can some one plllllllllllllllllllllls
teach me how to add music in a way where it plays continuously
without reloading wen i switch pagesWell, your question has already been answered. You will
either have to create a new fla file for just your music player,
then load that as a popup window, or as I said before, don't have
multiple scenes. You can take what you have per scene, copy all
frames, convert it to one movie clip, then on a new main time line,
you can place each new movie clip (that was previously your scenes)
every 10 or so frames apart just to give it room for any frame
labeling to be visible. It's too hard to explain without showing,
so if your fla file is too big (how big is it in the first place),
then I can't help you much more there. Your best bet for now would
be to create the player in a separate fla file and load the swf in
a new browser window and resize the popup window - search these
forums for flash popup window. -
How to display Dynamic text after adding flash file to html
Please help - I have a dynamic text field in a movieclip
inside a main movieclip - Within flash the dynamic text display
properly but once I load the file to an html page the dynamic text
no longer display - It loads undefined in text box. However when I
remove the movieclip from main movieclip text display no
problem.that's as2 code, not as3. please post in the correct forum
next time.
either about.txt is not in the same directory as the html
file that loads or embeds your swf or there's a case issue with
about.txt really being About.txt, for example. -
Trying to add Flash Intro to my HTML site
Hi everybody.
I have an HTML site that I would like to add a Flash Intro
to. I would like the Flash intro page to play (about 30 seconds)
then change to the first page of my HTML site. I have searched
through several books, Lynda.com, and google, but can't come up
with a good solution.
Would someone be kind enough to help?
Thanks in advance.
BrianBefore reading all this, make sure you download my example
files at
http://www.shan-dysigns.com/flash/flashIntro.zip
That link is further down in my reply, but you may miss it.
Since you want people to see your flash intro before your
html page, you will have to rename your existing html page to
something like homepage.html. When people go to your domain name,
file names such as index, default (I think there might be a few
others) will be automatically loaded first. Because of this, your
flash intro (once placed into an html page) will have to be named
index.html.
After creating your flash intro, export it to a swf file. Go
into DW and create a new html page (you need a container for your
flash intro). On the menu bar of DW, click Insert, then Media, then
Flash. You may want to create a table or a div tag before hand in
order to center the flash file (then you would just insert the
flash file into that table or div tag).
if you download my example stuff
here,
you will see a flash document, swf file, the index.html page which
holds the flash intro swf file, a hopepage.html file, and a folder
DW automatically creates when you insert Flash content. Download
the zip file and save it in a temp folder somewhere. Go to Windows
Explorer (assuming you are on a PC), and double click the
index.html page (I don't know if your browser will ask if it's ok
to run scripts, but it's just the script from DW allowing the
flash). You should see the 10 seconds of the flash intro, then you
will be redirected to the homepage.html file when the intro is
finished. If you look at the flash document, on the last layer
where I have the script, there is an absolute path (currently
commented out), and a relative path. Using the relative path will
allow you to test this without having to upload to a server. In
order to test all this on a server, you will need to upload all the
files and the folder to a server (you may want to create a test
folder on the server to place these files in). Make sure you change
the flash document's code to the absolute path and comment out the
relative one, and make sure to change the domain name to yours,
export the flash file and upload the new swf along with the other
files and folder. Then go to yourDomainName.com/test, and you
should see everything. I don't know how else to explain any of
this... -
I have created a video on After Effects and exported it as a
AVI. I then opened Flash Encoder and created a FLV file out of
that. I then added the FLV file into Dream Weaver on my webpage.
When the page loads the flash file plays, but shows the controls.
How do I get that to not show the controls and just play? You can
look at my test site to see what I mean.
http://www.getcapturednow.com/test.htm
ThanksYour embedding code looks to be on the short side of completeness, so you might consider letting Flash generate an html page and copy the code from that. If that doesn't fix anything, then you might also try using full url's in the getURL calls (http://www.etc...)
-
Desperately need help getting Flash music player to work correctly!
I'm working up a Flash template for a site that has a music player for 3 different tracks. The template came with 3 separate fla files for each track (Music1.fla, Music2.fla and Music3.fla), which I opened and imported my own mp3's into, set them to repeat only once, and then published the swf's. The music player works fine, but when the first song ends, the music stops unless you click on the next music track in the player. I'd like to have it where after the first song finishes it automatically starts playing the next song, then when it finishes the 3rd and final song it goes back to song one. How can I do this? Is it as easy as inserting some Actionscript into the Music fla's or would it have to be fixed in the player itself on the site's fla?
I have the site uploaded here to check out:
http://truetilldeathhq.com/main8_v7/main8_v7.html
Thanks in advance for your help, I'm really in a bind and need to get this fixed quickly!!K, give this a shot.
All you need to do is duplicate the code on the buttons in the sound controller that load the three songs. So on the last frame of music1.fla, enter -
path="music2.swf";
loadMovieNum(path,1);
Do the same for the other music flas using the next song number. You may have to add _root. before the loadMovieNum command, so it would be:
_root.loadMovieNum(path,1);
This will only work if the mp3s are imbedded in the music flas. You will have to add a zillion frames to the timeline to see where the audio file ends, create a keyframe there and enter code on the keyframe. -
Making button and a html site in visual studio community version
Hi,
I like to Making button and a html site in visual studio community version but i dont know how to put the right code in my c# form to perform a action to my new html site i made with visual studio.
So ik have a button and i added a html site with the "add" options to my form.I want the button to open onclick that site so i can make a html about some info of the button image (tool to use with metal)
Any one? Sorry i am very new at this and also from the netherlands but i want to coding in c# great to to learn..
Many thanks!
ArendHi Arend,
Thank you for posting in MSDN forum.
Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance
Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. Based on your issue, I think that the issue is more related to the programming. So I’m afraid that it is not the correct forum for this issue.
To help you find the correct forum for this issue, could you please tell
me which kind of app you want to create? Is it winform app or others?
If you want to code for a winform app using c# language, I suggest you
can consult your question on specific
WinForm forum so that they can share you something for you to start.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
My ipod nano was synced by itunes and removed all of my music and game files, and replaced my music with my kids music that they have put into the current itunes library. My music is nowhere to be found on my computer, so now I am in the long, forever process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?
Contact iTunes support and explain your situation to them. They may let you redownload it at no cost.
http://www.apple.com/support/itunes/contact.html
If they don't, I'm afraid you'll have to purchase it again. Sorry.
B-rock -
How to show a MPEG4/H.264 video in Flash in an HTML page?
Maybe my title isn't clear. I am hoping someone can shed some
light on the h264 use in flash.
Instead of displaying a progressive download .FLV video , I
am trying to have an MPEG4 /h.264 approx. - a 30meg video display
in flash in an .html page. Quicktime is easy to do, but Flash is my
goal.
I read several articles on h264 and flash 9, including this
adobe
H264 article but was hoping there might be an easier and maybe
quicker solution. I did try renaming the .mp4 extension to .flv in
dreamweaver but it did not display the video. (...unless it was
downloading the video completely before displaying...not sure)
There is a ton of sites, blogs and articles on h.264 and how
flash 9 will display it...but when it comes to how one might
actually have h.264 in flash on their own site...I am finding it
difficult to figure out.
Forgive my lack of action script and Flash knowledge...any
direction is appreciated.
Erick...well I did follow that article on playing an h264/mpeg4
video in flash. It works well, but how would you add playback
controls?
FLVPlayback component only allows you to source an FLV video
not h264/mpeg4.
This is probably a simple as3 answer...but I am not
knowledgeable on as3 to know what code to add.
Any suggests or direction that I should look would be great.
In the meantime I am researching actionscript 3 to find and anwer.
E. -
Tips for Changing Flash Website to HTML / Dreamweaver
I am going to be taking over the management of a website that was designed entirely in Flash. There really is no need for the entire website to be entirely in Flash - it is confusing to navigate and most of the content would be so much easier to update and maintain if it were saved in html. I want to keep two flash effects - one is the splash page and the other is gallery where a grid of photos flips up like cards and you can click the individual photos for a link to a specifications page.
So, my question. Is there an easy way to transition the site from flash only into html / dreamweaver? I think I already know the answer to this - "NO" - I'm going to have to redesign the site in dreamweaver and just insert the two flash elements I want to keep, but if anybody has any tips or tricks that would be FANTASTIC! Thanks.The problem with FLASH sites is that they speak a different language - Action Script instead of HTML. While some Flashy effects can be emulated with DHTML (JavaScript, JQuery etc...) it's not always possible to achieve the exact same feel without FLASH. Everything depends on how Flash-centric the original site is and how much your client/boss is willing to toss out in favor of a more web accessible, search engine / user friendly / standards compliant website.
Incidentally, SPLASH pages are a complete waste of prime URL real estate. You don't want a Flash or image only SPLASH intro page on your ALL IMPORTANT domain name default page. If anything, you need to rebuild home page in HTML with plenty of keyword rich content for search engines and people to grab onto.
For more meaningful suggestions, please post a URL to the live site? It will be interesting to see how it ranks on Google and other SEs.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
Putting Flash Intros on my site?
I have Dreamweaver CS4 and I want to put a Flash intro on my
site that plays before getting to the home page, but I can't seem
to find any tutorials on it. Can somebody point me in the right
direction? I know how to embed a Flash video onto my pages, but I
don't know how to get one to be a separate piece. Thanks all!
Aza>>The splash screen becomes the index
Yup!
And just for the record, when a prospective client demands a
splash page or
autoplay music I refuse to build the site. Not saying you or
anyone else
should do that.
There's an old joke about a man asking a woman if she would
sleep with him
for $1M. She says, "Absolutely; Yes!" He then asks, "Will you
sleep with me
for $10?". She replies vehemently, "Hell No! What do you
think I am?" To
which he replies, "We have already established that. Now we
are merely
negotiating the price."
To me, if I tell a client or prospect that auto play music or
a splash page
will be significantly counterproductive and they should not
even consider
either and then I go ahead and add either to the site, I'm
nothing more than
what that woman was.
You see I don't think my primary goal is to please my client;
that's my
secondary goal. My primary goal is to please my client's
prospective
clients/customers. Not surprisingly, when I am unencumbered
in pursuing my
primary goal I routinely accomplish that secondary goal.
That's just me. Not saying you should take that rigid
position, but you
might want to at least think about it. ;-)
Walt
"RuesterProd" <[email protected]> wrote in
message
news:gppdtu$euh$[email protected]..
> This is something my client wants, but will probably
just make it a Flash
> Banner. But, just in case they are dead set on it....
>
> Basically it's a real small, fast animation of his
signature.
>
> If I understood you correctly, Nancy, you are saying
that a splash screen
> takes the place of your homepage? The splash screen
becomes the index and
> the
> page it transitions to is a 2nd page altogether?
> -
Calling a function in flash on an HTML page
Hi,
I need help regarding how to call a flash function from an HTML page. The idea is to have a link on my page (HTML link) that once clicked displays a movieclip in flash. I know i have to use the asfunction in HTML. So far I have just created my swf file with a function called showInfo. I've embedded the flash into an HTML page. I have then added a link on the HTML page as follows:
<a href="asfunction:showInfo">Link name</a>
but when I click it says:
"Firefox doesn't know how to open this address, because the protocol (asfunction) isn't associated with any program."
is there a piece of code I need to write in flash for this to work?
Thanks
Eugenehave your html link call a javascript function and use the externalinterface class in flash to communicate between javascript and actionscript.
-
Flash music player HELP on Safari
Trying to listen to the music stream on http://www.abercrombie.co.uk/anf/flash/music/music.html
However it wont stream the music..any ideas why? was working a few weeks back but now wont stream...not sure if its a safari or flash player issue...maybe a privay/security setting is not right? any help would be much appreciated!!
ThxWell, that is certainly clever - that you need a functioning Flash Player to troubleshoot your Flash Player...!
I don't know how you uninstalled and reinstalled Flash Player, but I suggest that you try the following:
download the FP uninstaller http://fpdownload.macromedia.com/get/flashplayer/current/uninstall_flash_player_osx.dmg
download the FP installer from http://www.adobe.com/products/flashplayer/fp_distribution3.html
close all browser windows, then run the downloaded uninstaller, followed by the installer.
Hopefully this fixes your Flash Player problem, otherwise we have to wait for someone with some basic Mac knowledge, which I don't have. -
I cant watch youtube vids, listen to music from some sites or videos from FB or anywhere else. Help! I have read some of the help answers but the Flash settings change hasnt helped me. I am on tumblr, soundcloud, Fb etc and Im frustrated that I cant play music or watch videos without switching to IE or AOL. :(
First off, you are on a VERY out of date version of Firefox, which could be the problem, but is also leaving you wide open to attack from many different security holes. You first thing to do is to go to [http://www.getfirefox.com www.getfirefox.com], download the newest version to your computer and install it.
AFTER doing that, do the following:
Run all Windows Updates, install all needed service packs, etc.
Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
and finally, if you still are having trouble, reset Firefox. [[Reset Firefox – easily fix most problems]]
Maybe you are looking for
-
HI I had a question regarding connection of JPS with Oracle8i. I have created a jsp page (Firstpage.jsp) for connecting to the database, Oracle. (I have provided the code at the bottom). I am using Tomcat 3.3. Everytime I run this page , I get an err
-
Game (Diablo II) Not Working
I get this error: The game diablo II quit unexpectedly I think it has something to do with 256 colors and not having that ability? I need help. Thank you! I really want to play this game I just bought specifically for mac. x3100 graphics card
-
Running application in full screen mode
Hi, everyone. I want to write an application (extends JFrame) which runs in full screen mode. It normally runs as a window with minimize, maximize, and close buttons on the top right corner of the window. I want to run it in full screen mode, or at l
-
Re: B2B Customer Protocol Inbound Operation
Hi All, It was a very good discussion. I am also facing the same problem. B2B-50029: B2B runtime error: oracle.xml.parser.v2.XMLParseException: Start of root element expected. So, I do need to change the ecs file in order to get problem resolved. Is
-
Block list how to use "*"?
I want to block a whole domain like [email protected] [email protected] then I want to use a add-on or some software to put block *hotmail.com ? Do not ask me to use filter inside thunderbird....... because I have many many span every single day. fil