Change Video Parameters with flash button
Hi can anyone tell me what code I would need to attch to my
button to change the adress of the video being played in my flash
video player.
Or can you tell me how i can create a playlist of videos and
use flash forward/ back buttons to skip between them.
So far i have a working player, i have found a way to change
videos by tweening, but that would take me forever to tween every
video in my playlist.
Thanks
Jey
Sure. Specically what I changed from what DW automatically
did is- delete the !DOCTYPE W3C line #1, Condensed the html tag to
simply <html>, moved title up under head, the "Content-Type"
bit under title, got rid of the "/" befor the ">" in that line,
eliminated the entire style section and replaced it with the body
tag, indented the "}" under the if line. Which one, or combination
of which did the trick, I don't know. Several of those things I
don't really comprehend. I was just trying to match what I knew
worked. And then on top of that, I had to publish in Flash7. There
is some kind of new way to do it in 8, called ExternalInterface
which made me dizzy when I read it. Here's the final working code:
<html>
<head>
<title>Melanie Harrison</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<script language="JavaScript">
<!--
function changeBgColor(newBgColor) {
if (window.document && window.document.bgColor) {
document.bgColor = newBgColor;
-->
</script>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body bgcolor="#d7e8eb" text="#000000">
<div align="center">
<p> </p>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','800','height','600','src','melaniehome','quality','high','pluginspage','http://www.ma cromedia.com/go/getflashplayer','movie','melaniehome'
); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="800" height="600">
<param name="movie" value="melaniehome.swf" />
<param name="quality" value="high" />
<embed src="melaniehome.swf" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="800"
height="600"></embed>
</object></noscript>
</p>
</div>
</body>
</html>
Similar Messages
-
How to define parameters with radio button
HI
How to define parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
I don't know how to paste figures here, otherwise i will provied u the figure for more details.
Regards.PARAMETERS : r1 RADIOBUTTON GROUP radi.
Go to --> text elements --> selection text
R1 <your text>
You can change the program selection screen lay out in screen painter (se51) .
screen number for your selection screen is 1000.
Regards,
Santosh reddy
Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM -
Hey everyone I am haveing problems with Flash Button
Hello everyone I am new here so I am haveing problems with
Flash Button because of the html address it wont go to the address
that i put into it it keep going to
http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesigner.net
why does it do that? this is a link problem issue with flash
button in macromedia dreamweaver 8?
someone please help me?
Jeremy>
http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesig
> ne
> r.net
In the dialog box for the Flash Button, in the link box, put
the full
absolute path if an external page. Including the
http:// part.
http://www.example.com/page.html
for pages inside your site- use the browse to file icon, and
use a relative
path.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Changing screen resolution with a button
Hi,
I would like to ask if there is a way for an interface to change the screen resolution of the computer? I am wanting to build an interface that loads an interactive camera that works with processing however I am needing it to be at the resolution 800*900 as the webcam screen is too small on a full 1680x1050 resolution.
Is there a way for the flash application to change the screen resolution with a button click? Are there any alternatives to this?
Thank you
JessIt is to display a portfolio at my design school for assessment, they will accomodate any necessary things that i may need for assessment viewing so it is very important to me.
Do you know what programs will work with this? What program would i have to install?
I only need to do this for my assessment so it is almost a desperate search for something that would work. -
Help with flash buttons please
hi i wondered if anyone could take a look at this for me
please?
http://beechhouse.yorkwebsites.co.uk
why is it in explorer you have to click the button to
activate it and then click it again to go to the page? and how can
i fix this please?It's IE-only behaviour as a result of changes Microsoft made
earlier this
year to their browser, regarding how Active Content (Flash,
Quicktime etc)
is handled, after losing a high profile court case.
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
Background:
http://en.wikipedia.org/wiki/Eolas
See also
http://www.adobe.com/devnet/activecontent/
If you're running Dreamweaver 8.0.2, the fix is already built
into DW's
interface.
If not, try
http://blog.deconcept.com/swfobject/
Using Flash buttons for navigation can negatively affect your
site's
usability - you know that, right?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"BumStuckOut" <[email protected]> wrote in
message
news:ejshnv$dpm$[email protected]..
> hi i wondered if anyone could take a look at this for me
please?
>
>
http://beechhouse.yorkwebsites.co.uk
>
> why is it in explorer you have to click the button to
activate it and then
> click it again to go to the page? and how can i fix this
please?
> -
Help with flash buttons actionscript 2.0
Help please, I am not sure what I am doing wrong here. Each button has this script
on (release) {
getURL("http://www.mysite.com/index.html");
Once they work I want to import them to dreamweaver.Do you happen to have any kind of rollover code tied to anything that is containing the buttons? I don't see the sense in having Flash buttons unless you have some form of animation associated with them, possibly triggered by rollover interactions. If so, the rollover may be blocking access to the on(release) interaction.
-
Firefox Problems with Flash Button alignment
Hey Forums,
I am using Dreamweaver CS3, for a website. For the page I
used a 3 column elastic with header and footer.
On the left sidebar I have four flash buttons, and whenever I
preview the page in Mozilla Firefox, the upmost button for some
reasons aligns to the right. I have no alignment settings set, and
the alignment for the sidebar is set to left. It only happens in
Firefox, not Safari nor Internet Explorer. I attached the code, if
you need anymore info, ask.>
http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesig
> ne
> r.net
In the dialog box for the Flash Button, in the link box, put
the full
absolute path if an external page. Including the
http:// part.
http://www.example.com/page.html
for pages inside your site- use the browse to file icon, and
use a relative
path.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Problem with Flash Button Sticking
I am adding Handlers to Mouse Events using action Script 3.
The buttons move up and down when rolling over the button. So you
have that "wave effect" when navigating the site.
The problem I am having is that if you rollout of the button
before the button is done playing the movie it freezes at that
point of the movie.
Has anyone had this problem before? Can anyone help?
THANKS!The standard reply is -
1. Why are you using frames since there are many compelling
reasons not to?
2. Why are you using Flash navigation since there are many
compelling
reasons not to?
Most people here don't work with (assiduously avoid) both of
those critters,
so, you may have trouble getting a more explicit response!
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
==================
"jawy2007" <[email protected]> wrote in
message
news:fgrr3g$ivf$[email protected]..
> Problem with Frames in Dreamweaver 2004 mx using Flash
9. When using Flash
> buttons in Dreamweaver within a frame and specifing a
target frame the
> flash
> button loads a new page in another window and not in the
frame specified.
>
> Steps to reproduce:
>
> Dreamweaver: New Wesbite / "Create from samples" /
Framesets / Select
> "fixed
> left"
> In the left frame insert a Flash Button and link it to a
page to load in
> the
> mainFrame.
>
> What went wrong?:
>
> When the flash button is pressed the page loads in a new
Internet Explorer
> window instead of loading in mainFrame frame.
>
>
> What should have happened?:
>
> When the flash button is pressed the page should load
with the mainFrame
> frame.
> -
Browser "Back" arrows do not work with Flash buttons.
Just can't seem to get around this problem...
I've made several flash buttons for use in my navigation bars. They work great but the "back" arrows on the browser are always grayed out. It doesn't seem to matter what kind of browser I use.
The site was made in Dreamweaver and the Flash buttons are imbedded within the pages. I posted the same question on the Dreamweaver forum and got some vague answers.
Is there some code I can put into my Flash buttons?
If you have an answer please be specific as I'm not an expert.
The site is fireonmcginnis.com
or just type "Fire on McGinnis" into a search engine.
-ToastieoSpry or regular hyperlinks in a list or nav configuration. Either is better than Flash buttons.
Thing is, a search bot will read the HTML in those kinds of links (spry or HTML) and index them. That way if you have an event calendar for upcoming shows, or a discography page, it can find them and will be able to make a reference to them in later search engine databases (usually about 72 hours after the indexing). With the Flash buttons there is no code for the bot to find and your upcoming events, or a downloads page if there is one, will never be seen in a search even if people look directly for "fireonmcginnis: schedule", or "music by fireonmcginnis" because to Google, Yahoo, Lycos and the others the pages simply don't exist.
Spry is great if you have submenus, and since it can be customized using CSS, you can make it match your site layout. You can also do that with regualr hyperlinks and CSS, but spry has a more appealing look to a lot of web users and the submenus are a little harder with basic HTML.
For the record the script should read: getURL ("http://www.site.com/page.html" "_self"); for the buttons. There'a s drop down to select _self, _blank, _parent etc. when you add the getURL script to the button.
But... you need to stay away from Flash buttons for navigation or you're really defeating the purpose of putting a band on a website in the first place. It's about exposure and Flash buttons will severely limit that exposure, even if they work properly. -
Hi
I have built a dreamweaver template and have used
dreamweavers flash buttons. I can see these buttons on my web page
but the link from the flash button will not work both files are
../home.html and ../home.swf .
thanks for lookingUnfortunately using Flash with templates is going to be a
challenge until
Adobe can get things sorted out.
When you insert a Flash element onto a page in DW8.0.2 or
later, two things
happen:
1. A link to a js file is inserted in the head of the page
2. A chunk of code is inserted where you placed the Flash
element,
including a call to a function in the js file, and a pair of
<noscript> tags
that include the <object> and <embed> HTML tags.
To make this process work when you are wanting to insert
Flash on a child
page, you have to do this -
1. Create a blank HTML page, and insert the Flash on that
page.
2. Copy the link to the js from the head of the page you just
created and
paste it into the editable region of the head of the child
page.
3. Copy the entire section of code inserted in the body of
the page, and
paste that into the child page at the location where you want
the Flash to
appear.
That should do it for you....
However, if you want to use Flash for navigation, consider
this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will
not be spidered
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
It's usually a very bad idea for these reasons...
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
==================
"neilpeel" <[email protected]> wrote in
message
news:[email protected]...
> Hi
> I have built a dreamweaver template and have used
dreamweavers flash
> buttons.
> I can see these buttons on my web page but the link from
the flash button
> will
> not work both files are ../home.html and ../home.swf .
> thanks for looking
> -
Hi,
I'm using DMX2004 to update an old project (version 10.1)
I wanted to replace old ugly buttons with Flash components
ones, which I
did (I've got around 20 buttons on the scene, all duplicated
from one
castmember). Everything was working fine and speedy, apart
from some
script errors.
Then I discovered there was a Flash 8 Asset Xtra update which
I decided
to install as I was in a quite early button integration
stage.
From then on, authoring became sluggish, Director hangs for
about 30
seconds on each script error.
I did a test from scratch (putting buttons on the scene) and
it seems
having a cast member for each button on stage helps but it
will crawl
anyway with 20 buttons.
Do I need to switch back to old Flash Asset version ? Is
there something
to do ?
Thanks in advance.
PJI too get very sluggish behaviour in authoring when I put a
Flash component sprite on stage.Even with a 3.5Ghz machine with 3G
ram!
I also have this issue, posted here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=11&catid=187&threadid =1379636&enterthread=y
Wonder if it's all related? -
Problem with Flash Buttons Help me
Sir
i design some Flash buttons but it is save as .swf extension
if i save as jpg or gif then animation not working as well as
effects.
sir
how can i call the flash buttons in java plz guide me
JButton mybutton=new JButton(how can i pass swf extension button);kglad
what I did was place the code with the trace evt into the action script under the label on the timeline I have for album1. With AS3 I guess that's the new way of doing it.
I then saved the file and output it for preview in flash as well as html, and I got no response on pressing the button apart from the normal animation and sound I have associated with my buttons. I also looked in the output window and no information came up, which in response to Ned's help, means my buttons are not connecting.
Damn, I have tried everything and retraced my steps from scratch, but I am missing something.
Nonetheless I also opened up dreamweaver cs4, and made a test HTML like you mentioned yesterday, and I inserted my flash file(banner) onto the webpage. Went to preview it, through dreamweaver cs4, but everything else but my buttons work. I have graphics, sound and animation but no damn links work.
Thanks for your help
Regards
Charlie -
Flv video created with flash 8 video encoder
anyone know why flv files that I've created using the flash 8
video encoder don't seem to have any metadata in them? or maybe
they do but they never kick off the NetStream.onMetadata event so I
can't read it...
Similarly if I use the 'import video' function of Flash Pro 8
I get the same issue - yet FLV video created using Sorenson Squeeze
works fine, so I'm fairly confident that my code is OK.
Even more bizarrely, if I use the FLVPlayback component that
ships with Flash 8, that seems to read in the metadata OK!
argh!
Just to confuse things even more, the flash help for
NetStream.onMetadata says: "The Flash Video Exporter utility
(version
1.1 or greater) embeds a video's duration [...] into the
video file itself."
As far as I can tell I've got version 1.0 of the flash video
encoder/exporter but I'm damned if I can find out where to get an
update from...! Ever since CS3 came out it's been harder and harder
to get hold of stuff about flash 8 on the Adobe site...well that's the thing - the metadata never traces out if the
video was encoded with flash video encoder, but that code would
work fine with video encoded with sorenson squeeze.
think I have worked it out now though: in order to pause the
video at start I am calling NetStream.seek(0) when I receive
"NetStream.play.start".
For some reason when I do this with flvs encoded using flash
video encoder, it stops the onMetaData event from firing - but
works fine with other flvs! weird... shall have to find another way
of pausing the video at the start I guess.
thanks for the reply though -
Did you have video problems with Flash Player 10.2?
Hello Flash Player community,
We're getting ready to release Flash Player 10.3 and we'd like to ask for your help and input. If you encountered video related problems with the current version of Flash Player on sites like YouTube, we're especially interested to learn if the change's we've made to 10.3 help you. We've tested this internally, and while we've seen a definite improvement, we really want to expand the scope of hardware and have those previously impacted try again.
Here's all you need to do:
1. Install the latest video drivers for your system (see step 3 on this page for video driver links and instructions.) This is important, as older drivers contain limitations and bugs that can impact hardware acceleration in Flash Player. Flash Player works with all video cards, but it's possible hardware acceleration might not be fully supported on older hardware.
2. Download and install the browser appropriate Flash Player 10.3 from labs.adobe.com. If you encounter problems installing, please let us know. When upgrade issues occur, it's recommended you run the Flash Player uninstaller (Win, Mac), then try installing again.
3. Verify that the Flash setting "Enable hardware acceleration" is checked.
For instructions on finding this setting, please see step 1 of our Troubleshoot video playback issues article. Ignore the instructions to uncheck this setting, we want hardware acceleration to be enabled (make sure “Enable hardware acceleration” is selected/checked.”) If video still fails, please disable hardware acceleration and try again.
4. Navigate to the following two video samples and verify that both video and audio play correctly:
http://www.youtube.com/embed/tgbNymZ7vqY?wmode=direct
http://labs.adobe.com/technologies/flashplayer10/live-player/
Note: The second link is a large 1080p HD video, so don't worry about any buffering/bandwidth issues with this video: what we're looking for here are display issues (black screen, corrupted video, etc.)
That's it! We'd love to hear your success stories, especially if you were one of the ones that ran into problems when 10.2 was initially released! However, we're equally interested in hearing if things don't work correctly. Please let us know on this thread or send email to [email protected]. Please include a brief description of the problem and your hardware diagnostic file.
Thanks,
Chrishttp://forums.adobe.com/thread/657743
-
How do you increase the video size with a button?
I'm trying to set up a demo for a meeting. I want to show how
you can increase the size of the video.
Example:
http://video.google.com/videoplay?docid=-1532523169750528353
There are two buttons in the bottom right corner of the
player that will increase the video size.I havn't tried this but I would thinkg that this could work:
If you have a video object on your stage (the object that the video
actually plays in) you could probably make a button that simply
changes the dimensions of it such as:
setProperty("theVideoPlayer",_height, 240);
setProperty("theVideoPlayer",_width, 320);
The movie should adjust to fit the screen, however if you
make the movie larger than or a different aspect ratio than the
original, it will be blurred or distorted respectively. Make your
original movie, therefore, at the largest size you want it to be
seen. Keep the aspect ration the same always.
Maybe you are looking for
-
Mail with IMAP don't work correctly with Lotus Domino server
I have a issue with the Mail program in Macbook Pro and Macbook Air. I have a mail server, Lotus Domino. I configured Mail in the macbook to access Lotus domino with IMAP protocol and i have issue with the refresh. When i read a email with me iPhone
-
Hi there, I created a new user account and granted it dba. I logged on to this account and I am trying to run select statments on V$SQLAREA, V$SQL, V$SQLTEXT, and V$SQL_PLAN, but I am getting ORA-00942: table or view does not exist 00942. 00000 - "ta
-
Oracle Installation for Production Environment.
Hi All, We need to install Oracle in our production environment. But since there is no DBA in our project, we need to do it by ourself. I was just wondering what all steps and cautions I need to take to install it. I was told just double click on Set
-
Seamlessly Concatenate (Stream) a list of MOV files
I have three questions: 1) Is there a way to seamlessly play a list of MOV files? For example, input would be a list of URLs for MOV files, and the output would be the MOV files displayed sequentially without any pauses or blips. The MOV files would
-
Oracle Alert: Perticular Customer Not Receiving Alerts on Order
Hi, The issue is regards to Alert in Order Management "Field Replenishment Orders Shipped" Purpose of this is to send the alert to customer on Order.However it working for few of the customer and not working for few of the customer. If i checked from