Advanced Help
The output htm file:
You could use the output web page on your site exactly as it is created. If someone clicks on a stream music option you could popup the page in a new window, or load it into a frame. But probably you will want to take the streaming audio part of the page and place it somewhere into your existing website. This is very simple. If you are using a text editor then you will see the area with the Flash object in it easily. It has an <object> tag and this area of the code is separated from the rest by several blank lines. If you are using a web page design tool like Dreamweaver or FrontPage then you will need to cut and paste the Flash object. Note, in these programs you will probably not see the buttons in the design stage, i.e. it doesn’t show the contents of the Flash animation. It just has a white rectangle placeholder representing it, but you can still cut and paste it.
The Flash animations are set to transparent (in the html), but this does not work correctly in Netscape. So also the background colour (from "Options") is setup. So if you cut and paste the Flash object onto a page that is not the same colour as your "Options" setting, it will look fine in Internet Explorer, but in Netscape the background colour around the Flash animation will be wrong. Either setup the colours correctly in "Options", or amend the colours data in the html. Background colour is in the html in two places, one for IE and one for Netscape. See <object> and <embed> tags.
Renaming the output files:
You can rename the htm file to anything, no problem (a legal name for your web server of course). You can rename the controller animation to anything as long as its name ends in the instruction letter before the ".swf". So "mysongc.swf" is valid for example (with an instruction to loop), and "mysongd.swf" with an instruction not to loop.
After renaming you will need to change the html code in the web page that calls the Flash controller animation. You will see the swf name in two places (<object> and <embed>) one place is for IE and the other for Netscape. You will have to change both. ALSO, you will then need to rename the streaming animation. It must have exactly the same name as the controller, but with the instruction letter replaced with an "s". So in our example it must be called "mysongs.swf". When you upload the files, then the htm file could be in a different folder to the controller swf (provided its tags are correct), but the streaming swf must always be in the same folder as the controller.
Changing a controller without going through the creation process and waiting for compression etc:
If you want to use a different controller, just copy one from the hifias "Controllers" folder and rename it (see above) correctly to replace the existing one. The only thing to be careful of, is that the Flash version, the animation width and the animation height may be different. These values are in the <object> and <embed> tags (for IE and Netscape). Actually width and height are in there twice, and version once. So if your new controller differs in Flash version, width or height then you will have to change these tags. The controller names indicate the values at their ends, in the format "ffwwwhhh". ff Flash version, www width, hhh height. For example "timegelpurple04130032.swf" is Flash version 4, width 130, height 32.
None of the controllers look or behave exactly like I want the streaming to look like on my site:
Firstly, make sure that you have previewed all of the controllers "Controller" tab in options, and have seen the instructions that you can give them "Instructions" tab in options.
One option is to have hifias create bare output. This type of output is completely invisible, it just streams the audio. Then you can design your own gif stop and play buttons and have it load a bare hifias page into a frame when play is chosen, or an empty page into the frame when stop is chosen to stop it by unloading the other page.
Another thing to do is to check the HIFI Audio Stream web page because we are planning to create more controllers and post them there. You simply download the ones you like and copy them into the HiFi Audio Stream "Controllers" folder. Some of them may respond to special "Instructions" to make them more customisable.
Or if you have the Macromedia Flash creation program then you can create your own controller




































