korbaach's Forum Posts

  • If you are fetching a server side scripted page, you could also just modify the request there by appending the header.

    NOT!!!!

    Sorry, I not following you..

    to try one more time.....is it possible in C2 (via Ajax,Browser executeJs,jQuery...)

    set Access-Control-Allow-Origin: *

    ...................is it possible to Browsers(Chrome,IE,FF,Opera..) to access data from some site in previw..

    (like NW.js):

    ..If Not..................Thank you very much!

    if Yes.....................and you want to help me..

    .................................................................................Please, Exacly How?(Screenshot & Capx)

    Thank You!

  • Thanks!

  • Ok..tkl@Magistross ...you you're talking about

    [quote:1xhz1v05]When Site A tries to fetch content from Site B, Site B can send an Access-Control-Allow-Origin response header to tell the browser that the content of this page is accessible to certain origins. (An origin is a domain, plus a scheme and port number.) By default, Site B's pages are not accessible to any other origin; using the Access-Control-Allow-Origin header opens a door for cross-origin access by specific requesting origins.

    this part..let's say...I understand

    But ..This part in Manual confuses me...

    If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:

    Access-Control-Allow-Origin: *

    This will enable AJAX requests from any domain....

    so..if i want Cors to work in preview(on localhost:50000)

    like this:

    What i need to configure?

  • Example:

    I manualy enable CORS in Browser

    result:

    If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:

    Access-Control-Allow-Origin: *

    This will enable AJAX requests from any domain....

    Please...can someone explain to me ...slowly... how to do this from C2?

  • I'm trying to detect line breaks in my text objects so I can dynamically alter dialogue box images.

    ... when the dialogue loads and wordwraps into the text object, the wrapping doesn't seem to create any sort of Newline indicator...

    Is there a way to count these automatic line breaks from the word wrap..?

    I think not

    ..but there may be an easier way to dynamically alter dialogue box images..

    with

    Example.capx

  • try :

  • Hi, I am trying to create an in game tilemap editor (for my use not the players).... and tested it with chrome, firefox and internet explorer....

    Don't use stupid Notepad!!!

    (open with Wordpad,Notepad++...Bluefish....)

  • and if Rable has a free version of C2...4 different characters and no family?

    ..then...of course...Array

  • NextText.capx

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • ..also search net for

    WAMP , XAMPP , MAMP , AMPPS ....

  • Just a first thing I found...

    RecordRTC

    Canvas-Recording