Changing text after it lands on the second photos on horizontal scrolling - figma

i'm new to figma and i wanted to build something where there are paragraph on the left side and a photos on the right side. so i used the horizontal scrolling with overflow scroll and i wanted to change the paragraph on the left side every time he user lands on a different photo available. how do i do that?
May this photo helps :

Unfortunately, that is not possible in Figma at the moment. You will have to attach the text to the scrolling container for it to appear while the user scrolls.
You cannot efficiently and without glitches create the interaction you described.
Though, I have a proposed solution.
It's not exactly what you're looking for but it works.
Create a frame (let's call it frame 1)
Add your paragraph to the left
Create another frame (let's call it carousel) within frame 1
Add your images in carousel and make sure Clip content is enabled on the frame
Add an arrow (shortcut: Shift + L) to the right of the image (to indicate the user to tap/click)
Duplicate frame 1
Move the all the images in your carousel to the left till the next image appears
Add an arrow Shift + L to the left of the image (to indicate the user to tap/click)
Go to the Prototype tab while you have carousel selected and on Overflow scrolling select Horizontal scrolling
Add an interaction On click to the right arrow to Navigate to frame 2 and the left arrow to Navigate to frame 1 with Smart animate
Go to Step 6 to add another image.
Carousel Figma Example

Related

How to add positioning animation onstart in figma?

I have a rectangle in figma and I want to give it a positioning animation from top to bottom on starting the page. (without clicking or hovering) How is it possible?
At the moment, the best way to animate in Figma is using a combination of Smart Animate & After Delay between two frames.
On Run Animation
We're going to create a start & end frame. Then, animate between them.
Create your starting frame with your rectangle in its starting position.
Rename the rectangle layer to something unique. This ensure the layer doesn't get missed with the Smart Animate function if the frame gets any busier with more layers.
Duplicate your frame CMD+D and position your rectangle to its end position (Check that Figma hasn't renamed your rectangle)
Click Prototype in the top right corner of your panel.
Select your starting frame & click the None dropdown & select After Delay
Click the None dropdown and select Navigate To from the list
In the dropdown the appears to the right, select your ending frame from the list
Under Animation, click the dropdown and select Smart Animate
Deselect your frame and ensure that the "Starting Frame" is set to your first frame.
Finally, hit play in the top right and watch the magic!
Hope this helps!
And here's a screenshot of the set up.
Hope this is what you were after!

Starting section zoom *before* specific animations on slide

Section zoom seems to always start last on a PPT slide. How can I start it somewhere between several animations? (given that I don't have touch screen our mouse at the presentation to directly click on it)
You can start a section zoom at any time during an animation sequence. Click on the section thumbnail you want to zoom to. By default, the home slide is reset to the beginning of the animation sequences, so the animations you already ran before zooming will run again.
To avoid this, create a duplicate of the home slide, but place it after the section to which you zoomed. On the Zoom Tools tab, uncheck Return to Zoom, so the presentation doesn't jump back. Include only the animations you want to run after the zoom.

Auto Layout view resizing frustrations when designing in Interface Builder

Problem: UIView size is "locked" when designing with Auto Layout in IB
I've uploaded a 20 second video that illustrates my problem, but let me describe it. You may recognize the project: it's right out of Apple's WWDC 2012 "Introduction to Auto Layout." I've got a simple iPhone view in Interface Builder where I've already got a button and label along the bottom. The next step is to add a UIView. Here's where things get ugly.
When I drag the UIView out of the palette in Interface Builder and onto the iPhone window, as soon as I let it go it seems to become locked in to its starting size. I place it in the upper left corner, and I'd like to drag it horizontally to the right side of the window, and vertically to where it will be up against (minus the padding) the button and label along the bottom. But, when I try to resize it, I cannot. It's stuck on its original size!
The video illustrating my problem is here:
http://www.youtube.com/watch?v=jsW4UwnCEkw
You can see me grab the right edge of the view and try to pull it along to the right side of the window, but it won't expand. You can then see me move the entire view to the right side (it retains its size) and then try the opposite: grabbing the left side and trying to expand it so that it sizes up against the left side of the window. In both cases, the view is simply locked to its original size.
What gives! Auto Layout in Interface Builder is just the most frustrating thing. How do I resize a view by dragging? Thanks!
(Note: Xcode 4.6.3.)
In IB, in the series of buttons in the lower right hand corner, click on the rightmost button:
When you do, you'll see a "When resizing Views Apply Constraints To..." pop-up menu:
Make sure that "Siblings and Ancestors" is not checked.

Highslide: Shrink image back when clicking in outer area

The only thing which I disklike whith highslide is the fact that when I click a thumbnail and it gets bigger I only can shrink it back when I click exactly in the image area.
Is it possible to shrink the image back when clicking outside the image area?
(and optional also shrink it back when I hover outside the image with the mouse cursor?)
Thanks
If you use a dimming background (hs.dimmingOpacity=0.7, for example), clicking outside the image area will close the expander. This requires highslide-full.js. If you don't want a dimming background, just set the opacity to a tiny value, like hs.dimmingOpacity=0.01.
It might be possible to include an onAfterExpand event to close the expander when you hover outside the image, but I think I can guarantee that you wouldn't like it. If a visitor clicked on a thumbnail, but didn't just happen to have his mouse over the image when it opened, it would immediately close again. That would be very frustrating behavior for the site visitor.

Getting the completed image to view in scrollview

Hi this is the extension of the question which i have ask earlier
stop the stackpanel items inside scroll viewer to be at the display left side when scroll to-be-at-the-display-left-side-wh
I can get the horizontal offset value but i need to compare two images offset, if the scroll stops in the middle i need to move the image to get the full view kindly help me
You can't stop the scroll.
By cons, you can display your image and detect the event Flick (gestures WP7) to change the displayed image and use an animation (use blend).

Resources