macromedia flash sitedesign:
Hi, I have a button created in flash as a .swf, I have the animation with the rollover and everything. Now I am trying to import this into my website in dreamweaver. but when I import the button and only want the button...the stage gets imported too. so its the button surrounded by a huge amount of white space. How do I eliminate the stage? Thanks guys.
minimize your stage size from properties menu of flash to size of your button
HI, i did the same thing and im making a band website. I just made the stage smaler. but i have another problem. How do you link a flash file in Dreamweaver? Can you plz help me?
thanks abiebal but do you have to have your pages already on the web then in order to link the nav. bar to them right? Ort can you make links from navigation bar without having the pages uploaded to the internet?
In flash i put the action scipt. geturl.....does this mean that in order to link these buttons, I already have to have my pages on the net?
Well, if the pages aren't there, there will be nowhere for it to go to but you can certainly add the code to your Flash buttons. You'll just get an error if you click on it since the page won't be there. Did I understand your question or did I state something you already knew?
got it right, but i mean right now in Dw you can add a link to any text or whatever and you dont have to have the whole site up on the net but the links still work wen ur site isnt up on the net. So can you make the flash btutton go to a link like "C:\Documents and Settings\Mike\Desktop\flash projects\everfound\videos" you know what i mean?
Erm... don't think so because of sandbox security issues but I'm not positive. I don't want to chime in on this without doing a bit more research myself. I'll see what I can find. (it seems we'll both learn from this one)
Ok, check it out... I made a dummy html page one level above the directory containing my my SWF and here's how I opened a new page in the browser... on the main timeline: urlButton_btn.onRelease = function(){ getURL("../test.html", "_blank"); };
hey man i don't get. So look at my situation. I created flash buttons and imported them into DREAM WEAVER. I cant add a link to them in DW so I have to do it in flash. My flash button is a in a folder. "buttons" I made a blank html page in a folder above buttons. And i put in that action script and in the quets i put in "C:\Documents and Settings\Mike\Desktop\flash projects\everfound\all flash\test" test is the blank html page. Than i import this button to dreamweaver and preview my site in browser. I click My button and the blank html page doesnt open. DId i do something wrong?
lol ok I put the wrong instance name lol. BUt now it opens but it says "this page cannot be displayed"
Try and make the location of the file relative to the flash file. In other words, the script inside the SWF is looking for something. How does it travel to the place it's looking for. If it's in a folder titled buttons and the HTML page you're linking to is in the next folder above that then you'd tell it to get there by using "../test.html" See this zipped file I've made for you http://www.doubleplusgooddesign.com/navButton.zip
thanks for all your help man. I got it and know I know hot to do it! Thanks you, hey do you use dreamweaver?
Don't see what you're looking for? Try a search.
|