Teil von  SELFPHP
Professional CronJob-Service

Suche

:: Anbieterverzeichnis ::

Globale Branchen

Informieren Sie sich über ausgewählte Unternehmen im Anbieterverzeichnis von SELFPHP  

 

:: SELFPHP Forum ::

Fragen rund um die Themen PHP?
In über 130.000 Beiträgen finden Sie sicher die passende Antwort!  

 

:: Newsletter ::

Abonnieren Sie hier den kostenlosen SELFPHP Newsletter!

Vorname: 
Name:
E-Mail:
 
 
 
Working with Behaviors






What you’ll learn in this module:

Adding behaviors to buttons
Adding a behavior to trigger an animation upon pageload


Prototyping with SketchFlow: Module 9

Working with Behaviors

Expression Blend allows you to add pre-existing, or imported behaviors, into your SketchFlow project. Using new features in Expression Blend 3 you can add interactivity to your prototype without all of the time-consuming hand-coding.

About Behaviors
Behaviors in SketchFlow are packages of reusable code that can be applied to objects in your prototype. Typically, a behavior enables some form of interactivity in your prototype that would be difficult or time-consuming to do by hand. Examples of behaviors include hooking up a button to navigate to a specific page or playing an animation as a page is loaded.
Opening an Existing Project
To get started, you will open an existing project.

  1. With Expression Blend 3 open choose File > Open Project/Solution and browse to the module09_guide folder. Open the folder and then open the snowboard_online folder contained within.
  2. Double-click on the Expression Blend file named snowboard_online and open it in Expression Blend.
  3. In the SketchFlow Map panel, double-click on the Boots screen to open it.
    You will be adding a behavior to several buttons in your prototype. Behaviors are small pre-packaged code files that can be applied to objects in your prototype in order to create some sort of action. For example, this first behavior will activate the checkout button so if a user clicks on it, they will be sent to the ReviewCart page.
  4. Right-click on the checkout button and from the resulting menu choose navigate to > ReviewCart
  5. Double-click on the ReviewCart screen in the SketchFlow Map panel and then right-click the Back button and choose Navigate.
  6. Right-Click on the Confirm button and choose Navigate To > Checkout.
  7. Press F5 and test these buttons. The behaviors are what enable the back button to remember what page the user came from and the code involved to make this work is not trivial.

Even those these behaviors you added were accessed through a context menu, they could also have been added another way: through the Behaviors category in the Assets library. You’ll take a look at this now.



Seite 1 von 2 1 2



Downloads

Copyright © 2010
Microsoft Deutschland GmbH
Alle Rechte vorbehalten.

 Microsoft Deutschland GmbH
 




:: Premium-Partner ::

Webhosting/Serverlösungen

PSW GROUP GmbH & Co. KG weitere Premium-Partner
 

:: SELFPHP Sponsor ::

HighText Verlag Graf und Treplin OHG weitere Sponsoren
 


:: Buchempfehlung ::

Einführung in XHTML, CSS und Webdesign

Einführung in XHTML, CSS und Webdesign zur Buchempfehlung
 

:: Anbieterverzeichnis ::

Webhosting/Serverlösungen

Suchen Sie den für Sie passenden IT-Dienstleister für Ihr Webhosting-Paket oder Ihre Serverlösung?

Sie sind nur ein paar Klicks davon entfernt!


 

Ausgewählter Tipp im Bereich PHP-Skripte


Alle Bilder eines Verzeichnisses auflisten

Weitere interessante Beispiele aus dem SELFPHP Kochbuch finden Sie im Bereich PHP-Skripte
 

SELFPHP Code Snippet


Tabellen mit Überhang in einer MySQL-Datenbank ermitteln und optimieren

Weitere interessante Code Snippets finden Sie auf SELFPHP im Bereich PHP Code Snippets
 
© 2001-2024 E-Mail SELFPHP OHG, info@selfphp.deImpressumKontakt