create a page which contain a flash can be add tex

2020-05-07 08:16发布

问题:

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. :)

回答1:

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