ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
Clean Flexscript
Hello Flexsim,
Yesterday I had a node toggled as flexscript, build it and then later on made it not flexscript anymore (in some GUI development). So I was left with all kind of nodes containing the flexscript code. Then I figured using clean flexscript was a nice way of removing those unnecessery node. But to my horror it removed all my triggers and didn't remove the unneeded nodes anymore. Was the clean function intended to work this way? Regards, Steven |
#2
|
||||
|
||||
"Clean Flexscript" removes the subnodes of nodes that are currently toggled to a flexscript node (you untoggled your previous flexscript nodes, so they weren't cleaned). The subnodes of a flexscript node are a structure of parsed flexscript code where each node represents a single command and these subnodes are created when the flexscript is "built". Don't worry about your flexscript nodes that had their subnodes cleaned out, just "Build Flexscript" and they'll come back.
|
The Following User Says Thank You to Cliff King For This Useful Post: | ||
Steven Hamoen (04-04-2008) |
Thread | Thread Starter | Forum | Replies | Last Post |
Using multi-dimensional arrays with flexscript | Cliff King | Tips and Tricks | 0 | 12-15-2007 11:25 AM |
Adding member eith Flexscript | Lars-Olof Leven | Q&A | 2 | 08-22-2007 08:00 AM |