Aligning flash movie edges with jpg's in HTML
I have created a flash movie that is 766 px wide by 750 px
high. The html page that the flash movie is embedded in uses jpg.
images to fill the remaiming browers area. (so it appears to the
viewer that flash movie and html page are one seemless page)
The problem I am having is matching (aligning) the edges of
the flash movie with the jpg images. I can get it very close, but
it never seems exactly right. (The edges of the flash movie have a
gradient and some color change.)
You can view my work in progress at:
http://www.awitest.com/index_silver.html
My questions is: is there a simpler, less time consuming way
to get the edges of the flash movie line up correctly with the
jpg's in the html???
By the way I have Design Premium CS3, if any of those other
programs can help with this problem.
Thanks for any advice!
yes, is is.
you can use this link.
http://de.selfhtml.org/css/eigenschaften/positionierung.htm#position
the dicription is german, but there are no problems to use
the code, i think.
working with cs3, i use the html of flash an delete all the
java-text. it's possible to use the objekt-tag in the
div-tag.
Similar Messages
-
Aligning Flash movie in center of browser and flush to top
I'm having trouble positioning my Flash movie where I want it in the browser window. I want it:
* To be centered horizontally (easy enough), but also:
* Flush to the top of the browser window, with 0 px between the movie and the top of the browser window
I've been trying various combinations of single-cell tables, divs and CSS absolute & relative positioning, and can't find the right combination to achieve this positioning. The closest I can get is centered horizontally, and about a 5 px gap between the top of the browser window and the top of the movie -- it needs to be flush.
My movie is 1000 px wide and 680 high. This is a simple diagram of what I'm trying to achieve:
I'm not a coder by any means, so specific code examples would be helpful!
Thanks,
RFor your body tag in the html file try including these four parameters, they should reduce you to having no margin separating you from the very top of the page...
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
If you have a CSS file for the page you could include it in there instead in the form...
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px; -
How to have Flash movie resize with rest of webpage
Hi,
I ran a search for this but couldn't find anything. Is there code I can write into my webpage (using dreamweaver) that will make my flash movie get larger along with the rest of my webpage when the viewer zooms their internet explorer 8 browser? Here's a link to an example. Looks fine when page is viewed at 100% but above that everything zooms except the movie.
www.empowerments.net/canary.html
Thanks for your help,
JamesThanks again for your time but it seems we're not on the same page (pun intended!).
I do appreciate you trying to help me and I understand how easy it is to misread the question perameters.
When your reply said "The Zoom does create a white space because it "zooms" the background image and text only.
The Flash content isn't set to zoom with it apparently"
it actually just stated what I said was the problem in my original post.
I've already said the flash content looks fine at 100% and is only a problem when zoomed in by the internet explorer browser.
The help I'm looking for is maybe a tip on some html code (like rescale = true or something) that I can write into the web page (via Dreamweaver) that tells the flash content to scale up with the rest of the page when zoomed.
Does anyone else have any suggestions?
Thanks again for your time and willingness, Mac=Win=Me!
James -
Flash movie slowing with each loop?
My main flash movie is made up with scenes, on each scene I have used the UILoader component to load external swf content to the main movie, the first one works fine but gradually with each loop the movie slows down, i have a globe in one scene which is looking really juddery... Can anyone help?
Thanks
DarrenFirst off, you should not use scenes - they have never really worked all that well, and just lead to problems. Aside from that, if you're adding listeners to your loaders you need to remove them - or use weak references, which you should always be doing anyway. Have you looked at task manager to see if successive loops are using more and more ram and/or more and more cpu cycles?
-
Load flash movie which with sound problem
Hi, all,
I am doing a flash which with audio, the audio about 3-4 mins. But when i use another flash movie to load that flash mov with sound (using load movie function), cannot hear any voice. Why is it?
The flash movie with sound is use actionscript to attach the sound, when i test the movie, it is work. When it comes to load from another movie, it doesn't work. Anyone can help me to solve it?
Thanks.What version of Actionscript are you using?
-
Flash Movie export with Keynote
Hi, I am using Keynote this time mainly to make a Flash movie for a website. However, when I export the movie to SWF format,the file is quite large (About 9mb) too large for use online.
Does anyone know, is there a way to reduce this filesize? I looked to see if it is possible to make the canvas smaller than 800x600, as I only really need it to be about 500x400. Didn't see a place to make it smaller than 800x600.
Any reccomendations would be great, thanks.There is a program that reduces flash file sizes
http://www.eltima.com/products/flash-optimizer-mac/
It compresses the file size, not sure if it resizes the dimensions -
Aligning Flash Movie within Text
Hi,
I have embedded an swf within a paragraph text. In the embed
tag, I have the align set to 'right', so that the swf sits in the
upper right corner of the paragraph, and all of the text wraps
around it. It works totally fine in Firefox on Mac & PC, as
well as IE on a PC... but in Safari, the swf stays on the left
side, and the text doesn't wrap--it starts on the line below it. I
think it must have something to do with their not being anything in
the 'object' tag, telling it to align Right, but I tried adding it
in, and it didnt do anything. Here is what I currently have
(without any right align for the Object tag):
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="220" height="185" id="myMovie" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="mymovie.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="mymovie.swf" quality="high" bgcolor="#ffffff"
width="220" height="185" name="myMovie" align="right"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
text goes here... lkfalkj dljf lsj fldsj
Anyone have any ideas? It'd just be nice to have it look
properly in Safari...
Thanks!
b.has anyone else had this problem?
-
Sizing the Flash Movie Window with HTML
Hello,
I don't know why I'm having such a problem with this, but I'm
trying to open my Flash Player in a locked dimention (600 x 450).
what's happening is an <a href is opening the html file
published with the swf... which in turn of course launches the
swf... I've been trying to make the swf pop up at 600x450 but so
far no luck. It just pops up as the same size as the previous
window. Any ideas what I'm doing wrong here? oh, i'd also like to
have the swf pop up without the menus/toolbars/etc.
Thanks!You don't say or show what you've tried, so it's difficult to
show what
you've done wrong.
From your description it sounds like you want to open a new
custom
chromeless window. To do that, you need to use the Javascript
window.open() method.
You can find thousands of examples in this forum with a
simple search.
You can also google "window.open" and get thousands more
examples. -
Flash swf movie player with chaptering
Hi guys, I'm looking for an off the shelf paid flash player (or free if available) that will allow me to play SWF's (not FLV's or videos).
I have 5 .swf animations (1.swf, 2.swf, 3.swf, 4.swf, 5.swf).
I would like to have a player that if i click play, will play through the 5 animations one after the other seamlessley - however i may wish to skip through chapters (each .swf will be a chapter) by clicking ahead on a playhead or by selecting a chapter title from a drop down.
The chapters need to be seperate swf's because they will used individually aswell as as one piece.
So in effect I really simply want a player to watch all my flash movies concurrently with the ability to click ahead in the player and have it load the relevant .swf if need be!
Any suggestions?Though this is not an extreme task to achieve, I'm not aware of any "you don't need to program anything" kinds of templates that allow you to quickly sequence a series of SWF files. But, I understand this kind of requirement if you aren't an AS3 programmer yourself (or maybe you are, and you just want to save time, which we all do!). Many times it can be worth paying $40 for some template/component versus taking the time ourselves (1 hour, someteims dozens of hours).
If this were programmed from scratch, it would be a combination of these concepts (sorry, no code here):
The Loader class to load in your other AS3 SWF files
Using an ENTER_FRAME event (in your application, not in the SWFs, which I'll assume you don't want to edit) to know when a SWF has reached the last frame, at which point you unload the current SWF and load a new SWF.
An array that lists out your SWF files.
Detection of when the final file has completed.
In addition, possible some UI controls that would:
Allow for the pausing/playing the current SWF (which would only control their main timeline; dealing with nested MovieClips with their own timelines would require add'l work).
Allow for the instant skipping to the Next or Previous SWF file.
Allow for the Restarting of the presentation when the final SWF has completed (or the option ability to loop to the 1st SWF at this point)
The end result would be your template, that could be made fully reusable by coupling it with a really small XML file:
The XML would become your list of SWF files
This could also control which UI controls you have available
Hopefully this gives you a general (abstract) sense of things you'd need to program (or find somebody to program...at which point the'll have their own take on how they'd do this). -
Overlib images dissapear under Flash movie
Hi all,
Total noob with flash.
I have some thumbnail images on my page, when you mouse over
the images an overlib pops up with the full image. Not far above
the thubmnails is a flash header, when the overlib images pop up
part of them is going underneath the flash movie.
Any ideas on how I can prevent this?
I have tried replacing the flash movie with an image of the
same size and it all works fine then so I know its not a layout
issue.
Thanks a lot for any help with this.BlueSolar,
> I have some thumbnail images on my page, when you mouse
> over the images an overlib pops up with the full image.
Not far
> above the thubmnails is a flash header, when the overlib
images
> pop up part of them is going underneath the flash movie.
The reason this happens is because Flash is an example of
so-called
Active Content. Flash movies aren't actually *in* the HTML
page in which
they're embedded, they just look that way. The <object>
or <embed> tags in
the HTML tell the browser to launch an instance of the Flash
Player at
thus-and-such dimensions in this area of the document, and
the Flash Player
and browser work together to give the illusion that the SWF
is a part of the
page.
> Any ideas on how I can prevent this?
The only way to affect this issue involves an often buggy
feature called
WMODE.
http://www.quip.net/blog/2006/flash/how-to-position-flash-beneath-other-content
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Develop Flash Movies in Flex ?
Hi there,
is it possible to develop 'classic' Flash movies just with
Flex?It is
possible but I wouldn't want to do it. Here's an example.
Suppose you want to make a butterfly move around and flap its
wings.
In Flash, you've create a symbol for each wing and one for
the butterfly body. Then you'd create a Butterfly MovieClip in
which you animate the wings flapping using the timeline and
keyframes.
To move about the screen you place the Butterfly on one layer
and create a guide layer for it. On the guide layer you'd use the
Pencil tool to make an eratic line. The Butterfly will follow this
line, flapping its wings as it goes.
To do that in Flex would be quite an undertaking. You'd have
to work with the ActionScript drawing commands (moveTo, drawTo) to
make wings and the body. Then you'd have to figure out how to use
the TweenEffect to get the wings to move correctly. Then you'd have
to figure out some algorithm for moving it around the screen.
I'd say the Flash version could be done in an afternoon or
less. The Flex way - who knows? -
Settings for converstion of Flash movies
Hi,
I have to convert movie clips of all formats (.mov, .dv, .wmv
or DVD VOD) to Flash to put online.
Can anyone help me to set best audio (bitrate, Hz) and video
(width 320 px, bitrate, framerate...etc.) to get the smallest .SWF
Flash movie file with the best/cleanest movie clips? Is there a
standard somewhere that people follow to do such conversions?
Thanks.Have a look at Robert's Bandwidth calculator, when clicking
on the "grid size" you'll get a list of recommended frame sizes and
settings.
http://blogs.flashsupport.com/robert/?p=138 -
Displaying Flash movie in JEditorPane -- HTMLEditor
Hi,
I am writing an HTMLEditor using Applet. I am using JEditorPane/JTextPane for editing the HTML page. I am displaying an HTML page using the setPage method of JEditorPane/JTextPane. But, I am not able to see the flash movie which is embeded in the HTML page.
Did anybody try this? I saw a lot of questions regarding HTMLEditor using Applet, but haven't seen one regarding the flash movie display.
I saw JMF(Java Media Framework), but it can be used only if we want to embed flash in java(eg:Applet,Frame) directly. Seems like JMF will not solve my problem.
Can someone help me out.
Thanx in advance.
Satish K KumarI'm trying to design a widget for adobe AIR that would
display an external webpage in one of it's windows. What program do
you suggest I use? -
Spry navigation bar covers flash movie beneath it but not the jpg image, why?
i have a spry navigation bar with a flash movie underneath,
and when i hover over the navbar and the submenu pops down it
covers the flash movie, but it doesn't cover the .jpg image that is
next to the flash movie. how can i fix this? thanks.thanks for the reply Murray, a responder from the flash forum
gave me the following answer and it worked perfect.>>
The <object> and/or <embed> HTML elements that
reference your Flash content accept a number of optional
parameters. For the <object> element, these parameters are
supplied via nested <param> elements. Simply add the
following new <param>:
<param name="wmode" value="opaque">
The <embed> parameters are supplied via attributes. For
the <embed> element, add the following new attribute:
wmode="opaque"
That’s it. Your Flash content is now stackable via
z-index; for example, you may wrap your
<object>/<embed> pair in a <div> and set the
<div>’s z-index as you please.
<div style="position: absolute; z-index=1;">
<object attributes >
<embed attributes />
</object>
</div>
If you’re using Dreamweaver, just press the Parameters
button in the Insert > Media > Flash dialog or in the
Property inspector when selecting existing Flash content. Type
“wmode” (without quotes) in the name/parameter column
and “opaque” (without quotes) in the value column. That
will handle the above HTML for you, even with the new JavaScript
embedding available since the 8.0.2 update. -
Flash movies with play button don't work
I have the 'simple' problem that everytime I see a "play" button on a web page with flash content, clicking on it won't start the movie. However, e.g. YouTube movies work fine. So it seems it's just movies that do not start automatically after clicking on a link.
Also, checking the flash player e.g. at the Adobe site (http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html), tells me in a flash box I have the latest flash player installed, and I see the flash movie 'flash player is running on your system' with the red ball rolling in it.
I have the same problem for both google Chrome and for IE.
I still have an old Dell Inspiron 6000 notebook with Win XP (latest updates) and ATI mobility Radeon X300 graphics chip, for which I also installed the latest available drivers.
Experimenting with Flash Player settings was unsuccessful so far (e.g. no hardware acceleration, clearing all internet data in the Flash Player global settings tool).
My desktop (also with Win XP and with the same browsers and Flash Players/Flash Plugins installed works fine...).
I also know that it worked at an earlier time with this NB...
I managed to run the movie with a Linux Live CD but that is not what I want to do every time...
Any idea is highly appreciated.....Hi BalusC, i have saved the datamodel (a ArrayList) in SessionBean. It can't be null. The rows of table display correct. I don't understand, why functions buttons with ObjectArrayDataProvider, but not with ObjectListDataProvider?
I found a page with same problem: http://forum.java.sun.com/thread.jspa?threadID=549675&tstart=30
Maybe you are looking for
-
Why is it not possible to do an on line search in Photoshop?
Today I tried the online search facility in Photoshop CS5.5. It does not seem to work, as a search for any item came up with "an unexpected error has ocurred - please enter your search item again" - same result every time regardless of the item being
-
SAP R/3 Time & Travel Module_CRM Integration
Hi Folks, I've a situation where my fields sales people record expenses and time on their laptops and synronize with core R/3 FI, HR. I undersatnd, there is a component on Mobiles Sales called "Time&Travel". Could you please share some thoughts on In
-
When I open a PDF the Computer is acting as if I haven't purchased the Acrobat Adobe XI when in fact I have.
-
Samsung 24-inch display auto-dimming problem
Right out of the box 3 or 4 months ago, my Samsung 24 inch 2443 BW dims uncontrollably whenever I have a window open that has mostly black or other dark-colored background - say about 60% black; I can actually watch the whole screen and desktop - not
-
Ajax Report Pull from another Page Pagination override
We are on a time crunch and need to get this application working in a timely manner, any help would greatly be appreciated.. *[History leading up to problem]* We followed the code from this example http://apex.oracle.com/pls/otn/f?p=11933:48:44411421