User Tag List

Results 1 to 4 of 4

Thread: How-To Rich Edit Object, replace :) with a image

  1. #1
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)SWF Export Module (Steam)Firefly 3D Module (Steam)
    Spryz's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How-To Rich Edit Object, replace :) with a image

    im making a small chat application, and im using Rich Edit Object as the chat screen for all messages, and using MooClick as the power for sending and recieving messages.

    Im just wondering, how when a message is send/recieve, how can i scan it for a code such as #smile# in the message and replace it with a


    [color:#FF0000]Player: On Message[/color]
    + P_OnMessage_GetSubchannel("MooSock")=1
    Set text to "["+PCU_GetName$("MooSock")+"] "+P_OnMessage_GetText$("MooSock")+NewLine$

  2. #2
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)SWF Export Module (Steam)Firefly 3D Module (Steam)
    Spryz's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How-To Rich Edit Object, replace :) with a image

    im sure there was an example in the old forums but my searches resulted in finding nothing, does anyone know where i can find the old example of how this was done ?

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: How-To Rich Edit Object, replace :) with a image

    Here is an example that was posted in the old forum, to insert smileys to a rich edit object :

    http://www.clickteam.com/mbfiles2/299393-RTFImages.zip

    To convert the smileys to RTF text, you have to create an empty RTF file with wordpad, save it, insert an image, save it to another file and extract the difference between both files with notepad.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)SWF Export Module (Steam)Firefly 3D Module (Steam)
    Spryz's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How-To Rich Edit Object, replace :) with a image

    wow thanks, i now have it when clicked it will post code :smiley: in the text edit box, but that example was not the one im looking for, what i need is the program to search the rich edit object and replace all :code: with the image for all who are using the application, whats the easiest way to do this ?

Similar Threads

  1. Pasting an image into a Rich Edit object?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd September 2011, 11:06 PM
  2. Image in Rich Edit Object
    By crugh in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 4th June 2008, 01:21 AM
  3. Rich Edit find and replace
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd May 2008, 08:32 PM
  4. Extracting a line from Rich Edit Object or Edit Ob
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th March 2008, 05:16 PM
  5. Rich Edit and Image borders
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 1st December 2007, 11:22 PM

Posting Permissions

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