User Tag List

Results 1 to 8 of 8

Thread: Get Layer bug :)

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get Layer bug :)

    Hey Yves, I found a bug.

    Here is how to simulate it;
    -Rename "Global Value A" to "Layer"
    -Add an active object to the frame.
    -Compare 2 values "If Layer-1<>Layer('Active Object')"

    And voila, you got the bug. It gives a syntax error.
    Now, to solve this, rename the global value "Layer" to "Layer2" or "LayerWhatever", and its fixed.

    What i think is that it conflicts with the "Layer" part of the get layer feature "Layer('Active Object')".

  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: Get Layer bug :)

    Be careful with global value/string names as MMF2 won't complain about potential conflicts.
    .:::.Joshtek.:::.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Layer bug :)

    huh? like?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Layer bug :)

    Like the conflict you just mentioned. I don't see it as a bug really. In any programming language, you must avoid to give variables and functions names that the programming language already uses.

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Layer bug :)

    Okey. but.. MMF has always been different than a programming language. You don't have to define variables, and so on... its just not comparable.
    What im doing is following the logic of MMF, and according to that logic this should not be possible.

    But i agree you should watch for duplicate names <img src="/center/images/graemlins/wink.gif" alt="" />

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Layer bug :)

    But MMF is still a programming language and as such follows the rules of one.
    And so must you.How should MMF know the differences between two things that
    are both called 'layer'? It would have to 'look' closer and check if it's a variable
    or an active object or a real layer or an active picture or a string [...].
    You see this would take quite some tim and your application would slow down.

    I hope I could clear things up for you <img src="/center/images/graemlins/smile.gif" alt="" />

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Layer bug :)

    You are missing the point.

    1. MMF is not a programming language in my opinion. Its a multimedia creation tool. Flash has "Action Script" action script IS a language, however that doesn't make Flash one.
    Btw, go check: http://en.wikipedia.org/wiki/Programming_language

    2. "Layer" and "Layer('Active')" are DIFFERENT variables ACCORDING to the LOGIC OF MMF, and so according to my logic.
    In a programming language or MMF you have classes and objects which are practicly the same. These objects can contain the same variables as elsewhere in the application without being affected by that because they are bound to their object.

    Sooo... if your still not getting it:
    A is not AA

    I agree with you when you say Layer and Layer conflict. but dont say Layer('Active') is the same as Layer. Cause its not. And thats working troughout whole MMF except on the Global Values. Which i think is a bug.

    Please lock this topic...

  8. #8
    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: Get Layer bug :)

    []Please lock this topic... [/]
    Okay.
    .:::.Joshtek.:::.

Similar Threads

  1. Layer Object: Moving X and Y of layer is very slow
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 5th April 2013, 01:19 AM
  2. Creating a new Layer: Layer referrances
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th October 2012, 11:44 AM
  3. Position layer using Layer Object
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th October 2012, 05:51 AM
  4. Layer Object can't move counters to specific layer
    By JoKa in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th November 2007, 11:11 AM
  5. Bug when moving a layer with layer object
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd July 2006, 11:40 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
  •