Correct way to place a Flash anim on a page
Hello, looking into well made sites I have seen code like
this to place a Flash object/animation:
<object type="application/x-shockwave-flash"
data="/common/flash/c.swf?path=/common/flash/nav-about.swf"
width="593" height="180">
<param name="movie"
value="/common/flash/c.swf?path=/common/flash/nav-about.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="LT" />
<param name="wmode" value="opaque" />
<object>
On the site Im building there is going to be a Flash
animation and my code looks like this:
<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="326" height="407">
<param name="movie" value="images/gk_flash_intro.swf"
/>
<param name="quality" value="high" />
<embed src="images/gk_flash_intro.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="326"
height="407"></embed>
</object>
Dreamweaver gives me a message about the new Explorer, and
the code required for it, but Firefox doesnt show the page. Please
point me towards some docu that will instruct me as to the proper
placement of the Flash.
The Page
Try this:
http://www.alistapart.com/articles/flashsatay/
Dan
"Cipr?s" <[email protected]> wrote in
message
news:ecclv4$o15$[email protected]..
> Hello, looking into well made sites I have seen code
like this to place a
> Flash
> object/animation:
>
> <object type="application/x-shockwave-flash"
>
data="/common/flash/c.swf?path=/common/flash/nav-about.swf"
width="593"
> height="180">
> <param name="movie"
>
value="/common/flash/c.swf?path=/common/flash/nav-about.swf" />
> <param name="quality" value="high" />
> <param name="scale" value="noscale" />
> <param name="salign" value="LT" />
>
> <param name="wmode" value="opaque" />
> <object>
>
> On the site Im building there is going to be a Flash
animation and my code
> looks like this:
>
> <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
> rsion=7,0,19,0" width="326" height="407">
> <param name="movie" value="images/gk_flash_intro.swf"
/>
> <param name="quality" value="high" />
> <embed src="images/gk_flash_intro.swf" quality="high"
> pluginspage="
http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="326"
height="407"></embed>
> </object>
>
> Dreamweaver gives me a message about the new Explorer,
and the code
> required
> for it, but Firefox doesnt show the page. Please point
me towards some
> docu
> that will instruct me as to the proper placement of the
Flash.
>
>
http://gk-developers.com
>
Similar Messages
-
Place fixed flash animation in Dreamweaver
Hi All,
I am a complete beginner with Dreamweaver, and having great
problems fixing the size of a flash animation I'm playing as an
intro. I have managed to get the animation in and it centred, but
when I tested it on another computer I noticed it had stretched and
for some reason it was possible to minimise the animation by using
the + and - signs whilst in the browser window. How can I prevent
this from happening, so no matter what machine you view from it
keeps the size and position the same.
Any advice will be much appreciated.Hi
You will have to place your code for the flash file inside the code for the picture frame. If you have used the picture frame as a background image then position your flash file using a combination of css rules as required.
Another way (if you have flash pro), is to use the picture frame as a skin for your flash file.
PZ -
Correct way of using LayeredPane for animation
Hi,
before I post my questions some background info (it has become quite a long story sorry for that, you can skip to the bottom if you want):
i'm not an expert java programmer so I appologize for any stupid questions or remarks.
Currently i'm implementing a road traffic simulation. Cars drive over roads, intersections etc. To make the movements/animation look smooth i've used doublebuffering or page flipping (I'm not sure while I used the getBufferStrategy() from a JFrame: strategy = frame.getBufferStrategy(); )
To add my own JButtons created from .png file I've switched off the RepaintManager by creating a NullRepaintManager. The simulation thread is responsible for calling the repaint function, which is done every few milliseconds after the positions of the cars are updated. These buttons are added to the ContentPane of the frame which is made non-opaque to make the roadnetwork and cars visible (*i don't understand this)
Btw I've 'borrowed' these ideas from 'developing games in java ' from Brackeen: http://www.brackeen.com/javagamebook/
The roadnetwork and cars are drawn on the a Graphics2D by calling: (Graphics2D)strategy.getDrawGraphics(); first I draw an image of the roadnetwork to clear the old vehicle positions and then the new positions of the cars are drawn. after that the screen/frame is updated: strategy.show();
This all works fine.
The problems start when I want to have a popup JPanel to appear on the screen after I clicked somewhere on the roadnetwork. According to Brackeen this can be done by initializing a JPanel and add it to the LayeredPane of the JFrame and make it visible when needed. This does not work while the JPanel never pop's up and I don't understand why not, because the demo from brackeen works fine. When I add this JPanel to the contentPane it does popup but the buttons are shifted to the right which is not what i want.
Also I want to add a JMenuBar to the frame, i thought I could simply used: frame.tsetJMenuBar(menuBar);
however the menubar shows up next to my custom JButtons....
====>My Questions:
What is the correct way to draw smooth animations inJava without slowing down the whole program when quite a large area has to be draw... this seems to happen e.g. in the Java demos: ..\jfc\Java2D
How can I popup JPanels or internalFrames ontop of the animation?? probably by using the LayeredPane?
I also want to add a JMenuBar in the normal position.
Sorry for the long text and questions... but I'm struggling for almost two month with this now (using an increadible number of java books) and haven't solved it yet.
Any suggestions are welcome Thanks in advance!!
RensIt gets the first address from the pxelinux.0, another one is usually handed down after it boots, but sometimes it reuses it again.
Usually what happens on a diskless system is it tries to use the dhcpcd lease from the last diskless workstation (or possibly reuses the same one it gets from pxelinux.0). But it has enough logic built into that it looks for another unique address for the next diskless workstation.
Do you have your pxeclient.cfg/default appended options set correctly to be ip=::::::dhcp?
Of course from the diskless wiki:
label archxx
kernel archxx/boot/vmlinuz-linux
append init=/usr/lib/systemd/systemd initrd=archxx/boot/initramfs-linux.img root=/dev/nfs rootfstype=nfs nfsroot=xx.xx.xx.xx:/srv/tftp/archxx,v3,rsize=16384,wsize=16384 ip=::::::dhcp -
To not reload from start flash animation on web page
Hi,
I've done a nice flash animation which is in fact an ad
banner.
This banner should be displayed on my customer website in
each pages.
However, in order to be sure that customers of my client will
see the
whole flash animation, i would like to be sure that it's not
reloaded
from the first frame.
is there something like a frames counter which can be
memorized by PHP
pages server ?
i mean on page welcome.php, my banner will be displayed.
let's say that after few seconds (35 frames for example), the
customer
click on a link "prices.php".
on this prices.php page my ad banner is once again displayed,
but i
would like to make sure it starts from frame 36 for example,
and not
from frame 1.
how can i do that ?
thanks a lot,
RAFHa! thanks certified. the DW experts are pointing at Motion or Episode. I have confirmed that the file won't loop right out of Episode, so that leaves DW off the hook, i think. But what to do?
Perhaps my workflow is flawed. I don't want to use Aftereffects to create web animations anymore. I want to use Motion. But this is a showstopper. .swfs are supposed to loop by default, so I can't imagine what's wrong. thanks for anymore advice.
coocoo -
Play a flash animation in same page
Hi,
i am trying to build my online portfolio and i wish to play
my flash animation portfolio on same page when user click specific
button, everything was fine, except when i try to import the swf
file (publish from my flash animation portfolio) to library and
create a movie clip symbol, i found the import swf file not running
same as original, some fade in and mask effect missing and speed
are totally difference. Appreciate anyone could help.
Thanks.i think that's expected behavior. importing a swf file is
probably not what you want to do.
you can load a swf file and you can drag and drop movieclips
from one swf into another without problem. -
I have an HTML site (unfortunately only an intranet site so I
can't share) that has swfs used in various places. The home page of
the site has a movie that I would like, if possible to only play
when a user enters the site. If, during a session they leave the
home page for another page within the site, and then come back to
the home page, I would prefer them not to see a particular
animation again because once they've seen it, it can be annoying to
see it each time they come back to the home page. Is there a way,
with javascript, to make this happen? I don't think it is anything
I can build into the movie with flash.what about using cookies and two versions of the page--one
with and one without animations? an if statement could look at the
cookie and load accordingly, maybe. -
What I have to do to make the reader read pdfs page numbering is in the page layout in InDesign CS5.5?
I read that unlinking the numbering of the page layout and then including it in panel articles with the other elements. Is it true?
Is this the way?
thanksBut page numbers do defenitively not belong to the text structure, neither do running headers and footers. As far as I understand these items are disturbing when reading pages.
I am not blind and neither peronally I don't know any. But I suppose there are other means as reading marks for them as page numbers. -
Flash animation in Forms 9.0.X
Is there a way to display a flash animation (.SWF) file in a version 9.0 form. The key here is without using webutil to create an OLE container. I'd like to use the out of the box functionality to do this. Thanks
Hi,
the only chance I see is with a Java Bean that support Flash animations. I did search the Web a while ago when this question came up the first time, but wasn't able to find a bean that supports a recent version of Flash.
Frank -
Get border when resizing flash anim in dreamweaver
Hello, I'm needing some help , I'm not sure weather its something i'm doing in dreamweaver or weather I need to export the flash anim with the document properties just a little bit smaller than the flash anim when exporting when in theory shouldn't have to do?
the problem I'm having is I export a flash anim out of flash I make sure the document properties and the flash anim line up so theres no visible boarder when exiting.
when I'm at the button stage and drag onto the stage to be able to export, ( sometimes I find that the flash border - say if my anim is 220 by 185 . when i click on it (dragged button with movie inside from libarary to stage)
the stage - as I am told I can't export a flash anim with an alpha white off the flash stage I have to make the stage the same size as the button -
So i make the stage size 220 by 185 when I'm dragging the button to line up to the stage I find sometimes its off?
Is there a better way to export a flash anim as it is without having to change stage properties then dragging the button to fit the stage then get url options ect.
anyways. I am finding that I am having to make the stage size (in flash ) a few extra pixels smaller than the box button 220 by 185 so what i'm doing is making the stage say 218 by 183 to then draggin the button inbetween the lines on the doccument border in flash. then exporting.
I find if i Don't do this sometimes in dreamweaver, when I open dreamweaver instert app div then import swf into the app dif then resize the swf I get a boarder.
But even then I find sometimes if i do an app div then insert media swf and resize the swf i get a border, say if i make the boarder properties in flash red.
sometimes I get a red boarder.
but on other pages say i have a about page I resized it its fine then on another page import app dive then impor the exact same swf file resize it it suddenly gets a boarder (i'm testing using red backround in flash when exporting as a movie.
why do sometimes I get a boarder around swf in an app div when importing into dreamweaver.
thanks kindlyI read this twice and still don't quite know what you're asking. Flash questions are best posted in the Flash forum.
Animations used in Web pages should be sized appropriately before you bring them into Dreamweaver. Same goes for static images. If you need a 200px wide banner, design it at 200px wide.
As for APDivs, honestly don't know why you would need one. A regular CSS division (no positioning) is all that's required for 98% of layouts. http://apptools.com/examples/pagelayout101.php
For answers to layout questions, we need a link to your test page.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Flash animations are out of the flash window limit ...
When I place a flash animation in power point using breeze
presenter, and I publish the presentation it is possible to see the
animations that are out of the flash window limit …
What can I do to make the breeze respect the flash limits and
hide the animations outside those limits?
Thanks!Just out of curiosity....is it possible that you've got
elements in flash that begin OFF the flash stage and then animate
ONTO it?
There was a *funky* artifact of creating flash animations
that played very strangely when imported into Breeze; there was a
tech note about this, but I haven't found it recently. If your
flash animation *must* be 200 x 200, then what I'd try is this:
In flash, create a mask layer and be sure to have all other
layers become masked by it. I realize that without seeing your
animation, that it's probably "easier said than done"... However,
the thing to note here is that by masking the stage in flash (and
thus all the elements animated within it), you'll effectively kill
the visibility of all visual elements that are off the stage.
For what it's worth, I'd be happy to assist if you need
further help. Just drop me a note using the private message
function, or email me at [email protected]
HTH,
Rob -
Is Flash invalid? W3 Validator giving me errors on my Flash animation?
I have a simple Flash animation on a page (fade in/fade out
images) but when
I run my page through the WS Validator I'm getting all kinds
of errors
relating to my Flash animation.
For example...
Error Line 39 column 317: there is no attribute "src".
...="quality" value="high" /><embed
src="flash/flashfile.swf" quality="high
Error Line 39 column 352: there is no attribute "quality".
...c="flash/flashfile.swf" quality="high" pluginspage="
http://www.macromedi
Error Line 39 column 371: there is no attribute
"pluginspage".
...ASHA.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashpl
Error Line 39 column 422: there is no attribute "type".
...cromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
width="7
Error Line 39 column 460: there is no attribute "width".
...application/x-shockwave-flash" width="700"
height="190"></embed></object></no
Error Line 39 column 473: there is no attribute "height".
...-shockwave-flash" width="700"
height="190"></embed></object></noscript></td>
Error Line 39 column 478: element "embed" undefined.
...kwave-flash" width="700"
height="190"></embed></object></noscript></td>
I'm slighlty concerned that Dreamweaver/Flash, combined, is
allowing me to
create invalid code? Is there any way of solving this AND
keep the Flash
animation on the page? <fears the worst> :o(
Thanks
Nath.I'll take a look at that Raymond, but does that mean that the
answer to my
original question is yes, code inserted by Adobe Flash is
invalid? :o)
Nath.
"Raymond Basque"
<[email protected]> wrote in
message news:esro5i$spq$[email protected]..
> If you're really concerned, you could simply remove the
embed tag.
>
>
http://www.alistapart.com/articles/byebyeembed
>
>
> -
Add a link to page option with flash animations??
Hello, I see that you have an option for images if you insert an image, you have a link to html page option
But if you insert a flash animation , there is no link option?
as some research i have found that I have to do it i flash itself.
Why did you not create a link option for flash animations? as you have with images, a link option would be great for flash animations also
Is there a code I can do in dreamweaver to link flash animations to a page.
thanks, I dont know why dreamweaver flash animations does not have a link option? please put it in next release
thanksflash animations not visible on phone devices ? i see flash animations fine from my phone
Don't know what phone you use or if what you're seeing is actually Flash, but Apple iDevices don't support Flash. Never have and never will.
http://www.apple.com/hotnews/thoughts-on-flash/
Adobe has stopped further Flash development for mobile devices in favor of HTML5, CSS3 & JavaScript. See Adobe Edge Preview.
http://labs.adobe.com/technologies/edge/
Finally, from where I sit, Flash is a fading web technology. But if it floats your boat, feel free to make a feature request.
Adobe Feature Request Form
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Good luck with your project!
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
Place an mp3 on my home page and have it play automatically?
might there be a way to place an mp3 on my home page and have it play automatically?
thanks
bobbymwong has an article on this:
http://www.rowan-cottage.co.uk/Site/Autoplay%20Music.html -
Flash Animation: Font Not Displaying Correctly
Hi all!
I am having a problem with a Flash animation in Captivate that seems like it should be an easy fix, but I can't seem to figure it out.
I have a very simple Flash animation that I developed in CS5. It previews in Flash perfectly, play correctly in Flash Player, but when I insert it into Captivate 4 the fonts do not display correctly. Capital letters are missing as well as other letters.
It's not a matter of AS2 vs. AS3 as I have already tested that. It also is not a frame rate or version issue as I have confirmed they are the same rates and the same version.
Can anyone shed any light? Anyone else had this same problem? Any guidance or suggestions would be much appreciated.
Thanks!
Daniel
Screen shot:Hi dmendoza2,
Did you embed your fonts into the flash animation? Make sure all characters necessary are embedded.
Jim Leichliter -
Flash animation playing way to fast in slides
Hello all,
I imported a flash AS3 annimation in captivate 8, but the animaton plays faster than it should. Is there anyway that i could get it to the normal speed as when i play it in a flash palyer ?
thanks in advance.Default speed in Captivate is 30FPS, check the framerate of your SWF animation, probably it is lower (default is 24fps). Either you change the framerate of the Flash animation up to 30, or you lower the framerate in Captivate to the same value as the animation before publishing. You can find the framerate in Preferences, Project, Publish Settings
Maybe you are looking for
-
HT1727 is there a way to run iTunes off of an external hard drive?
My iPhone 4S is currently in recovery mode and I'm trying to restore it. I'm stuck overseas so I haven't been able to update the iOS software for a few months and iTunes on my computer won't restore my phone without installing the latest software (wh
-
Hi, I modify a jsp in which we have to remove the lov of a field according to the responsibility. but its giving some error. that i am not able to see. so can you please tell me whats the problem in this code. <td nowrap align="right" class="prompt"
-
When I connect my MacBook to an overhead projector for PowerPoint presentations or video presentations I don't get the desktop projected. Instead I get another screen that doesn't display any information. I know there is likely a setting somewhere to
-
Avid to FCP User Questions...
Hi, I recently made the switch from Avid to FCP - loving it so far, by the way. I have a few transition questions if someone can help me. These are things I've done fluently on the Avid and can't seem to find it in the manual. 1. How do you mix audio
-
Getting Rid of a shadow?
Hey guys, I am creating my second video with adobe Premiere. However, I am running into a problem. For some reason the lower half of the video has this greenish/yellowish color to it. Is there anyway I can remove it? Here are a couple of photos from