Move swfobject higher in browser window??
Hi guys, I want to make my swfobject a little higher in the broswer window, so it cuts the top off it in fact. if I can do this in the code in Dreamweaver for the whole movie, then it will save me having to go through all of the flash files and changing the stage dimensions that way. Is this possible?
<style type="text/css">
<!--
body{
height: 100%;
width:100%;
margin: 0;
overflow:auto;
background-color: #AEAEAE;
div.minimum_size {
/* for mozilla */
min-width: 1300px;
min-height: 880px;
width: 100%;
height: 100%;
/* for IE */
width: expression( Math.max( document.body.clientWidth,1300 ) + "px" );
height: expression( Math.max(document.body.clientHeight,880 ) + "px" );
-->
</style>
this is what i have the whole thing in:
<body>
<table cellpadding="0" cellspacing="0" border="0" height="100%"
width="100%">
<tr>
<td align="center">
<div id="flashcontent">
<div align="center">
<p>In order to view the content on this page, you will need the
latest version of Adobe’s Flash Player. <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
" target="_new">Click here to download it</a>.</p></div>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("Index.swf", "Index", "1300px", "880px", "8",
"#AEAEAE");
so.addVariable("flashVarText", "this is passed in via FlashVars for
example only");
so.addParam("scale", "default");
so.write("flashcontent");
// \]\]\>
</script>
</td>
</tr>
</table>
</body
Similar Messages
-
How can i get my movie to expand the browser window?
hi everyone,
thanks for checking out my post...
i want to create a fullscreen site like www.danwheldon.com or
www.highlandspring.com where the movie expands to the whole of the
browser window.
ive made my movie 1024x768 and just copied the html source
from the pages just to test it but my movie just appears as
1024x768 in the top left of the screen and doesnt reach to the far
corners.
when that didnt work i checked out loads of tutorials and
spent a whole day trying to figure out how to do it but to no
avail.
does anybody have a clue what im doing wrong?
thank you very much and i hope to hear from you.
all the best,
markHi Mark,
First thing: in the HTML tab of the publish settings, set the
dimensions to percent and choose 100 for width and height.
Depending on your content, you might then need to play around
with the scaling of the objects on stage. There's some info in the
online help about this:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000150.html
Cheers,
Julian -
How do i control an external movie in a separate browser window?
i am creating a website for a band, with an mp3 player. i
want to be able to make an mp3 player that pops up in a separate
browser window. the mp3 player would have a "playlist" that can be
dynamically changed from the main window, which gives a list of
albums & tracks to choose from. the model for this is
Rhapsody's web interface.
so, how would i go about creating & dynamically changing
the playlist (while music is playing) across multiple browser
windows? the "playlist" would be an array of references to mp3s, i
guess-- so is there a way to pass events & variables across the
windows?This URL has simple demo on LocalConnection.
http://actionscriptandflex.blogspot.com/2010/09/localconnection-example-in-actionscript.ht ml -
How to center flash movie in browser window
Can anyone explain how to horizontally center my Flash movie in the web browser window after publishing?
A bit of background:
I was able to achieve this using <center></center> tags a few years ago. But I have since upgraded to CS5 and I understand that this old method is now obsolete.
I have found a few threads/forums that address this, but I know nothing about HTML and these threads don't help me because they assume you have more knowledge than I possess. When opening up the index.html file in Dreamweaver I can't find anything that looks vaguely familiar to what is being discussed. I have found some code samples using <div></div> tags but have no idea where to place it.
So I will need it explained to me in a step by step fashion, including which file I need to fix and what program I should use. Code samples will be very welcome if you can tell me exactly where it goes.
Thanks in advance...Just realized that there is no scrolling functionality with the .swf generated from the new CS5. Can anyone help out by providing revised code for centering and scrolling?
I found something elsewhere in the forums that worked for both centering and scrolling that worked fine yesterday, but upon visiting my site today for testing, it did not allow the scrolling, and centering did not work in Firefox. Tested both Safari and Firefox on 2 Macs running Snow Leopard.
Again, much appreciated - nice to visit forums where people are interested in helping instead of screaming at each other. Will visit the Illustrator or Indesign forum to see if I can help out someone there... -
Open QT In New Browser Window - Followup Q For Quicktime Kirk
Quicktime Kirk:
I found a thread a few months ago (now archived) where you explained how to open a QT movie in a new browser window at specified dimensions. The example you gave was your page:
http://homepage.mac.com/kkirkster/bushbashquiz/
So I've got it all working and it looks great in Safari and Fireworks (thanks very much!), BUT unfortunately it does not work in Explorer. What happens in Explorer is that the window basically targets "_.self" (i.e. the parent window goes away), and when you click the "Close Window" button it closes the window and you're left with nothing.
I know that Explorer has all kinds of bugs, but unfortunately it's popular -- esp. with the PC crowd whom I need to allow for. Do you or anyone know how to get this functionality working in Explorer???
Thanks again.Yep. I just checked the link using IE for Mac. The "pop-up" window replaces the source window (not supposed to do that). Another reason to no longer use IE on a Mac.
The javascript is valid in every other Mac browser. Just not IE, it seems.
My PC is down (I think it really died this time) so I can't test its implementation of javascripts on a PC platform.
And, you're correct. It doesn't work as it should when opened using IE on a Mac.
I "borrowed" the javascript and it must contain errors that are not so obvious on the Mac OS.
I'll look for the cause but can't promise a solution. Thank you for pointing this out. I try very hard to accommodate all browsers and OS's. This one skipped by me (no IE use in years on my Mac).
Maybe a javascript guru can "fix" my (or IE's) sloppy page code. -
How to get header to stay centered on different browser window sizes
Hi,
Is there a way to change the header design so it stays
centered and moves to accommodate different browser window sizes?
Right now, it stays where it is, and everything else moves and
stays centered as window size changes. I'm a new Dreamweaver user.
the url is
http://ellifolks.com/
I tried changing the template I made for the site, and was
able to delete some things, but it won't let me add things now. I
can't undo to where it started, either. I tried doing a second
template. Now I can't save anything -- I get a message saying
"sharing issues".
Thank you.Combining absolutely positioned elements with centering
tables (as you have)
accounts for about 20% of the posts on this forum. It's
commonly done
because it seems so easy. This is one of the penalties you
pay for taking
that easy road.
The answer to your question is yes, you can do this.
1. Make this image the page background -
http://ellifolks.com/images/ellifolks_web_header_repeat.gif
- and use CSS to
give it a style of background-repeat:repeat-x.
2. Place your assembled header within a STATIC div (i.e., NOT
a layer) at
the top of the page by changing this -
<div id="apDiv1"><img
src="images/dots_header_left.gif" width="175"
height="192" alt="dots left" /></div>
<div id="apDiv2">
<div align="center"><img
src="images/header_animals_logo.gif" width="759"
height="195" alt="ellifolks logo" /></div>
</div>
<div id="apDiv3"><img
src="images/dots_header_right.gif" alt="dots right"
width="175" height="192" /></div>
to this -
<div id="header"><img
src="images/dots_header_left.gif" width="175"
height="192" alt="dots left" /><img
src="images/header_animals_logo.gif"
width="759" height="195" alt="ellifolks logo" /><img
src="images/dots_header_right.gif" alt="dots right"
width="175" height="192"
/></div>
3. Add this to your CSS -
#header { width:1109px; margin:0 auto; }
That should do the trick.
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
==================
"zinnia3" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
>
> Is there a way to change the header design so it stays
centered and moves
> to
> accommodate different browser window sizes? Right now,
it stays where it
> is,
> and everything else moves and stays centered as window
size changes. I'm
> a
> new Dreamweaver user. the url is
http://ellifolks.com/
>
> I tried changing the template I made for the site, and
was able to delete
> some
> things, but it won't let me add things now. I can't undo
to where it
> started,
> either. I tried doing a second template. Now I can't
save anything -- I
> get a
> message saying "sharing issues".
>
> Thank you.
>
> -
I don't know what details are needed so I'll just rattle off anything that I can think of.
I am running an Asus laptop with windows 7. I have never had an issue with firefox in the past (beyond the usual freezing and some obvious issues with pop up ads that are par for the course with firefox since adblocker never does what it says.... not really. Lets be honest.) I am using Avast for my virus protection and it is also up to date.
My issue started about an hour ago when firefox stopped responding. The video I had playing kept going but I could not interact with anything. Assuming the program froze for the billionth time that week I rebooted it. This has always solved freezing issues in the past. Now, however, firefox is doing something new.
I can access the menus and almost everything on the window itself except for the minimize/maximize/close buttons, I cannot move the window at all, and I cannot manually resize it. I have also noticed that although videos will play, I can only click on their buttons if there is another smaller window overtop of firefox. The video controls will only appear that way and when I click them firefox naturally comes to the front and the video responds with the button I used but the buttons are gone again and I cannot resume playing without the smaller window back in front to make the buttons show again.
It's as if half of firefox is frozen while the other half is still running somehow.
I have no themes that could be causing this. Literally none. I only use firefox for the things that can no longer be opened in Opera so I have no need for any theme beyond default. The only addons I installed on purpose were adblockers (lord knows why. they don't DO anything.) though several other random things seem to have been installed over time to aid in one thing or another. Various plugins and players and versions of java, that sort of thing. But I have everything (and i mean EVERYTHING) in the addon menu disabled.
I have tried booting it up in safe mode (the program, not windows) and the problem is still there except now it won't show the menu bar at all unless I press the alt key first and even then it wont let me actually click on anything in the menu bar. When I try the whole bar vanishes. I had to close firefox with the task manager.
Rebooting will fix the issue for about 15 seconds before it all comes back.
Any attempts at updating have failed as it says I am already up to date on everything so I don't know what its issue is.
It's not an urgent issue right now as most of what i need to do can be done on the half screen window I am using, but some of my sites have buttons that literally vanish in anything but full screen and I imagine that this will be a much greater annoyance within a few days.After following all the instructions given, I poked around safe websites as suggested. I am not sure why this step was needed, as websites functioned rather normally before I came here but I did it anyways and found that the websites still work the same as they did. I can still do everything I used to be able to do. I see no change in the function of the websites.
However, I still cannot resize, close, or move the browser window. I don't know if Netflix is a safe site or not (too many conflicting opinions on that one from the masses) so I don't know if the issue with the vanishing buttons is still there, but all the issues I had with the browser window itself is still there.
Even in safe mode the browsers three window control buttons on the top right refuse to let me use them and the window itself will refuse to be moved around. -
New browser window from single movie frame?
Sorry but I am a total newbie>
I have a 4 frame movie imported into one layer and want to
specify a different URL to be opened in a separate window for each
frame. So I have made each frame a keyframe and added from the
behaviors a geturl event for each frame. When this is published it
loops the movie and opens a new browser window for every frame for
every loop, resulting in dozens of browser windows. How can I make
this a mouse clickable event so only when I click on a frame will
the new browser window launch?
I am trying to use onrelease, but I am not sure how this
should work as I can't find a good example.1) you can't 'click on a frame' in the SWF file when it's
running, you must click on a 'button' or 'movieclip' instance the
you construct ON a particular frame, or all in the same frame with
different buttons on theStage.
2) you need to add a 'stop()' action to your actions layer to
stop the SWF from 'playing' which is why it continues to open more
windows, MovieClip timelines play and loop by default.
3) more information that you will ever need is located in the
Flash Help files(F1) along with many tutorials to learn the basic
concepts, open them and go to 'Getting Started in Flash' to learn
some basics. -
Can I open a new browser window from a movie clickbox
Hi,
This is a last question from me, I hope. (I'm within a month
of delivery, and my boss keeps saying 'a user's asked for this or
that', but I'm meeting many of their requests with technical
obstacles. Oh dear.)
Here's the question: From a caption clickbox within a movie,
can I link to a new browser window? (I have a Help button at the
top of my movie and a user tester rightly pointed out that it
breaks them out of their movie and they can't get back. So my only
solution is to open it in a new browser window, but as I'm within
the movie, I need to link to the new window from a caption or
button, not an html page.)
If a Javascript command would work, could I get the exact
code to put in the box? I haven't been able to get any
Javascripting to work through Captivate.
If nothing works out, I'll have to scrub the Help button from
every page, but I'd rather be sure before I do it.
Thanks in advance,
KimHi and thanks for both of the replies.
Phew! I love it when there's a way out of my problem! Is it
my imagination or are the options: Current, New, Parent and Top not
described in the Captivate help? What is the Parent? I would have
thought a window would have spawned a child. And I guess Top is a
new window that's always on top? Is it described in the help
anywhere beside the page I found that doesn't describe it? (I guess
so far, I've been blindly and successfully using Current.)
I assume I can't remove the toolbars on my new windw without
going through an extra link? If that's the case, I can live with
that. I wouldn't want to make the user click two links just for a
help page.
Thanks again,
Kim
PS. No wonder my Javascript never works if I can't even
notice the options! -
''Problem: too much blank space at the top of browser window.''
• The Convert to PDF icon takes up 1 entire row (predominately blank) of horizontal space
• Edit in Contribute, Post to Blog are listed on a separate row, taking up 1 additional row (predominately blank) of horizontal space
They both use small icons and titles, .5" wide each, are flushed to the left, yet take up 2 rows of blank space at the top of my browser window. How do I move these items to display on 1 row?Start Firefox in Safe Mode (https://support.mozilla.com/en-US/kb/Safe+Mode) and choose the 'Reset toolbars and controls option'. This will get you back to the stock icon set which you can then customize to your liking
-
using FF 35 on MacBook Pro
Thank you for your response -- It seems the "classic theme restorer" add-on is the problem. With that enabled I cannot move tabs. With it disabled I can. I've used that add-on for years without issue on Mac and PC. The PC is still fine, just the Mac is problematic since the FF update about a week ago.
So I guess that's the answer unless anyone knows of some other trick or setting to change so FF is able to have tabs below the address bar AND be able to move tabs left to right within the same browser window! -
Cannot move browser window when select website for 10 seconds
After the latest update, when I have firefox up and running and I click on a favourite or type in an address, and website loads.... cannot grab the top bar and move the browser window to another monitor. 10 seconds later... it works.
Hi,
Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
[http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
[https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
[http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
[http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
[https://support.mozilla.org/en-US/kb/Options%20window Options] -
How to detect browser window move?
Hi,
I want to know if there is certain event defined in Java to detect browser window move. Like in JavaScript, there is an event handler "onMove".
Thanks.No, I think you can have "onMove" call a java function.
-
.mov launches IE browser windows
I opened a .mov file and ends up playing the clip in QT, but also launches a bunch of IE windows. Besides not opening the file, how can I turn that feature off (where this type of file can open other apps)?
FYI... the file just had a bunch of numbers as a name and had the .mov extension. Have no clue what the source was.... I deleted it a few days ago.
Thanx,
ETexan to Texan: First trust the source.
The downloaded .mov files can contain embedded "URL's" that will launch your web browser.
There is not much you can do to remove these links from the file. As the "file extension here" opens it will do as the authors intended and open new browser window(s).
First. Don't open links that you don't trust.
Second. "Clean" you PC (via anti virus software) so you can clean up your PC.
Did I mention about not downloading videos from untrusted sources? -
Has anyone downloaded Yosemite and found that there are no ore scroll bars? I have to move the window (of any window, Skype window, browser window etc.) in order to find the scroll bar and then it disappears so fast I can't even use it.
Not sure why that was unchecked but good to know!
Apple's new default (since at least a couple of OS releases back) is to have it off so OS X matches the behavior of an iPhone or iPad.
I almost never need a scroll bar, and when I do, I just move over to the edge of the window when scrolling and a larger scroll bar appears.
Yes, for the most part, users don't really need the scroll bar. That's what the scroll wheel on almost all mice is for. Saves the trip over to bar to physically grab and move it. But, I do like it on all the time regardless. That way (especially with a long article) I can just take a quick glance over to the bar to see about where I am on the page (a third of the way down? halfway?). Otherwise, I have to move the page just to make it appear to give me the same information.
Maybe you are looking for
-
How do I turn home sharing on for my Apple TV if I only have a iPad any my remote is dead
How CEO you turn on home sharing in your Apple TV if you can't turn Apple TV on
-
IPod crashes when I click in certain artist
I posted this in the 3g forum but I guess this one is more suitable, so if a mod would like to delete the other one that would be great. Ok, this has never happened before and my phone is new. Not even a month old. Anyways, I synced some new music on
-
Exception InInitializer Error caused by Missing Resource Bundle
Still getting MissingResourceException. This time its in another file. Other file can find the bundle, and this file is in the same folder. I've tried everything. If anyone could provide insight into this problem, I would greatly appreciate it. Excep
-
[SOLVED] dual-screen problem with awesome3.2 and firefox/gedit
Hi, my problem is that firefox/gedit (+maybe other apps, i don't know yet) are starting in awesome like they are fullscreen apps. Firefox covers the wibox at the top of the screen, and even overlaps a bit to the seconds screen. So the keyboard-shortc
-
OutLineLoad batch processing.
Hi forum, I'm super new here. As a matter of fact this is my fist post so I hope it goes all well. I'm trying to load several oultine txt files to planning. I created a java program that exeutes the following iterating over files array ->the list of