Clickable HTML5 banner with Flash Professional CC, including a clickTag - html

I'm using Flash Professional CC to create online banner. To be honest, I don't know anything about coding with HTML5. When I export my ActionScript into HTML5, all animations work perfect, but the button doesn't work. Can anybody tell me, how it's possible to make the whole banner clickable and how to integrate a clickTag?

Create a button symbol in your document. That gives you a cursor.
In your published HTML file add this in the head
var clickTag = "https://www.google.com";
On your canvas div right before the ending > add this
onclick="javascript:window.open(window.clickTag)"
Open in a browser, click and you will see it load google in a new tab.

Related

How to Embed InVision Prototype iframe with no background?

I have been trying to embed my prototype from InVision by using an iframe.
For some reason, mine has a dark background underneath the frame.
I have seen some embedded frames with no background and I would like to have mine displayed this way.
How could I do this?
The prototype embedded on my website:
I want to embed the iframe looking like this:
Any help and information will be highly appreciated !
go to the Inspect window.
Find the line of code that says
"Inherited from body.branding-invision.embed"
Click on it.
Then find the line that says
"body.embed {background:..... .}"
You can change the background colour there.

Created a hyperlink on a button however it only work on the first click then stop working

I'm new to flash. I am using Adobe Flash Professional CS6. I have created a menu bar with a drop down menu and rollovers to change the colors.
I have put the the code (below) on the background and then given the button the instance name of 'navbarbtnhome'.
navbarbtnhome.onRelease = function() {
getURL("http://www.google.com", "_self");}
After i publish and open the HTML file the hyperlink will only work for the first click, after that I have to amend the code in some way and then publish and open it again, then the hyperlink will work another time until I repeat the process. Can anyone help, I'm totally lost for ideas now after trying for hours. my full menu bar is here if anyone wants to help.
Thanks.
It seems as though getURL doesn't work when testing your file locally, due to security sandbox restrictions. Assume that the links work, and upload it to your server and then test it -- hopefully it will work that way :)
Source: getURL not working on HTML export (Actionscript2.0)

is it possible to drag and drop html elemnts in dreamviwer cs6

I am developing a phonegap application using dreamviewr cs6. I use dreamviewr after a long time. In a previous version, I can rember that there was a html bar so that I could drag and drop html contents and design a site. but In dream viewer cs6 I couldnt find such a facility. Is there any special configuration to get html list to drag and drop?
window->insert ctr+F2 is the key

Website - how to make an info button for images

I was wondering how you on a website make an info button for images. Like after you click the info button, there is a box beside the mouse telling you what image your mouse is hovering over. This would be for this website: http://108.171.192.123:8123/ . I want (on the click of a button) for it to tell you what block is what.
Note:
- the several images can't be made into a bit map
- any code snippets that might help are useful
- any website language I will accept (e.g. I can learn it if I need to).
- huge thanks to those who answer.
- the website is a map of my minecraft server (it will be blank ATM tho)
Dynamic MouseOver effects are achived by using JavaScript. I would recommend to learn jQuery, a widley used JavaScript library, which allows to animate your static html.

create a page which contain a flash can be add text dynamiclly

I have to create a web page which can be set to full screen(I mean the real full screen,not like press the F11),in the full screen there should be some words displaying.
Take the http://stackoverflow.com for example:
Normally,it show its contents(the questions),but someday,maybe a VIP come to visit the page,so we want to replace the whole page with a welcome screen.
Of course we can replace the https://stackoverflow.com/index.html (suppose it is the index page) with the welcome text(welcome xxx to our site...) in the server side.
However this is not convenient,and the text can not be full screened.
So I thought the flash,I can add a controller button at the page,when required,I click this button,and set the welcome words,then a flash will start to play with the sepcified words in a full screen model. It would be better if the flash can show the text with a Animation.
I have never did the flash development,so I want to know if this is possible?
BTW,can all the clients change to flash with juse one click?
I mean I click the controller button,then all the client who is visit this page should see the contents replaced by the flash at the same time.
I am not sure if you guys know what I am meaning. If not,I can update more details.
I am really Anxious, Thanks. :)
Since you're starting from scratch with Flash, I made a quick example of what I think you want to do. http://clearmpls.com/temp/fullscreen/ - the source files that I made this example with can be grabbed from here: http://clearmpls.com/temp/xml-loading-fullscreen-thing.zip
I used the Flash IDE to create this. You can grab a 60-day trial from Adobe's site here: https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash
This example shows examples of these functions:
- it loads an XML file with text data
- displays that data in a textfield on the stage
- gives you a button where you can toggle back and forth between fullscreen and regular
- resizes the stage and textfield based on what you have written in your XML file