Professional :: Use Divs In Flash Same Way To Use Them In Dreamweaver?
Feb 8, 2011Is there anyway to use <divs> in Flash the same way you use them in dreamweaver?
View 1 RepliesIs there anyway to use <divs> in Flash the same way you use them in dreamweaver?
View 1 RepliesI have created a website in Dreamweaver and it functions entirely upon hiding/showing divs, using the appropriate behavior (very basic html knowledge on my part So it's just one page in which layers are alternatively hidden and shown.I have created a set of flash buttons (they are all in one file, because a very basic Flash animation is supposed to make them fade in one by one when another flash button inserted in the html page is activated). Now, I have two problems regarding this:
1. On page load, this "animation" (the buttons which fade in successively one after another) appears automatically, even though it is located inside a div which is invisible by default and should only be visible at the trigger of a button. This is not acceptable for me because it is a submenu which should be invisible at first.
2. Let's suppose item #1 is resolved. Different html divs are supposed to appear/be hidden when rolling over each of these Flash buttons, and I haven't been able to find out how to do this. I know I should work with the Flash code in order to do this, "on (rollover) {//no idea what to place here to call the Javascript function from dreamweaver which I don't know how to create, if it's not applied directly to an object//}
This is the site: www(dot)wise-ls(dot)comlu(dot)com (I'm working on expanding the width, that's why it looks funny The section in question is "soluciones", and what I want to do is replace the text links with Flash buttons.
I placed my swf. file in DW, uploaded swf. file and DW file to ftp site and the page shows up with a black area when page is reviewed on website.
View 6 Replieshave a file which only shows up as a black box (correct size) on the posted html page. The status bar indicates "waiting for the page..." etc., but nothing changes on the page.There is another swf file on the same page and is working perfectly, but the above mentioned file still does nothing.
View 2 Repliesi am trying to edit a web template with adobe dreamweaver (version CS5). the template has flash in it, and i have flash installed on my computer (i can view flash on any web browser, and java is enabled). when i open the index file in dreamweaver, i get a message saying "Note: Install Flash Player | Enable Javascript".i don't know what to do. flash is installed and java is enabled. what do i do??
View 15 RepliesI'm trying to edit a flash file embedded in Dreamweaver CS4. I can't open the file the only thing it will do is play. Can FL CS4 open and edit FL CS3 files?
View 2 RepliesI am looking for a flash solution to insert easily into a dreamweaver html page. I need a small audio player with a start and stop button. It should have a white background (no text). To work like the example in [url]......I would like to have a flash plug in that allows me to insert into another webpage and use an FLV file or other audio format.Dreamweaver's player does not look good inserted into any webpage.
View 3 RepliesSo I'm trying to create this website in which the first page is made in Flash and the rest are made in Dreamweaver. how to actually connect them so that works? I know how to put something made from Flash into a Dreamweaver page; should i just do the same thing?
View 6 RepliesI have some flash .FLV videos that I've posted to a clients website using the built-in Flash skins (Halo is what I'm using) My client would like to be able to see a moving buffer of how much video has downloaded so the viewers will know when the video is about to clip.Standard stuff but not sure if the built-in flash player for DW has that option Can anyone tell me if it does or not What would be the best way to get a buffer indicator (not pre-loader) into a flash player if not?
View 2 RepliesI tried all suggestions from the dreamweave forums and none worked.I am placing a CS4 swf movie into dreamweaver CS4 and when I preview in firefox I can't get rid of the 1 pixel white border.Have tried all settings, including setting the wmode parameters to transparentBorder set to 0, frame set to 'top', image set to top.If I change the background of the frame to blue for example, I get a 1 pixel blue line. I believe the problem is in dreamweaver.How do I fix this?
<param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="BGCOLOR" value="#FFFFFF" /> <param name="SCALE" value="noborder" /> <param name="wmode" value="transparent" /> <!-- Next object tag is
[code]....
However, when I preview the flash catalyst swf file, the flash swf thats inside, plays just fine.
View 2 RepliesI'm trying to embed some flash code, and I'm using swfobject. When I put it in the parent div, it asks the users for permission on the webcam/audio. However, when I put the flash code into a lower-level div, it doesn't prompt for permission to use the webcam, or anyting. I.E.I can put the flash into container, but not inside.
View 1 RepliesI have a flash map. There are 6 clickable countries on the map. When one clicks on a country I want html content to appear under the flash movie. As far as I can see the best way to accomplish this is to have all the content already under the flash movie each in a separate div, with display set to hidden. Then action script inside the country buttons calls a javascript function on the html when that button is clicked, to set display:block for corresponding content filled div. I've tried a few scripts but couldn't get it working.
<code>button_kenya.onRelease = function ()
{
flash.external.ExternalInterface.call("kenya");
};</code>
Is there anything else i should do when imbedding flash into my page so that the flash can talk to the html and call the javascript?
Is it possible to control contents over divs and show/hide with flash as2?
View 1 Replieswhy the hell doesn't a div positioned over a flash object stay on top with z-index. I have found the answer in the past, but it's been so long, I can't seem to get it. My flash movie is in a div floating left:
<div id="flash">
<object width="614" height="289">
<param name="movie" value="images/75.swf">
[code]......
Basically the majority of my content is flash based. I designed it using Flash Builder (Flex) and Its in a liquid layout, (everything is in percents) and if im JUST embedding the flash content it scales to the page fine, and i have the flash content set to have a padding of 50 px.
I put a header div in fine with no problems, but I have 2 problems, the first being the footer div seems to cover up the buttom of the flash content in IE, but it looks just fine in chrome. How can I solve this? I'm using the stock embed code that Flex provides, I tried to edit the css style for the div which I think is #flashContent and give it a min width and min height but it didnt seem to work, actually anything I did to #flashContent didn't seem to do anything, maybe its not the div i need to be adding that attribute to...
And my other problem is I dont even know where to start when it comes to placing a div thats 280width by 600height colum to the right side of the flash content. If i could specify a size for the flash content, and the float it left, and float the colum right, and clear it with the container div id be just fine....But remember the flash content is set to 100% Scale (well techically 100%x80% because it looked better that way). how I can start to deal with creating a more complex scaleable flash layouts that includes other divs? ALL WELL MAINTAINING IE SUPPORT? IE is ruining my life.
Here's the code I'm using:
(or if it will help you visualize what im trying to do here's the page where im working on setting this up http://apumpkinpatch.com/textmashnew/)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
[code]....
Go to this site: [URL]. I got my flash intro onto the site and I got the HTML code from dreamweaver. I use 000webhost for hosting. HTML code is:
<script src="Scripts/swfobject_modified.js" type="text/javascript">
</script><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="480" id="FlashID" title="kevin">
<param name="movie" value="intro done 2011.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
[Code] .....
Why doesn't my flash load up? When I upload them to other sites they playback fine.
I have a site designed in dreamweaver. I inserted an swf file into the dreamweaver site to do the following :The swf allows people donate money through paypal and then return to the main site. I need a step somewhere so that I can disable buttons after the paypal process has occurred. Kglad has suggested that I direct to a new swf file when coming back from paypal. This makes sense, however, do I disable the donate button on the new swf file and if so, how will the actionscript recognise the button instances ?
View 3 RepliesI am unable to click on "Allow" button in my Adobe Flash Player Settings panel that pop's up because half of it is hidden behind divs making it "unclickable".I tried setting negative z-indices on the divs that are overlaying it and I also tried giving a prositive z-index to the div holding the Flash Player Settings panel
View 2 RepliesI have flash animation (swf) in my HTML Page.
Now, I like to have my flash animated character (700kb) to speak dialogues, the related text should pop and go in the html side of the page.
I've already used this amazing cool script from Text highlight with audio sync in Jquery by Marnix van Valen & HTML5 works cool as he says. BUT, what about flash?
I have produced several .swf files to be used as part of an interactive cd. I have produced the home page in dreamweaver, with a button link for each of the movie clips, but when the clip ends it just stays on this clip, i need a kind of "home page" link at the end of the clip to take the viewer back to the page with all of the links to the other movies on,
View 1 RepliesI am looking to add a horizontal text ticker onto a dreamweaver cs4 page. This is to highlight areas within the site so will not be linked to any news association, simply used for the benefit of the site and probably changed daily.I am looking for something simple that can be pasted in and will run even with me changing it!
View 1 RepliesI added an image background 1900 x 1200 in dreamweaver, which will serve as my background image for my web site. I would like to incorporate my .flv or .swf on top of my background image. Although, when doing so, the .flv or .swf gets placed under the background image and not on top. How do I place the .flv or .swf file on top of my background image in Dreamweaver CS5.
View 2 RepliesI am trying to figure out why my flash files work correctly locally but don't after I upload them. I am using Mac Flash CS4 and AS2. (They were CS3 files originally)
When I use Safari to view the uploaded files and check the Activity window it shows the files load but they don't show up. I have a main swf and others are loaded into it using:
[Code]...
i'm trying to figure out what format and size i should convert my 1080x720 video to
View 2 RepliesI have a movie clip that displays an embedded html with a bunch of divs that are expected to hide and show other divs when the users click them. i.e. imagine that you have a span with an instruction in javascript to show a div when you click it. I already made the html file, the external css and the external js. The movieclip (in actionscript 3.0) loads and displays the html content and also the css, but i haven't managed to figure out how am i supposed to link or use the javascript to do the trick. I've tried so far doing an exhausting research over the internet for the past few days and the only infromation i've got is that web developers use externalInterface to access javascript functions, but they use flash buttons to execute the js code, and it appears to me that i cannot use or embed flash btns in my site. I don't know, I'm kinda new to flash and this is the first time I work with actionscript 3.[code]or how do I achieve de hide/show thing with another method? I'll be wandering around the site in case you have any extra doubts about this subject.
View 2 RepliesI have created a rollover image in fireworks, which works in the preview option on fireworks.I have exported it as : html & images, exporting slices.This works when I open it straight from the file BUT when I try pasting it into dreamweaver (insert -> image: fireworks html) the box where the rollover image appears but with a cross in it.I have also tried copying the html from fireworks into dreamweaver but this doesn't work.When I try this the image appears and the link works BUT the rollover doesn't?This is the code I use:
<a href="www.whereartyou.co.uk/reviews/evahesse" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Page1','','<img src="images/Page 1_f2.gif" width="400" height="310" />',1)"><img name="Page1" src="file:///C|/where art you/images/Page%201.gif"
[code].....
I have created a Flash movie which, when previewed in Flash works perfectly. Flash CS4.I have put this code in at the start:
mysitebtn.addEventListener(MouseEvent.CLICK, onMouseClick); function onMouseClick(e:MouseEvent):void { var request:URLRequest = new URLRequest('http://www.example/home.html'); navigateToURL(request,'_self'); }
navigateToURL (new URLRequest('http://www.example.html'), '_self');
and a Stop() action on at the end.
Publish with "Loop" in HTML tab is unchecked.
The Loop button is unchecked in Dreamweaver Parameters.
As far as I can tell the AS 3 is to the T. But when I test it in dreamweaver some of the pdf's and all of the websites will not open. It says to make sure the path or file name is correct... but the names are perfectly fine.it may be a security sandbox issue, but I don't know how to check that let alone fix it.Here are some of the code samples.
menventures.addEventListener(MouseEvent.CLICK, menventuresurl)
function menventuresurl (event:Event):void {var menventures:URLRequest = new URLRequest("http://www.menventures.com/");navigateToURL(menventures, "_self");trace("The menventures button was clicked");}[code].....
I have a SWF file in my Dreamweaver site, that plays correctly. The problem is that the stage is white and we would like it to be transparent. Searching the archives the following advice was given:
in your html embedding code you need to set the wmode parameter to be "transparent" I'm wondering if this is the code in Dreamweaver or is this done in Flash. I'm working with CS5. Below is the code that matches the SWF file in Dreamweaver. I did change the wmode value from "opaque" to "transparent" and it didn't work.
[Code]...