-
Websit using MMF2?
Hi
I remember reading somewhere that you can use MMF2 to create websites. I might be wrong.
...
Is it possible to create a website using MMF2, where i could uppload applications, pictures, video and whatnot?
Is there a live example of such a website?
-
-
1 Attachment(s)
Yep! Check out the Lacewing Webserver object. The only example I have is one that someone requested:
-
Seems the Lacewing Webserver object is a corrupt download from Extension view?
-
I don't believe he wanted to make a web server -- rather a website.
If you have the the SWF/Flash export module you could use that produce some interactive content for a website.
-
You could do this, but I'm not sure it would even be worth it since there are already resources available to handle that. Sites like Dropbox combined with a free blogging service like blogger or whatever you prefer would eliminate the need for building anything on your own. Unless you want to build your own customized site with your own domain.
-
Yes!!!,
you may create beatiful web sites using FLASH exporter.
very nice menu and graphical effect.!!!
-
Ok so its possible. Thats greate!
...
But does anyone know about an actuall web page ( for a company or something ) created this way, one that i can actually visit using my web browser?
...
And this is only possible using the FLASH exporter?
Does that mean that if a visitor dont have Adobe Flash Player, he wont be able to view the site?
-
Flash works, but yeah they'd have to have Flash installed. I wouldn't recommend building an entire website in Flash anyway. To make a website with MMF2, basically you'd be making a text editor to handle HTML tags and CSS. So that would probably be more time consuming than just typing the code in notepad. Not worth it to me. Especially since there should be some free tools out there that helps you build a site.
-
I use the old Netscape 7.1 which has a built in WYSIWYG editor called Netscape Composer. That works for HTML web pages.
Note: I actually created a program in MMF that quickly creates an HTML page with photos on it. After I had created a page with Netscape, I then looked at the actual source code (there is a tab in netscape Composer or you can open your document up in Notepad). I figured out which HTML code I needed to automatically generate. Then, using the file object as a selector, I programmed it to allow the user to select multiple files within a directory, and then the user selects what format he wants the files displayed in (horizontal or vertical, and aspect ratio), and once the user does that, the program builds the html file. :)
-
This depends on the route you want to go. If you're wanting to go the HTML editor style then there's two options.
1.) Scintilla 2, as has already been mentioned. Scintilla even has built-in syntax color highlighting. Under the Actions, I/O > Export as HTML, you can export your text as an HTML file.
2.) If you want a more home grown solution then you can create a simple editor with just an Edit box and the File extension. It could go like this:
- On application menu selected New, Editbox: Set text "<html>"+NewLine$+"<head>"+NewLine$+"<title>My Cool Website</title>"+NewLine$+"</head>"+NewLine$+"<body>"+NewLine$+"Hello World!"+NewLine$+"</body>"+NewLine$+"</html>"
Of course you can take out Hello World! and the My Cool Website and that would populate the exitbox with a basic HTML template. To save it:
- On application menu selected Save:
- Open save file selector on Apppath$
- Create the file FileSelReturn$("File")
- Append Edittext$( "Edit Box" ) to FileSelReturn$("File")
When the File selector comes up you have to type in the file name with the .html extension, such as mywebsite.html. If you wanted to go farther you could set the default extension to .html as well as filter out extensions, etc. This would be applicable even more so if you wanted to have separate extensions such as .php, .css, etc.
Make sure to set the edit box properties to multiline. If not then it will not show the new lines. Everything will all be on one line.