May 9, 2018
JS or Effects with Objects with a State
Comments
(8)
May 9, 2018
JS or Effects with Objects with a State
Officer / Course Developer for Federal Law Enforcement Agency
Newbie 10 posts
Followers: 1 people
(8)

I learned something unpleasant yesterday and I’m hoping someone can help me get around it.

I want to use either JavaScript or a motion path to move an image off the side of the page (to the left if that matters), change it’s state, and then bring it back on to the page from the direction it left.  The unpleasant thing that I found was that I’d added text captions to the image’s different states (the reason for the motion), but the JS/motion path only moved the image…not that text; which stayed static.

Any idea on how I can move everything at once, or will I have to have different states for each individual item and identify them individually to make them all move together.

As always, thanks for the help.

v/r

Jay

8 Comments
2018-05-10 16:02:27
2018-05-10 16:02:27

Sure, you can do it in Captivate: fill with image and add text, adjusting position of text by editing margins.

Like
2018-05-10 13:25:12
2018-05-10 13:25:12

That is the reason I suggested to have everything in one shape. Did you ever try that?

Like
(1)
>
Lieve Weymeis
's comment
2018-05-10 15:55:38
2018-05-10 15:55:38
>
Lieve Weymeis
's comment

I didn’t, but I was trying to keep all of the future editing in one program.

Like
2018-05-10 12:01:33
2018-05-10 12:01:33

I’ve tried a few different things, and it appears that even though I added the text as part of another object’s state, and Captivate won’t let me uniquely identify that text while in the state, Captivate doesn’t treat a “state” as a single object but as a collection of parts in this case. Looks like I’ll end up combining the image/text in PhotoShop and then bringing them into Captivate as a single image. Thanks all for the comments.

Like
2018-05-09 17:01:19
2018-05-09 17:01:19

If you use a shape, it can be filled with any image (in a state), even an image with transparent pixels. Moreover you can have text in a shape, and use the margins to position that text. That will result in having only one object in each state. Another approach would be leaving the states alone and use groups of objects to which you can apply any motion effect. Hide/show would then replace the states.

Like
(1)
2018-05-09 16:22:16
2018-05-09 16:22:16

Can you use some sort of tool to add the text to the image itself?

Like
(2)
(2)
>
Greg Stager
's comment
2018-05-09 17:46:15
2018-05-09 17:46:15
>
Greg Stager
's comment

I could build them out in Photoshop, but that complicates the revision process later. This is the way I’ll end up going though if I can’t find a better solution.

Like
>
Jay Cooper
's comment
2018-05-09 17:55:40
2018-05-09 17:55:40
>
Jay Cooper
's comment

I am not sure how complicated your images are but I encounter this sort of thing often when I want to make image updates. In my case, I would probably import the image into PowerPoint, drop a text box on top of it, group it, and do a Save As Picture.

I select the original image location and name. At this point, all I need to do is find it in my project library and hit the update button.

Like
Add Comment