I am having a problem with state changes. This problem has happened several times before and I fixed it with a hack but I am hoping there is an easy solution out there.
Here is a video of the problem:
http://magdadiaz.com/scratch/stateProblem/
Any help would be appreciated. Maybe I am just not understanding what states can do. If I am, let me know.
So are you saying that I can't change a graphic in a different state?
I guess I will figure out a hack for this. Too bad. I thought you could switch out graphics on states. I guess I need to use 2 different graphics with hidden states :(
(The story file is large since it's for a real project. I don't want to post client source files since I've been burned before.)
Here's a way to do this. I'd report as a bug, though I'm afraid the stacking nature of these things may be a mechanic of "working as intended".
See the attached file. The two copters on the right don't behave as intended. But duplicating the normal state to a state called "start" and making that the default state works to shift the graphic as long as I don't try to stack in other elements. Seems to work as a swap when a single image is used.
This .story file does exactly what you are trying to do, except a slight issue with the resulting position - but it does seem to work in the way you want.
Actually, I have no idea why the file I posted works as it does and starting out on the normal state doesn't... Seems like something inconsistent going on here. Also feels like my centers got shifted when I made a copy. Origins seem buggy with states.
Very puzzling.... Maybe it's a bug. All the above solutions work for me. My file is set up the same way as the Kitten and cat files but doesn't work. My only difference is that I am not using the player. Hmmm...
I think I will try adding the third state like in Steve's example.
OK, I am adding some new info to my problem. I think one of my mistakes was adding a trigger to the activity. It seems that Storyline already knows you have a State Change if you select the built-in states. I deleted all my triggers and the Drag and Drop still works...
As I said before... live and learn.
(I am still wondering why there are 2 Drop Correct states in the menu though. And if the drag and drop works without the trigger, why is it in the menu at all?)
16 Replies
Hi Magda,
I have looked at the video and this is exactly how states should be used.
Can you post your story file so I and others can take a look?
Have a nice day!
annie
So are you saying that I can't change a graphic in a different state?
I guess I will figure out a hack for this. Too bad. I thought you could switch out graphics on states. I guess I need to use 2 different graphics with hidden states :(
(The story file is large since it's for a real project. I don't want to post client source files since I've been burned before.)
Hi, Magda -
Here's a way to do this. I'd report as a bug, though I'm afraid the stacking nature of these things may be a mechanic of "working as intended".
See the attached file. The two copters on the right don't behave as intended. But duplicating the normal state to a state called "start" and making that the default state works to shift the graphic as long as I don't try to stack in other elements. Seems to work as a swap when a single image is used.
https://dl.dropbox.com/u/19820702/helicopter_states.story
Annie I dont think that is right here is a demo I did to check and the image resize works.
I could get this to work, so I wonder if its the way you created the states, did you delete the image and replace it with another?
With an amplifying visual:
Hi.
Not quite sure what's going on.
This .story file does exactly what you are trying to do, except a slight issue with the resulting position - but it does seem to work in the way you want.
Drag the kitten into the tin can.
Bruce
3 for 1
Hi all,
What I meant is "that is how it should be used"... not "how it should behave".
So, to answer Madga question : Yes, you understand what states can do!
But this is not the expected behavior. I use them a lot in drag and drop and never had an issue like that.
Have a nice day everyone!
Actually, I have no idea why the file I posted works as it does and starting out on the normal state doesn't... Seems like something inconsistent going on here. Also feels like my centers got shifted when I made a copy. Origins seem buggy with states.
I'll take a look at these files. Thank you.
What I did was just reduce the size of the original graphic. I didn't add a new one.
Very puzzling.... Maybe it's a bug. All the above solutions work for me. My file is set up the same way as the Kitten and cat files but doesn't work. My only difference is that I am not using the player. Hmmm...
I think I will try adding the third state like in Steve's example.
It's a riddle wrapped in a mystery inside an enigma. -- To mangle a quote by Winston Churchill.
HAH! Check this out. There are 2 "Drop Correct" states in the menu. I changed it to the "Built-in" version and now my file works.
Live and learn......................
Haha. That shouldn't be possible:P
maybe not, but check your file Steve, just checked mine and it has two Drop correct states
OK, I am adding some new info to my problem. I think one of my mistakes was adding a trigger to the activity. It seems that Storyline already knows you have a State Change if you select the built-in states. I deleted all my triggers and the Drag and Drop still works...
As I said before... live and learn.
(I am still wondering why there are 2 Drop Correct states in the menu though. And if the drag and drop works without the trigger, why is it in the menu at all?)
This discussion is closed. You can start a new discussion or contact Articulate Support.