Control sound in another (html) frame
Hey hi...
I'm making a site (in html) with some flash elements in it.
We also have a background tune playing, but when u navigate
to another page
the tune restarts, wich can get very annoying.
I was thinking of making a frame wich holds the music and
hide that frame
(no height) but I wanna have the control on the main page,
how would I do
something like this?
Tia!
Wouter Immerzeel wrote:
> Hey hi...
>
> I'm making a site (in html) with some flash elements in
it.
> We also have a background tune playing, but when u
navigate to another page
> the tune restarts, wich can get very annoying.
> I was thinking of making a frame wich holds the music
and hide that frame
> (no height) but I wanna have the control on the main
page, how would I do
> something like this?
Pretty much possible.
Look up manuals for "LocalConnection", design just for SWF
communication.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
Controlling sound of separate html files within the same html page.
I need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf. The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page. The following items have not worked:
soundChannel.stop();,
soundMixer.stopAll()
I think my solution may be to use ExternalInterface but I am not sure where to begin with this. Any suggestion would be appreciated.you need to use the localconnection class to communicate between swfs open at the same time by the same client.
-
Applet reloading w/ html frames
My applet is in a navigation bar, in its own html frame. When going to another page, I load a new html frame set. The applet html frame is still the same, the other frames change.
HTML knows how NOT to reload the html frame that contains the applet, since it's the same as before. But the applet itself will reload everytime. I mean, the applet classes don't load again, but the applet process starts again, going through the init() method.
I thought it would go to start() directly, which is what I want.
What should I do?
MiguelApplets need to be initialized when the page is loaded so you can't reliably avoid it. (making a static flag would solve the problem on some browsers so that the code is performed only when the class is loaded, but some browsers do reload the classes every time...)
Why do you need to load a new frameset? You do know that you can specify the frame where the document will be loaded with the sencond parameter of the showDocument-method.... -
Hy,
I've some mc called, one a time, with attachMovie named
mcTarget, each of
this has one speaker track sincronized with the animation on
the stage. For
this reason sound is put directly in timeline in stream mode
(proprieties>>Sincr: stream). But now I cant control
the volume of these
sounds. I'll tryed to do this:
//on main root
mySound = new Sound(); //no specify target to refer a "global
sound"
function Volume(val){
mySound.setVolume(val);
trace(val);
// in another place
Volume(50);
This works only with a sound placed in main root but does
nothing if the
sound is placed on a nested mc (my case).
Someone have an idea or a alternative way to do this?
Thanks
Roger"sneakyimp" <[email protected]> ha scritto
nel messaggio
news:e1kumu$sv6$[email protected]..
> mySound cannot be defined as an empty sound object. it
has to refer to
> the
> soundclip in question.
This is the "canonic way", but you can use that code to do a
something near
at "global sound"
you can see it also in at
http://www.kennybellew.com/tutorial/globally.htm.
>
> // NO
> // mySound is attempting to refer to *one specific
sound*
> // *not* a global sound setting
> mySound = new Sound();
> mySound.setVolume(50);
>
> // YES
> // this is referring to one particular sound
> this.MySound1.setVolume(50);
>
> I'm not sure how this relates to sounds added to the
timeline. i think
> you
> have to use the flash authoring interface controls to do
it. i *don't*
> think
> you can control sounds added this way with actionscript
unless you can
> determine what their target path is.
Sure, it's works with sound put in a root timeline..
> this may or may not be helpful:
Thanks, but I didn't find the solution for my case...
>
http://www.kennybellew.com/tutorial/multiple_scenes.htm
many thanks for the answer. -
Include a html page in another html page
How do I include a html page in another html page? I have 7
separate page making up a website. I made a separate page for the
bottom navigation which I want to include for each page. Instead of
making up a separate nav bar for each page.
Thanks for your time.
Todd DignanJust remember that the file being included CANNOT be a
stand-alone HTML
page - it must not contain <html>, <head>, or
<body> tags if you want to
continue working within DW.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"nX07" <[email protected]> wrote in message
news:fm9pvr$rn6$[email protected]..
> Hey Todd,
>
> Depending on your web site's server environment, you can
do it a few ways.
>
> First, and most convenient is if the server you are on
has PHP, the simple
> php
> include function will do the trick.
>
> Just place this in where the HTML would actually go for
the footer
>
> <?php include("fileofthebottom.html"); ?>
>
> If you don't have PHP, you should be able to use SSI
(Server Side
> Includes).
> same principle applies as above, and is simple to
understand:
>
> <!--#include file="fileofthebottom.html" -->
>
> If for some reason you can't do SSI, the other option
would to be using a
> frame or iframe, which is not recommended for several
reasons; mainly
> accessibility.
>
> The simple code is:
> <iframe src ="fileofthebottom.html"width="whatever"
> height="whatever"></iframe>
>
> Hope this helps :)
>
>
> -
How to insert an html into another html
Hi there,
I have created a slide show with adobe bridge CS4 ,
www.roulasorour.com/storm/index.html
I am trying to insert it into the edit3 region of page
www.roulasorour.com/test
Steps I am taking to do this:
Select all code of the slide show
Paste it into Edit3 region
as you can see the slide show is not showing...
Would appreciate any help,
sincerelyTo bring one HTML page into another HTML page, use an iframe (inline frame).
<iframe name="IFRAME1" id='IFRAME1" width="100%" height="500" frameborder="0" allowtransparency="true" scrolling="auto" src="folder/page.html">
More on iframes:
http://www.w3schools.com/tags/tag_iframe.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Control Sounds: play, return, pause
Hi All,
I have a movie clip that i want to add sound to! I currently have three buttons, A) return, B) pause, C) Play. So return brings the movie clip back to frame one to begin again, pause pauses at the current frame, and play resumes play after pause. All this functionality is working properly. However I also want to do this with sound. I found a workout around by going to properties -> Sync -> Stream. Which allows these buttons to also control the sound...im not realy sure how or why?! But what I want to know is there a way to hard code it? I tried stopAllSounds(); but this did not work.
Here is a code snippet I am currently using for controling the movie clip to give you an idea:
case returnBt:
gotoAndPlay(1);
break;
case playBt:
play();
break;
case pauseBt:
stop();
break;
Thanks all, im curious to hear if there is a way to hard code it.
AS2 and AS3 answers welcome.Look into using the Sound class for playing/controlling sounds. If you search Google using terms like "AS3 Sound tutorial" you should find what you need to implement this.
-
i am createding a digintal flipbook for my work, we have adobe cloud. needs to have controls, sound, allow rss feeds, pdf download, print options, etc. what software works best to do this? are there plugins for flash that have these controls built in, where i just import my my pdf files?
If you don't already know enough about Flash's capabilities to answer this then you might want to consider an alternate solution, although the level of customization will be limited. The publishing portion of the application family can easily produce ebooks:
http://www.adobe.com/products/digital-publishing-suite-family.html
That's about as drag and drop as you can get for your basic needs.
If you need deep customization at the same time then Flash is perfectly good at this kind of thing, but there is no "easy button" that will do it all for you. There are many flipbook creation services (similar to the digital publishing route), but since you want RSS feeds, controls, sound, etc you may find the result isn't as complicated as you need.
I'd suggest just using Flash, getting a page roll effect plugin and creating your book by hand, giving you the full coding power of Flash to perform all your tasks. Some of them, like basic page flipping, you can find project source code for (page clipping example). -
HTML Frames not using custom scrollbar in Flex 3 mx:HTML
I've been working on an app that uses a custom skin in Flex 3. The app has a help window. The help contains an HTML with frames. Problem is, the main app vertical scrollbar custom skin is being ignored for the HTML Frames scrollbar (what looks like the classic version of Halo - maybe). This only happens with frames. It happens no matter how or where I place my HTML or HTMLLoader. If I dont have frames the custom scrollbar is used. Is there a node im missing in my skin css (obviously not VScrollBar or ScrollBar - the two standard used by Flex)? or some other way to connect the HTML Frames scrollbar to my custom skin.
I'm not a noob but not an expert.
Thanks.
See attached image for example.Take the code of the jsp file :
<%@ page language="java" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<html>
<head>
<title> First Struts Application </title>
</head>
<body>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr bgcolor="#36566E">
<td height="68" width="48%">
<div align="left">
<img src="images/hht.gif" width="220" height="74">
</div>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<html:form action="Lookup"
name="lookupForm"
type="wiley.LookupForm" >
<table width="45%" border="0">
<tr>
<td>Symbol:</td>
<td><html:text property="symbol" /> </td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit/> </td>
</tr>
</table>
</html:form>
</body>
</html> -
Unable to open 10g Database Control Webpage from another computer
Unable to open 10g Database Control Webpage from another computer
Hi Gurus
I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
I can open Database Control Webpage on the database machine by typing
http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
or
http://136.18.70.189:1158/em
But can not open it from another PC
When I do following from another PC
1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
2. http://136.18.70.189:1158/em
Get error:Can not display web page
I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
On the other PC I also tried adding 136.18.70.189 to
tools - internet options - security - local internet - sites - advanced - add this web
site to the zone as http://136.18.70.189
But it did not work
Please help with any ideas
Thanks a bunch
New DBAFirewalls?
DNS translation issues? -
Session timeouts for login page with in a html frame
Hi, i have a login page which when the session times out gets redisplayed within the frame of the html page where the session timed out , i have tried setting the session timeouts to be less than the other application so that the login page will timeout before the documentum application but this does not make a difference.
does any one know how i could get the login page to redisplay by itself, outside of the html frame. do i need to have some javascript to figure out if there is a frame then redraw the page etc...and how should i di this ? any working examples will be appreciated.You would certainly need some Javascript or use the meta-refresh tag to the session timeout time. If you set the meta-refresh tag in a frame to a time just a little bit bigger than the session timeout time and the set your security mechanisms to force the user to login in again when the session times out, the frame will refresh after the session has timed out and the application should forward the frame to the login page.
<meta http-equiv="refresh" content="session-timeout-timeout+1">
(timeout time is in seconds) -
How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames). I mean, is it possible to take the playhead from one frame to another frame directly which is 100 frames away in the time line? Thanks for any reply.
In the Timeline, go to the first frame and press M to put a marker on it. Go to the other frame you want to jump to and put a marker on that one too.
Now press Ctrl+Semicolon to go to the previous marker - or Ctrl+Comma to go to the next marker.
Andy -
Sound keys on keyboard no longer control sound. What should I do to fix this?
Sound keys on keyboard no longer control sound. What should I do to fix this?
Hey Bill,
Check to see if the option for "Use all F1, F2, etc. keys as standard function keys." is turned off. When it is turned on, you would need to hold the Fn key while hitting one of those keys will make it work they way icons are displayed. To find out where this option is, go to System Preferences > Keyboard and in the Keyboard tab is where you want to be. Take a look at the article below for more information.
How to change the behavior of function keys on your Mac
http://support.apple.com/en-us/ht3399
Takre care,
-Norm G. -
Copy a group of cost centers from one controlling area to another
Hello,
is it possible to copy a group of cost centers from one controlling area to another?
Or a group of internal orders?
Thanks
JasminaNo. If you used any upload tools like LSMW, perhaps you may use that for uploading the second controlling area.
-
Search help for a field in table control based on another field value
Hi,
I want to attach the Search help for a field in table control based on another field value.
Please help me asap.
Will be highly rewardedHI,..
Check these links
search help in table control
Re: How to create Search Help for a field in Table control !!
How to create Search Help for a field in Table control !!
F4 Help In Table Control
Control table F4 help
Problem in F4 help in screen field
check this code
DATA: BEGIN OF it_value4 OCCURS 0,
TEXTCODE LIKE ZXX-TEXTCODE,
TEXTDESC LIKE ZXX-TEXTDESC,
END OF it_value4.
progname = sy-repid.
dynnum = sy-dynnr.
SELECT TEXTCODE TEXTDESC
FROM xxxx
INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
WHERE LOSS_CODE =<b> IT_VALUE1 .</b>
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TEXTCODE'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ITVALUE-TEXTCODE' "-->UR 4 th filed value in screen
value_org = 'S'
TABLES
value_tab = it_value4.
endmodule.
Message was edited by:
veereshbabu ponnada
Maybe you are looking for
-
Diffebetween Business system and Logical system...
what is the difference between Business system and Logical system...
-
hello..i accidenty delete All my files in my ipod touch,,and icant restore my itunes,coz i need a version of itunes 10.6.3,but i only have 32bit..i cant download because they need 64bit,,pls,,help me dont know what to do,,i need to restore my itunes
-
Trouble Registering Custom MBean in WLS 6.1 (Example from JMX Guide)
Hi there, I have trouble getting an example to work provided in the BEA Manual "Programming WebLogic JMX Services". The example of registering a custom MBeans produces in my case: java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient Gett
-
I moved Illustrator app from its org. fold. then put it back. now my swatches wont load.
-
How do I set up a printer icon on my desktop with vista using an officejet pro 8500?
Help please, I have looked and looked for some file that will take me directly to the print screen to make a shortcut on my desktop, with no luck at all.