Previous button always highlighted
My iTunes player is getting on my nerves. For some reason, the Previous Button is always highlighted. So whenever I press the spacebar, it does not stop the player, but it rewinds the song to the beginning. How do I get this **** button to un-highlight so that the spacebar can actually do its job of stoping the music?
nevermind, just figured it out. Just need to press tab and it cycles through the buttons.
thanks to me!
Similar Messages
-
Creating next/previous buttons problem
I am creating next & previous buttons on my main scene. I have created a scrolling photo gallery as well as a random button to randomly select images. I have a photos layer that has 15 images tagged in the AS "img1" "img2"....hopefully this all makes sense so far.
What script can I use to easily create a next_btn. This is what I currently have
next_btn.onRelease = function() {
photos.gotoAndStop("img"+1);
photos.fader.gotoAndPlay(2);
"img"+1 goes to the "img1" however I would like it to go to the next img instead of always go to img1. I've tried _currentframe+10 (images are 10 frames apart) and some others but cannot seem to get it to work.
I would like this to work along with the random button so that when a random image is clicked, the person can click the next button and get to the next image.
Current script in...
random_btn.onRelease = function(){
var picNum:Number
picNum = Math.ceil(Math.random()*15);
photos.gotoAndStop("img"+picNum);
photos.fader.gotoAndPlay(2);
next_btn.onRelease = function() {
photos.gotoAndStop("img"+1);
photos.fader.gotoAndPlay(2);
if you need any clarification let me know! thanks!i'll try to explain this simplier.
scene 1 (layers)
inside layers
AS
next back btn
random btn
photos
displays images when clicked on from photo gallery
scrolling photo gallery
photo gallery + buttons for gallery
i'm looking to create a simple < > prev and next image buttons.
My current script from above (original post) hasn't worked out.
random_btn.onRelease = function(){
var picNum:Number
picNum = Math.ceil(Math.random()*15);
photos.gotoAndStop("img"+picNum);
photos.fader.gotoAndPlay(2);
next_btn.onRelease = function() {
photos.gotoAndStop(picNum+1);
photos.fader.gotoAndPlay(2);
I'll take out the random_btn if need be to create just a regular next button and previous button. (i'll worry about tracking the scrolling image gallery later...one issue at a time)
Thanks again. -
Next and Previous Buttons, n00b edition
OK, I am trying to construct a "timeline" flash file, where
basically you click either a next or previous button to move
through different frames, and I think I know how to do everything
other than the next and previous buttons. Two questions:
Would this be easier as AS2.0 or AS3.0?
If I use AS3, would this code work, and is "my_mc" simply the
name of the layer with the navigable frames?
next_btn.addEventListener(MouseEvent.MOUSE_UP,buttonPressed);
prev_btn.addEventListener(MouseEvent.MOUSE_UP,buttonPressedprev);
function buttonPressed(event:MouseEvent){
my_mc.nextFrame()
function buttonPressedprev(event:MouseEvent){
my_mc.prevFrame()
Sorry if this is confusing, I am such a n00b I don't even
know how to ask questions properly.sholditch,
> This is a huge help and one of the better explanations
of AS
> coding I've ever seen. Thanks a ton.
Thanks!
> However, I think I may be jumping ahead too much.
Sure, no worries. It's definitely dizzying at the beginning.
> Follow up questions, n00b style:
>
> 1. What would be the equivalent of the nextFrame()
method
> for previous? Tried searching help and googling, but
getting
> too much other stuff to wade through.
Google absolutely rocks, but I hear ya ... you have to be
willing to
wade through numerous search results. Fortunately, the Help
docs usually
get you directly to your answer -- and quickly, at that -- if
you just know
how to navigate them. If you're using Flash CS3, the Help
docs are local,
though optionally available online. If you're using Flash
CS4, the docs are
online and open in a browser, in either case, what you're
looking for
specifically is the ActionScript 2.0 Language Reference (if
you're using
AS2) or the ActionScript 3.0 Language and Components
reference (if you're
using AS3).
AS2:
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
AS3:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html
In the case of AS2, you'll click on the lefthand side. Open
up
"ActionScript 2.0 Language Reference," then "ActionScript
classes," and
you're in. In the case of AS3, you'll see the classes already
listed on the
lefthand side.
Now ... you've coded up your button, which means you
consulted the
Button (AS2) or SimpleButton (AS3) class to see what was
available to you.
(I'm speaking hypothetically, of course. When you've become
more
comfortable with the docs, this will often describe your
initial steps.)
You want to code up a button symbol, so that means you've
looked up the
Events heading for the appropriate class to see what this
object can react
to, such as a button click. You've found your event --
onRelease or
MouseEvent.CLICK -- and have associated that event with a
custom function.
Now, you're on to the next step. In this case, the object
you're
looking for is no longer a button. It's a movie clip, because
you want this
function to send the main timeline forward or backward.
Again, your first
question is always: a) what object am I dealing with? Here,
it's the
MovieClip class, so that's where you flip to. Your second
question is: b)
what category am I looking for? If characteristics, look up
Properties; if
something the object can do, look up Methods; if something
the object can
react to, look up Events. In this case, you want to send the
timeline
somewhere. That's something the timeline (that is, this
particular movie
clip) can do. The things-an-object-can-do category is
Methods, so that's
where you flip to.
You'll see a decent selection in either language, including
the common
gotoAndPlay(), gotoAndStop(), and so on. You'll also see
nextFrame() and
prevFrame(). Bingo! (Note, both versions of the language rely
on something
called inheritance, which behaves just like it sounds. Just
as we humans
inherit traits from our predecessors, most classes inherit
traits from other
classes up the family tree. In the AS3 docs, you'll see a
"Show Inherited
Public Methdods [or Properties, or Events]" hyperlink. If you
need more
detail, be sure to click that link. In the AS2 docs, the
inherited items
are listed in a box beneath each heading. Any given class may
or may not
have inherited items.)
So you really don't have to wade too far. Think of what
object you're
dealing with, then jump to the relevant category.
> 2. How do I make the next and previous buttons the only
> controls that will move to the next or previous frames?
I
> plugged in the code into a separate as_layer and when I
> test the scene it just goes through the frames
automatically.
Movie clips (including the main timeline) just animate
naturally -- they
*want* to move -- so if you want a timeline to stop, you have
to instruct it
to. Here again, you'll look up the MovieClip class and,
because you want to
find out how to *do* something (how to stop this movie clip),
you'll jump to
the Methods section. Sure enough, there's a MovieClip.stop()
method.
In frame 1 of your main timeline, simply type stop(), and
that'll do it.
The reason it works is because you're invoking a MovieClip
method on a
MovieClip instance -- the main timeline. If you wanted to
stop a movie clip
symbol, you'd have to give it an instance name, then invoke
the method on
that particular instance, like this:
myMovieClip.stop();
... in which case, myMovieClip is the instance name, and this
clip happens
to site in the same timeline as this code appears.
Alternatively, you could enter the timeline of that movie
clip and
simply put stop() in its own first frame. That would do it
too. In either
case, you've invoked a MovieClip method on a particular movie
clip. All you
ever need is an object reference (implicit, because you're in
that object's
scope) or an instance name (or a variable that, by some other
mechanism,
refers to a particular object) and then you're set. With that
reference in
hand, you simply name the reference, put a dot, then invoke
the desired
property, method, or event.
In the case where you simply invoke stop() on the main
timeline, you
*could* reference the main timeline directly, like this:
this.stop();
The "this" keyword is a special reference that refers to
whatever scope
its in. Because your code appears inside a keyframe, its
scope is the movie
clip in which that keyframe appears, therefore "this" -- in
that context --
refers to that movie clip. But as I showed earlier, you can
also simply
leave off the prefix object reference because Flash will know
what you mean
(that is, which movie clip you mean).
Eventually, when you're more comfortable, you'll reference
instances of
other kinds of objects, such as sounds, text formatting
objects, and more.
In those cases, your object reference -- an instance name, or
a variable --
will act the same way, but you'll only be able to invoke
functionality from
the relevant class.
If you have Sound instance, for example, you couldn't do
this:
mySound.gotoAndPlay(15);
... because sounds don't have timelines, and the Sound
class's Methods
section doesn't feature a gotoAndPlay() method. And that
totally makes
sense, right?
> If you have a beginner's guide to actionscripting,
focused
> on AS3, I will buy it today.
I'm happy to keep answering your questions here, but yes, I
do have a
few books you might be interested in. If you're using Flash
CS3, you might
consider Tom Green's and my Foundation Flash CS3 for
Designers (friends of
ED) (
http://tinyurl.com/2k29mj),
and if you're using Flash CS4, you'll want
the current version of that book (
http://tinyurl.com/5j55cv).
Bear in mind,
these are "foundation" books, so they cover all of Flash, not
just
ActionScript. Still, there's tons of ActionScript in either
one
(exclusively AS3, by happenstance), and we've received
positive feedback on
the ActionScript Basics chapter, in particular.
I also recently finished an AS2-to-AS3 migration book for
O'Reilly
http://tinyurl.com/2s28a5),
but that one may not be especially useful for
you, because it focuses more on developers who have a basic
understanding of
AS2 but feel bewildered when it comes to AS3.
There's also my blog, (quip.net/blog), which has tons of AS2
stuff, and
is slowly growing new AS3 content. One of my co-authors for
the O'Reilly
book, Rich Shupe, co-authored an ActionScript 3.0 book
specifically for
beginners, so take a look, read the reviews, and see if the
publisher offers
sample chapters. They often do, and that's usually a good
indicator -- to
me, anyway -- of how a particular author's style gels (or
doesn't gel) with
your particular learning style.
David Stiller
Contributor, How to Cheat in Adobe Flash CS3
http://tinyurl.com/2cp6na
"Luck is the residue of good design." -
Xml gallery with thumbnails & next/previous buttons.
hallo all the wise people,
sorry to bother you, but i'm kind of desperate, and nobody around to ask, so....
i've spend now three full days editing an xml gallery... to my needs, and always goes messy, so maybe it's time give up and make my own from the scratch, or looking from a one closer to my needs =/ (helpless).
could anyone help - maybe any of you by some chance knows a link as close as possible to tutorial/source as3 fla to sthg as close as possible to this:
a) xml gallery
b) thumbnails
c) when thumbnail clicked a big picture shows
d) next/previous buttons possible
otherwise, i can also post the code of my gallery where i absolutely can't add next/previous buttons without making a big mess =/
i will be totally youbie doubie grateful for any help... any, if you only know any good link, 'll try to fugure out a tutorial or edit the source myself....
thanks in advanceheyyyo wise one,
at least this is really nice of you to ask - this gallery really makes me by now feel twice as blond as i am 8-0. but this is kinda really nested.
the xml structure goes like this (this is easy and more or, less standard)(Caption is neglectable, probabaly i will not even display it, unless i have some extra time):
<MenuItem>
<picnum>01</picnum>
<thumb>thumbs/Image00001.jpg</thumb>
<picture>Image00001.jpg</picture>
<Caption>Fist Title</Caption>
</MenuItem>
uaaha, then the as goes. there is the URLloader, but also two different loaders inside (one for the thumbnails, one for the big picture). and this is all inside a for each loop -eh... i was always trying to change the pictLdr behavior - the loader, that loads the big picture.
anyway the URL loader, and the main function, which is attached to it go like this:
var myXML:XML = new XML();
var XML_URL:String = "gallery_config.xml";
var myXMLURL:URLRequest = new URLRequest(XML_URL);
var myLoader:URLLoader = new URLLoader(myXMLURL);
myLoader.addEventListener("complete", xmlLoaded);
// Create the xmlLoaded function
function xmlLoaded(event:Event):void
// Place the xml data into the myXML object
myXML = XML(myLoader.data);
// Initialize and give var name to the new external XMLDocument
var xmlDoc:XMLDocument = new XMLDocument();
// Ignore spacing around nodes
xmlDoc.ignoreWhite = true;
// Define a new name for the loaded XML that is the data in myLoader
var menuXML:XML = XML(myLoader.data);
// Parse the XML data into a readable format
xmlDoc.parseXML(menuXML.toXMLString());
// Access the value of the "galleryFolder" node in our external XML file
for each (var galleryFolder:XML in myXML..galleryFolder)
// Access the value of the "pagenum" node in our external XML file
var galleryDir:String = galleryFolder.toString();
//trace (galleryDir);
//trace (galleryFolder);//output taki sam jak powyżej
// inicjuję variable flag, która bedzie trzsymac nazwę klikniętego thumbnail
var flag2:String = null;
// Set the index number of our loop, increments automatically
var i:Number = 0;
// Run the "for each" loop to iterate through all of the menu items listed in the external XML file
for each (var MenuItem:XML in myXML..MenuItem)
// Access the value of the "picnum" node in our external XML file
var picnum:String = MenuItem.picnum.toString();
// Access the value of the "pagetext" node in our external XML file
var Caption:String = MenuItem.Caption.toString();
// Access the value of the "thumb" node in our external XML file
var thumb:String = MenuItem.thumb.toString();
// Access the value of the "pagepicture" node in our external XML file
var picture:String = MenuItem.picture.toString();
// Just some trace I used for testing, tracing helps debug and fix errors
//trace(picnum);
var thumbLdr:Loader = new Loader();
var thumbURLReq:URLRequest = new URLRequest(galleryDir + thumb);
thumbLdr.load(thumbURLReq);
// Create MovieClip holder for each thumb
var thumb_mc = new MovieClip();
thumb_mc.addChild(thumbLdr);
addChildAt(thumb_mc, 1);
// Create the rectangle used for the clickable button we will place over each thumb
var rect:Shape = new Shape;
rect.graphics.beginFill(0xFFFFFF);
rect.graphics.lineStyle(1, 0x999999);
rect.graphics.drawRect(0, 0, 80, 80);
// Create MovieClip holder for each button, and put that rectangle in it,
// make button mode true and set it to invisible
var clip_mc = new MovieClip();
clip_mc.addChild(rect);
addChild(clip_mc);
clip_mc.buttonMode = true;
clip_mc.alpha = .0;
// The following four conditionals create the images where the images will live on stage
// by adjusting math through each row we make sure they are laid out good and not stacked
// all on top of one another, or spread out in one long row, we need 4 rows, so the math follows
if (picnum < "05")
line1xpos = line1xpos + distance; // These lines place row 1 on stage
clip_mc.x = line1xpos;
clip_mc.y = yPlacement;
thumb_mc.x = line1xpos;
thumb_mc.y = yPlacement;
else if (picnum > "04" && picnum < "11")
line2xpos = line2xpos + distance; // These lines place row 2 on stage
clip_mc.x = line2xpos;
clip_mc.y = 86;
thumb_mc.x = line2xpos;
thumb_mc.y = 86;
else if (picnum > "10" && picnum < "14")
line3xpos = line3xpos + distance; // These lines place row 3 on stage
clip_mc.x = line3xpos;
clip_mc.y = 172;
thumb_mc.x = line3xpos;
thumb_mc.y = 172;
else if (picnum > "13" && picnum < "21")
line4xpos = line4xpos + distance; // These lines place row 4 on stage
clip_mc.x = line4xpos;
clip_mc.y = 258;
thumb_mc.x = line4xpos;
thumb_mc.y = 258;
// And now we create the pic loader for the larger images, and load it into "pictLdr"
var pictLdr:Loader = new Loader();
var pictURL:String = picture;
var pictURLReq:URLRequest = new URLRequest(galleryDir + picture);
//var pictURLReq:URLRequest = new URLRequest("gallery/Image00004.jpg");sprawia,ze zawsze wyswitla sie jeden obrazek
pictLdr.load(pictURLReq);
// Access the pic value and ready it for setting up the Click listener, and function
clip_mc.clickToPic = pictLdr;
// Access the text value and ready it for setting up the Click listener, and function
clip_mc.clickToText = Caption;
//var instName:String = flag();
// Add the mouse event listener to the moviClip button for clicking
clip_mc.addEventListener (MouseEvent.CLICK, clipClick);
// Set the function for what happens when that button gets clicked
function clipClick(e:Event):void
// Populate the parent clip named frameSlide with all of the necessary data
MovieClip(parent).frameSlide.gotoAndPlay("show"); // Makes it appear(slide down)
MovieClip(parent).frameSlide.caption_txt.text = e.target.clickToText; // Adds the caption
MovieClip(parent).frameSlide.frame_mc.addChild(e.target.clickToPic); // Adds the big pic
} // This closes the "for each" loop
} // And this closes the xmlLoaded function
and the effect looks like this (it's a sketch, so big pictures are loaded randomly, don;t put too much attention to it): http://bangbangdesign.pl/xmlGallery/gallery29.swf
but i guess it's a terrible stuff to go through all this. i would be totallly satisfied with a likng to a good tutorial to do it from scratch, or just a hint where to start rebuilding this.
+ in any case i send greetinngs to whereever you are =] -
Lightroom mobile performance and "previous" button issues
I am considering subscribing to Lightroom mobile for iPad so I decided to give it a trial run with 2000+ photos sync-ed (iPad 3, Nikon D7000 raw files). The performance is awful!
Browsing through the images is fairly decent. Flagging also does a good job and seems that export works fine, but that is as far as I would go in praising the app.
Downloading from the cloud for offline use takes time (for sure my internet connection's bandwidth is not the problem) and the app does not sync files for offline use when the iPad locks. I had to change the iPad lock settings to "never" in order to be able to download the full set of images. The iPad went from 50% battery to 10% just to download the files. That long it took, with the brightness dimmed to the minimum.
With all other apps closed on the iPad (and offline from CC), it takes 2 to 5 seconds for loading the adjustment values (not to render the image) when moving to a new image (all image info off: exposure settings and histogram).
When using basic adjustments and crop I have found it very difficult to apply the same settings to the next image. Simply the Previous button is inactive. Browsing back and forth seems to activate this button at random times. But clicking on it and selecting "Everything from previous" does not bring any settings. Neither the basic adjustments, nor the crop settings. Although the image seems to be re-rendering.
In this case above, once the "Previous" button is reactivated, clicking on it highlights the selection (e.g. "Everything from previous") but no settings are applied. The menu does not close. I can click on "everything from" or "basic tones from" and they get highlighted but nothing happens. The menu does not close. Extremely annoying.
Same thing for the Reset menu. Sometimes it works sometimes not. I have managed (again at random times) to reset the image to the import settings, browse back and forward to other images, return to the image and then apply the settings from previous photo successfully. But only if I wait 2-3 seconds after the "Previous" menu pops-up.
When I hit the Reset -> All menu and then Previous -> "Everything", the image seems to only receive distortion correction (applied on the desktop to all photos upon import). No other settings are applied (basic adjustments or crop).
When connected to CC, performance degrades even more as it seems that the app is checking for updated settings to the file. It adds an additional 2-3 seconds per image...
Is there a fix in the works for these annoyances? At the current stage of the app, I do not consider subscribing to Creative Cloud as the app is basically unusable for batch processing.
It would be best if the app would be optimised for batch processing as at the moment it seems as poor as the Photos app on the iPad (with some versatility in terms of the settings that can be tweaked). Any target date for a future update? My trial expires in 20 days or so and I am not impressed for now.
I am not bothered by the slow rendering of the images on my device (for sure the iPad Air would do a better job) but the user interface is extremely slow and unusable. I have managed to edit 135 photos in 2 weekend days (roughly 4 hours of use). Very disappointed.Hi,
thank you for your feedback.
Previous... will only be active if the two images (previous one) and the present have different adjustments.
Some more answers inline:
In this case above, once the "Previous" button is reactivated, clicking on it highlights the selection (e.g. "Everything from previous") but no settings are applied. The menu does not close. I can click on "everything from" or "basic tones from" and they get highlighted but nothing happens. The menu does not close. Extremely annoying.
The Previous... menu will not close automatically once one of its options has been chosen. Btw. do the small thumbnails visually differ from another (Basic tones and Everything)?
Same thing for the Reset menu. Sometimes it works sometimes not. I have managed (again at random times) to reset the image to the import settings, browse back and forward to other images, return to the image and then apply the settings from previous photo successfully. But only if I wait 2-3 seconds after the "Previous" menu pops-up.
Reset to Import is only visible if you have done any changes to the image. When you mention that it sometimes doesn't work - is the problem that it's not enabled at all?
When using basic adjustments and crop I have found it very difficult to apply the same settings to the next image. Simply the Previous button is inactive. Browsing back and forth seems to activate this button at random times. But clicking on it and selecting "Everything from previous" does not bring any settings. Neither the basic adjustments, nor the crop settings. Although the image seems to be re-rendering.
It would be nice if you could give us some more info on this case. Since I have a problem reproducing this issue, could you please let us know if you have many applications in the background? How much free space do you have on your device?
Does a restart of the device help (in some cases it can)?
When I hit the Reset -> All menu and then Previous -> "Everything", the image seems to only receive distortion correction (applied on the desktop to all photos upon import). No other settings are applied (basic adjustments or crop).
Are you doing Previous->Everything this on the same image that you reset?
thanks,
Ignacio -
QA32 spreadsheet needs to unmark the button "always use selected format"
Hello Experts.
I am currently doing some testings in QA32, i want to transfer my list in printable documents, when i am in the menu LIST- EXPORT - SPREADSHEET , then the list for choices appears if(excel, all available formats)then there is this button box "always use selected format" which i have marked it and saves..then when after i proceed to QA32 again, i can't choose the format that i want in the selection.I believe it is the result of marking the button "always selected use format"
how can i unmarked the button "always selected use format" so i can have the chance to choose again?
ThanksExporting to Spreadsheets
Use
You can export the list as various spreadsheet formats. The following list summarizes the most important of these formats and the corresponding file name extension for the files:
Format
File Name Extension
Excel (in MHTML format)
MHTML
Excel (in MHTML format for 2000/97)
MHTML
Star Office (in ODS format 1.0)
ODS
Excel (in Office 2003 XML format)
MHTML
SAP-internal XML format
XML
SAP standard (internal table)
XML
Excel (in previous XXL format)
XLS
A format is only included in the selection options if it is available on your PC. The system administrator can also restrict the list of possible formats or even reduce the export to a certain format.
When you export the list in one of these formats, the system automatically generates a file with the name export and with the corresponding file name extension. Exactly which parts of the list are exported to the file depends on the format.
Exactly which data is exported to the file depends on the format:
● In MHTML and XML formats, for example, you export the data that is displayed in the list on the screen. The number, selection, and sequence of columns as well as the sorting, filter, and calculation settings are all included in the export.
● In Excel XXL format, any functions that you executed on the list are not included in the export. The file contains all the columns that you have displayed, but your sorting, filter, and calculation settings are ignored.
Prerequisites
To be able to display and, where necessary, further edit the file that you have generated with the export, the relevant program must be installed.
Procedure
Exporting the List
1. Choose with the quick info text Export and select Spreadsheet in the selection list. In full-screen mode, choose List ® Export ® Spreadsheet.
If you have a choice of more than one format, the Select Spreadsheet dialog box opens.
2. In the Select Spreadsheet dialog box, select the format in which you want to save the exported data.
3. Confirm the settings.
4. In the dialog box that appears, specify the path and name of the file and save the file.
For some formats, you also need to specify other settings for the file that is saved.
5. Make the required settings, where applicable.
If an installed program is linked to the selected file name extension, this program is started automatically and the generated file is opened.
Keeping Settings
If you plan to reuse the same spreadsheet format, you can save the settings for the format. By doing this, you can omit the step with the Select Spreadsheet dialog box and can export the list more quickly.
1. Proceed as described above in steps 1 and 2.
2. In the Select Spreadsheet dialog box, select Always Use Selected Format.
3. Confirm your settings and continue as outlined above.
From now on, whenever you export your list as described above, you bypass the Select Spreadsheet dialog box step and proceed immediately to saving the data.
4. If you want to display the Select Spreadsheetdialog box again during the export, in the context menu for the list, choose Spreadsheet.
The dialog box opens; the Always Use Selected Format indicator is not set. -
Previous button and then End of Timeline
Is there a way to have a previous button go to the previous slide, but stop at the end of the timeline instead of playing from the beginning? So say slide 1 plays for 3 seconds then stops. If you hit next you're on Slide 2. There's a Previous button on slide 2. When you hit it, I want ti to go to the end of the timeline on slide 1 instead of playing those 3 seconds. Is this possible?
I'm not very good at JS, so always look for a workaround with advanced actions. Is this possible:
After the animation add a static shot of the last frame of the animation, that can be very short (0.1secs = 3 frames)
Then I would use a shared action On Enter of each slide, that stores the start frame of that slide in a user variable v_start. That variable will be reused on each slide. When you are on the slide with the Previous button it will have stored the value of the first frame of that slide.
Assign v_start with cpInfoCurrentFrame
For the Previous button create a shared action that will be something like this:
Expression cpCmndGotoFrame = v_start - 3
I didn't check it out, maybe you'll have to test it and it could be that you need a slightly different number in that last Expression.
Since it is a shared action, without any parameters, you can apply it on each On Enter Slide event and for each Previous button where you want that functionality -
Slideshow w/next previous buttons and linkable images
I am attempting to create a slideshow that incorporates next and previous buttons and will allow the viewer to click on the slideshow images to be taken to a different URL for each image. I can do the slide show. I can do the linked images. However, when I try to add the buttons I am at a loss. I have created N/P buttons, but I cannot get them to work with linked images. Any suggestions?
Can you elaborate on how much, and what, you've created? When you say you can do the slide show and you can do the linked images, what exactly did you do?
How do you envision the slideshow actually visually working? Will multiple images be visible at once? What visual transition? These things matter when coding the button functionality.
Of course you can always google for a premade slideshow, plenty free out there and unless you're doing it to learn, no real reason to reinvent the wheel. -
Use "next" and "previous" buttons in two scroll panes
Hello, I have a question about how to use next and previous buttons in two scroll panes. In fact, I plan to display two similar files (HTML) in two scroll panes seperately. the purpose is to find their differences, highlight these differences and finally traverse these differences one by one by using next and previous buttons.
To realize this function, how should I mark their differences so that next and prevous buttons can recognize their locations? does anyone have idea?
Thank you very much.Can "focus" resolve this problem? But how should I add focus to a line in one HTML files? Thank you.
-
How can I disable the previous button in the first page and the next button in the last page?
Hi all,
I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
I am using Robohelp 9.
Please advice.
Thanks,
ParagI think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How can i create an album with chose category list and next/previous button
hello guys im working on a project for my uni i finished the whole website but one thing is missing
i need to create a photo album with next and previous button, with choosing a category and inside each category i have like 5 pictures and i can change with the next/previous buttons to see another picture of the same category.
Please see the picture below to see what i mean.
some told me it needs flash but i dont know how to work on it :S so plz if anyone can help me
thank youDear Mr. Murphy,
thank you for your help.
Actually i have tried to search for a tutorial and i found that one that was very helpful and gave me the half solution. the part i found and it worked with me is the part of the next and previous buttons and moving from an image to another.
SO the part i still need is the list so when i click on a category i get the pictures of the chosen category, I had the idea of create a flash for each category alone and maybe i will be able to add them all together.
But i guess it's too much work and there must be a way where i can make it all in one flash file.
If you have any idea let me know please, thank you again for your help and i'm trying to search for the AS3 image gallery as you told me.
Regards -
How do I change the lable of next and previous button in GAF of FPM
Hi Experts,
How do I change the label of next and previous button in GAF application using FPM in each individual step?
Thanks!Hello Anthony,
as far as I am aware only the final step before the confirmation screen can be changed. Which you can do by clicking on it in the configuration view - click on the last but one step - and click on the next button - at the bottom of the screen you'll get a view where you can change the label of the step.
There is some logic in this - in that it does make for a more consistent user experience across various apps.
It's different to how we could do things in Java - but it's nice that there is a certain level of conformity across FPM apps.
hope this helps,
Cheers,
Chris -
Photo Gallery - Next or Previous Button
Hi,
I am new to Action Script and I have a small issue that I
can't seem to figure out...
Probably very easy for you guys... ;)
(1)
I have a Photo Gallery here, kinda like a Photo show and
under the picture is a 'Next' and 'Previous' button.
Now when the user will click on e.g. the 'Next' button I want
the pic shown to change into the next picture.
I have all my pics in a movieclip all with labels s1, s2, s3
etc. ....
I already have the code setup to go to the appropriate
movieclip but I don't know how to tell Flash via Action Script to
go to label "s" + 1.... meaning:
if the picture with the label "s2" is shown right now and the
user clicks on the 'Next' button Flash need to go to the mc with my
pics in it and then to the label "s3" --> "s2" + 1
How do I do that ?
(2)
Another thing I was thinking about:
Let's say I have 7 pics in the photo gallery and user is
seeing pic # 7 right now (label "s7") and he clicks the 'Next'
button I need to tell Flash to jump to label "s1" (to the first
pic) because there is no eigth picture...
How is that done ?
Note: I am using Flash 9 CS3 so either AS2 or AS3 is
welcome...
Any help is appreciated and I thank you in advance for that
Mikequote:
Originally posted by:
CanonBoy
if you go to here:
http://www.sapphiremonkey.com/picDemo.zip
you can download a simple Flash 8 document I made to show you
the code.
Kelly
Kelly,
thanx for your reply....
I think we're very close but here's some more info - I
probably should have stated that earlier... sorry ! ;)
the thing is a little more complicated and I just wanna make
sure I use ur code at the right spots:
So here are the three main objects we're dealing with:
(1) movieclip next_btn --> contains rollover and rollout
effects for the Next button as well as an invisible button holding
the action script for that button
(2) movieclip 'rollover_mc' --> which will bring a nice
rollover effect between the pics
(3) movieclip 'pics_mc' --> contains my pictures in a
simple timeline with labels s1, s2, s3 etc. and stop actions at
each frame for each pic
--> (1) and (2) are on the same level, (3) is nested
inside of (2)
when the user clicks (1) the 'Next' button (label: next_btn)
the cursor in the timeline of (2) the 'rollover_mc' movieclip will
proceed and produce nice rollover animation from one pic to the
next pic, having (3) in the midst of the animation go from one pic
to the next.... at least that's the idea.... ;)
so the action script for the 'Next' button (label: next_btn)
right now is:
on(rollOver){
gotoAndPlay("m1"); --> rollover effect for the next
button
on(releaseOutside, rollOut){ --> rollout effect of the
next button
gotoAndPlay("m2");
on(release){
this.pics_rollover_mc.gotoAndPlay("p1");
--> p1 is the label of the frame where the cursor will
jump to and start the rollover animation --> that works ;) haha
while the animation is rolling over to the next pic and it is
just covering the actual picture that was just shown, the cursor
(runnning through the timeline in the (2) 'rollover_mc' movieclip)
will hit a key frame with an action script in it...
and in that action script I need to tell Flash to go to (3)
the movieclip with my pics in it (label: pics_mc which is nested in
that timeline) and go from let's say "s2" PLUS ONE to label "s3"
(the next pic in the series)...
right now the code in that keyframe is:
this.pics_mc.gotoAndPlay("s2")
which means it only shows (after the animation) Pic2 (label:
s2)
now the code that you gave does make sense to me but where do
I need to put which parts ?
here's your code again:
stop();
_global.n = 1;
_root.next_mc.onRelease = function() {
n = n+1;
if (n == 5) {
n = 1;
_root.pics_mc.gotoAndStop("s"+n);
For example, the establishing code for the variable n....
where do I need to put this code so it is globally valid ?
I pasted it into the action keyframe of my next_btn, so the
code looked like this:
on(rollOver){
gotoAndPlay("m1");
on(releaseOutside, rollOut){
gotoAndPlay("m2");
_global.n = 1;
_root.next_btn.onRelease = function() {
n = n+1;
if (n == 5) {
n = 1;
_root.pics_mc.gotoAndStop("s"+n);
and it gave me the following error message:
**Error** Symbol=1.2 next_btn, layer=invisible_btn,
frame=1:Line 7: Statement must appear within on handler
_global.n = 1;
**Error** Symbol=1.2 next_btn, layer=invisible_btn,
frame=1:Line 8: Statement must appear within on handler
_root.next_btn.onRelease = function()
my (amateurish) opinion is that the part
_root.pics_mc.gotoAndStop("s"+n); has to go into the action
script keyframe that the cursor will hit when running through the
timeline in the (2) rollover_mc movieclip
therefore if u wanna start the animation when u click the
button u would have to change your code that u paste into the
next_btn keyframe:
on(rollOver){
gotoAndPlay("m1");
on(releaseOutside, rollOut){
gotoAndPlay("m2");
_global.n = 1;
_root.next_btn.onRelease = function() {
n = n+1;
if (n == 5) {
n = 1;
_root.pics_rollover_mc.gotoAndPlay("p1");
I did that but it still gives me the above error message....
Thanx for your help in advance ! ;) -
Photo Gallery ....disable a previous button once it reaches img zero
I have made a simple photo gallery that reads from external XML file. The gallery allows the user to see the next image by clicking the next button as well as the previous image by clicking the previous button.
I need a bit of code that would disable the previous button when its at the first image, and disable the next image once the user is on the last image.
This is what I have thus far:
var xmlRequest:URLRequest = new URLRequest("wImgData.xml");
var xmlLoader:URLLoader = new URLLoader(xmlRequest);
var imgData:XML;
var imageLoader:Loader;
var rawImage:String;
var rawH:String;
var rawW:String;
var imgNum:Number = 0;
var checkSec:Timer = new Timer(1);
var numberOfChildren:Number;
xmlLoader.addEventListener(Event.COMPLETE, xmlLoadedF);
next_btn.addEventListener(MouseEvent.CLICK, nextImgF);
prev_btn.addEventListener(MouseEvent.CLICK, prevImgF);
master_mc.buttonMode = true;
function xmlLoadedF(event:Event):void{
checkSec.start();
checkSec.addEventListener(TimerEvent.TIMER, checkerF);
imgData = new XML(event.target.data);
function packagedF():void{
checkSec.start();
checkSec.removeEventListener(TimerEvent.TIMER, checkerF);
rawImage = imgData.image[imgNum].imgURL;
numberOfChildren = imgData.*.length();
rawW = imgData.image[imgNum].imgW;
rawH = imgData.image[imgNum].imgH;
imageLoader = new Loader;
imageLoader.load(new URLRequest(rawImage));
master_mc.addChild(imageLoader);
imageLoader.x = (stage.stageWidth - Number(rawW)) /2;
imageLoader.y = (stage.stageHeight - Number(rawH)) /2;
function checkerF(event:TimerEvent):void{
if(imgNum == 0){
packagedF();
}else if(imgNum < numberOfChildren){
imageLoader.unload();
packagedF();
}else{
imageLoader.unload();
imgNum = 0;
packagedF();
function nextImgF(event:MouseEvent):void{
checkSec.addEventListener(TimerEvent.TIMER, checkerF);
imgNum++;
function prevImgF (event:MouseEvent):void{
checkSec.addEventListener(TimerEvent.TIMER, checkerF);
imgNum--;All you need to do is remove the listeners in the event handlers for the buttons. I'll use previous as an example.
function prevImgF (event:MouseEvent):void{
checkSec.addEventListener(TimerEvent.TIMER, checkerF);
imgNum--;
if(imgNum == 0){
//at first
prev_btn.removeEventListener(MouseEvent.CLICK, prevImgF);
You'd do the same to the next button's listener when the imgNum == the number of images. You'll also need to add the previous listener back to the button when they press next. -
I am unable to sync my ipod touch 4 th generation. Itunes advised me to download updated version of itunes. I did. But nothing works no syn button is highlighted and summary button does not bring anything up. can someone help.
I disabled all my computer's firewalls and sure enough, IT WORKED!! My iPod is updated and just now finishing restoring! Thank you SOOOO SOOO much. : D
Maybe you are looking for
-
Efi Update problem, Monitor blackout
Hi I have a MBP running 10.6.8. I also use a 21" Aluminium Apple montor to view. I ran the MacBook Pro EFI Firmware update version 2.7, and now after the restart the monitor is black! tried restart again tried a command, option, p, r, reboot. NO JOY
-
I tried this extension (https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/) , but it doesn't appear to support editing the current "Alt+Enter" to change to "Command+Enter". I have a decade plus of muscle memory using the key next
-
How can I read cookies in WebDynPro for Java
Hi, in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object" IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter(); IWDRequest request = protocolAdapter.getRequestObj
-
Apple tv for browsing the internet?
can you use apple tv to browse the internet?
-
ITunes changes external monitor resolution (permanently!)
OS X 10.6.8 MBP 2010 External Monitor NEC 2690WUXI (1900x1200), DVI via original Apple MiniDP to DVI port Since last night, whenever I start iTunes, the external monitor goes into 720p mode and I need to delete various plists, clear caches (OnyX), tu