User Tag List

Results 1 to 9 of 9

Thread: HTML In Event Editor?

  1. #1
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    569
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML In Event Editor?

    Is it possible? What I want to do is set an edit box's text to some HTML, with some counters always controlling certain values of the HTML code - such as, for instance, table width, height, etc. Is there anyway I can do this?

    The code I wish to customise is:

    "<TABLE WIDTH="500" CELLPADDING="2" CELLSPACING="2" BGCOLOR="#ffffff"><TD BGCOLOR="#000000">Insert Text Here</TD></TABLE>"

    I've tried to use Str$ and Val$ to keep the numerical values as "text" but it doesn't want to work.

    In addition, HTML code features code usage with speech marks, ala "", is there anyway to seperate these from affecting the event editor code? (does that make sense?)

    If anyone has any advice it would be greatly appreciated. Thanks.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: HTML In Event Editor?

    Nope, you'll have to use the Web Browser Active X control for HTML.

    For a speech mark just do "".

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Posts
    395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    I remember there was an example about how to use an edit box to create your own scripting language in MMF. Does anyone have that example because i recall it can do HTML coding. (im looking for this example as an alternative from using other scripting languages)

    As for displaying it, you'd have to do that once the file saved because thats impossible to do it realtime like in Dreamweaver.

  4. #4
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    569
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    Ok, thanks for the advice guys... I'm probably a bit out of my depth here.

    Never mind <img src="/center/images/graemlins/smile.gif" alt="" />

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: HTML In Event Editor?

    If you just want to display the raw HTML code then you use "Blah"+str$(Counter blah)+"Blah=""blah""" or whatever.
    .:::.Joshtek.:::.

  6. #6
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Posts
    395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    Theres some good examples in the archives. A lot of them seem to use String Parser. if that helps at all?

    are u wanting to program it from runtime or display it?

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Posts
    395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    U might want to try this maybe? http://www.clickteam.com/CTforum/showthr...&amp;sb=&amp;o=

    this shows the HTML code and reckonises it.? hope this helps u.

    Whoops! That was before Tigerworks became a mod! lol

    http://www.clickteam.com/CTforum/showthr...&amp;sb=&amp;o=

    this one seems more updated.

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    I don't quite understand what you want to do.
    If you want to display the above table code in an edit box you'd just use:

    "&lt;TABLE WIDTH=""" + Str$( value( "Width" ) ) + """ CELLPADDING=""" + Str$( value( "Cellpadding" ) ) + """ CELLSPACING=""" + Str$( value( "Cellspacing" ) ) + """ .etc .etc

  9. #9
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    569
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: HTML In Event Editor?

    Oh wait, Flava provided the solution - cheers guys for all your help <img src="/center/images/graemlins/smile.gif" alt="" />

Similar Threads

  1. Replies: 3
    Last Post: 14th October 2013, 12:54 PM
  2. HTML Editor - Edit Object
    By johhny234 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th March 2010, 04:29 PM
  3. Open Frame Editor and Event Editor at same time
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th April 2008, 05:53 PM
  4. [Request] Synced Event Editor + Event List Editor
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th March 2008, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •