h1k3's Recent Forum Activity

  • Hi everyone I am looking to add an onunload event to podes html iframe. I want to be able to stop the iframe from pointing to another url, with the croos domain security issue I can't catch the current url so I would like to be able to put a function in the onunload event for the iframe that just resets the browser back to the intended source. How do I add the event handler function?

    Thanks in advance,

    Lance

  • Update:

    Resetting the dialogues seems to have resolved the error.

  • Just came across a complete stopper for me. I can no longer import frames or sprite strips. It worked fine up until today(I had the construct2 won't exit problem) So I reinstalled 104 and opted to uninstall the old version but still can't import frames or sprites. I opened a new construct project to see if it was just a messed up capx but the problem persists with new projects as well. No error message, just won't work. :(

  • Just tried on my iPad. No touchscreen so ill try later on my desktop. I'm working on a Facebook game as well :). You seem to have the same issue I had for the longest time. The screen doesn't fit my window so I have to scroll down for the bar at the bottom on your website. Other then that it looks nice but I can't say anything about playability yet. :)

  • Hi everyone,

    Small question about the way the software operates. Do layouts always stay loaded in memory? What I am getting at is, would it be ok performance wise to have say 1000 small layouts? I know that number is excessive I was just using it for an example. I can't seem to find a reference in the manual to how layouts and layers are loaded and when they stay loaded. Do layouts and inactive layers always stay loaded?

  • I figured it out, :)

    I had two plugins that still had the example data from the sdk templates. It was tripping the warning because there was of course duplicate expressions. I had built a plugin in a while back to get the actual users set video resolution and forgotten to remove the template example data. So when I started the html5 iframe and didn't remove the example data it spit out the warning. So word of caution to all us newbie developers. Make sure you remove the template data and use unique info for each expression, etc.

  • What does this mean? I updated to the new version of construct 2 and now I receive this error. I'm trying to recreate pode's iframe plugin with the updated html items such as sandbox. It worked fine before the update. Heres the copy of the error, what does this mean?

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    ACE table: Expression ID duplicated in ACE table

    Condition: exp_ids.find(id) == exp_ids.end()

    File: c:\c2\source\exporters\html5\..\..\common\ERAHelpers.h

    Line: 249

    Function: void __cdecl era::ACETable::AddExpression(int,int,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,void (__cdecl *)(const class era::StaticResult **,int,class era::StaticEvaluation *))

    Build: release 104 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort   Retry   Ignore   

    ---------------------------

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • :) no problem

  • You would need to check with a php person. I'm fairly familiar with JavaScript and basic php. I've never even heard of sessions so I couldn't comment. Try stackoverflow.com for php help :) you had said that if you plug the info into the URL manually it worked so either something in your capx is wrong or maybe the session thing is messing it up. Did you plug in my basic php file from earlier? It has no session stuff in it and I know it works with MySQL. So it at least could tell you if you have the construct2 side of the coin correct.

  • Anyone have a thought on how to pull the current iframe url into a string?

  • Kyatric

    I figure out that localhost was causing that particular problem. When I upload the error goes away but the text never changes to what it should. I've tried urldecode, urlencode str and str(urldecode/urlencode all of which turn up undefined as the text. Any thoughts?

    BTW forgive the spelling errors, I must have sticky keys on my laptop.

  • I'm looking for someones help who is familiar with the PodeHTML Ifram plugin. I'm trying to load the current HTML iframe page into a text sprite using the currenturl expression. It pops up an error of undefined however assertion failure expvalue.setstring without string type is the error message.

    what is the correct way to load an iframe url into a text sprite? I've got every tick set text.text to "URL:"&Frame.CurrentURL

    Any help would be greatly appreciated

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies