Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8030113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:39:44+00:00 2026-06-05T00:39:44+00:00

i have a simple xml gallery ( ViewNavigatorApplication ), first view is thumb and

  • 0

i have a simple xml gallery ( ViewNavigatorApplication ), first view is thumb and second view named as “SlideView”.
All views change are happening nicely using SlideTransition to each other from “navigation content area buttons”
SlideView has an image control, showing each image at a time. In slide view , i detect slide gestures and it change source property of image control and new image pops up.
Problem is, i want new image to slide in each time, when source property (which is binded to current slide). any ideas?

current slide view basic code is like

protected function swipeGestureHandler(event:TransformGestureEvent):void
            {
                if (event.offsetX == -1) {
                    _dm.currItem.nextSlide();
                }
                else if (event.offsetX == 1 ) {
                    _dm.currItem.prevSlide();
                }
            }
<s:layout>
    <s:VerticalLayout/>
</s:layout>
<s:Image id="slideImage" visible="true" width="100%" height="85%" 
             source="{_dm.currItem.currSlide}" />

i tried defining some effects in fx declaration area like

<fx:Declarations>

        <s:Wipe id="wipeOut" direction="left" duration="500" />
        <s:Wipe id="wipeIn" direction="right" duration="500" />


        <s:Move id="MoveLeft" target="{slideImage}" xBy="300" duration="500"/>
        <s:Move id="MoveRight" target="{slideImage}" xBy="-300" duration="500"/>
    </fx:Declarations>

and using them in image control like

hideEffect="{MoveLeft}" showEffect="{MoveRight}"

but its of no use…
any ideas, please help..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:39:46+00:00Added an answer on June 5, 2026 at 12:39 am

    You are close. The show/hide events won’t get generated when you change the Image‘s source. Instead, trigger these effects manually yourself when the user makes a swipe gesture.

    • on swipe gesture: MoveLeft.play() (assumes that the target of the effect is the Image)
    • now the image is off screen, set the new source for the image
    • MoveRight.play()

    To polish this effect, you might want to have two Image objects in your view. When transitioning to the next image, you can set the source of the other Image object to the new value before playing any effects (to try and pre-load the image).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Gallery View with 2 Views with 3 simple TextViews to
I have a simple XML and I need to get the first ' id
I have a simple XML, <S xmlns=\http://schemas.microsoft.com/winfx/2006/xaml/presentation\><H></H></S> I want to find all H nodes.
I have a simple XML file, with 3 basic elements. The first one is
Hi all I have attempted to write a simple xml reader but have found
I have very simple XML in a string that I'm trying to load via
I have a simple XML extraction issue that should be solvable with straight PHP
i have a simple xml file in a wcf service that i am trying
I have a simple xml file and I want to remove everything before the
I have this simple XML file : <?xml version=1.0 encoding=utf-8 ?> <Artists> <artist artistId=1>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.