Newbie Script Help CS4
Hello all, I'm starting to learn flash and scripting and i have run into a problem. I have made navigational buttons to flags i have established in the time line, and i have tow movie clips, one that plays before the other. So far i have a stop action when the first movieclip plays, and i tries adding this inside the movie clip...
stop();
gotoAndPlay("print");
I can't seem to get the movie clip to jump to the next flag in the main root of the scene. can any one help. thanks in advance.
-Mario
Interesting. I copied it from this code for a script written for CS2 that applies a thumbnail script to multiple documents:
// docs is a reference to the Documents collection, that holds all open documents
docs = app.documents;
for (i=0; i < docs.length; i++) {
// instead of getting the active document, iterate through each open doc
doc = docs.index(i);
I just tested your script on our workflow and it almost works. I don't get the error I was getting before, so thank you for fixing that. Our workflow is apparently the issue now. I'm getting the error, "You can only duplicate layers from the frontmost document." How can I rewrite the script so that our logo PSD doesn't have to be already open--and thus in doc[0] position--as our action cycles through each photo?
What my wife wants to be able to do is batch cycle through a set of photographs, have an action (or script, or combination of the two) copy the layer set over to the currently open photo, relocate and possibly resize the logo on that photo, then save and close the photo and have the next one automatically open to repeat the process.
I really didn't expect this to be so time-consuming. I've now spent three hours trying to psych this out. Thanks again for the help.
Clint
Similar Messages
-
Newbie - Scripting help pleaseeee
Hi All,
I am having a real problem with a script I have created;
Basically I have taken 80+ photos at my son’s soccer presentation evening and I want to add some text and the logo of the team to the bottom of each image. I have created a document with the text and logo setup and saved as a jpeg. The script runs as follows;
Open image from folder
Expand canvas by 3cm at bottom
Go to logo file and copy image
Go back to image and paste – new layer
**Move logo to below image **
Expand canvas by 3 cm all round (so I can crop them to 10"x 8" later)
Save image in new folder
Close image
Repeat until all images processed
** The problem is at this step as it seems to put the logo at different positions within the 3cm white band at the bottom, some of
them end up on part of the photo, so;
Is their any way of actually determining a gap between the bottom of the photo and the logo, to ensure they are all in the same place, or is there a way to pause the script where I can move the logo myself and then continue with the script. I can only find a 'stop' option, which obviously kills the script.
Any help would be great as at the moment 'nights and days are becoming one', and I am getting very sleepppyyyy zzzzzz
Ta
Steve.Steve, what you are referring to is an action not a script (I think?). I was not able to find a way in which you can toggle the dialog on for a move step? It did not come up as a option? What you may be able to do as work around with actions is after paste…
1. Select all layers
2. Align bottom
3. Align left
4. Select top layer
5. Move set amount of times using arrow keys (shift optional for x 10)
Continue the rest of your action…
Retouching skills not so hot there… -
MacBook - Newbie: Need help on printing wirelessly to XP shared printer
MacBook - Newbie: Need help on printing to XP shared printer
Bear with me please. I read tons of articles on this but somehow as a newbie to MAC (girlfriends sick daughter), I am missing something. 10.5.2
Currently, she can print directly if we plug in the HP Deskjet printer directly via USB to the MACBook. No problem.
When we first got the MACBOOK I tried setting up the MACBOOK wirelessly to recognize the workgroup where the printer was attached via USB to the Windows XP PC. However it printed out garbage since I did not know there was a difference between XP printing and MAC (Gutenberg/gimp printing/drivers).
Now I know there is a difference.
But in reading various instructions, I no longer can find how to connect the MAC to the Windows workgroup. Note we do have a printer set up currently as USB-HP Deskjet on the Macbook (not sure I need to delete it yet).
I went to System Preferences on MACBOOK and clicked on printers, more printers. In the drop down box was CANON, APPLETALK, IP HP printing and Firewire. There was no WINDOWS selection as I saw in other online web instructions.
So not sure how to proceed to find a way to:
1. Connect to Windows workgroup (click on what exactly), step by step please!!
2. Add correct HP Deskjet 5490 printer (perhaps there is one with Gutenberg or perhaps I need Gutenprint-really not sure what I am talking about)
Thanks so much in advance. Fiancé's kid has had her cancer recur in a different place and someone was nice enough to buy her a MACBOOK as a gift.
Sincerely
Peterccarbery wrote:
OK...I figured it out...no need to reply. I noticed that there was another Protocol to use to set up the printer on the Mac, I was using LPD, so I switched it to HP Jet Direct-socket, and it prints fine...thanks. I am curious as to why LPD wouldn't work; if anyone has that answer I would like to know...thanks
Any chance of posting the Protocol you used to connect to your printer with your laptop? I'm have the exact same problem printing from my MB. Same error message "..is busy". -
Gallery script help, please
Gallery script help, please
Hello,
I'm new to actionscript in general, I do know a little...
I foung a gallery script, modified many things, the images
open fine, everything is working, but here's the thing:
the gallery is in 3 sections, red, blue and yellow.
I would like to know how, what, and where to put a script so
that if a "the small red image #1" is clicked, I can load any sort
of a movie on top of the "the BIG red image #1" or #2 or 3 and so
on...same goes for the blue and yellow...
If I figured things correctly on my own...the small thumbnail
images of the gallery are not buttons, that's why I can't attach a
movie (let's say) to them...but it is all written in script, using
the horizontal and vertical position of the mouse to open the large
images of the gallery...
So, I don't know how to figure things out, to attach a
specific movie to a specific thumbnail...
p.s.: I think the script that controls the gallery is in
symbol 120
I really would appreciate the help
Merry Christmas in advance to everyone
Sandra
here are all the files...
http://www.gentro.ca/sandra_test.zipThere's a great tutorial on kirupa...
click
here for link -
firefox not responding, freezes, sometimes responds after a few minutes, other times a pop-up appears asking if I want to stop script - help please
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
InDesign CS4 Scripting Help how i can start scripting
Hi all,
I'm new to Indesign Scripting, and I'm hoping someone can help me with the following Apple/Java_Script which script language (Apple/Java) good for me.
(1) Adobe InDesign CS4 Apple/JavaScript tutorial (.PDF/Text/ExampleScript)
(2) How i can start scripting ???
I'm working Adobe InDesign/QuarkXpress with ETMV2 with (Pearson DTD/IDML) as a Operator last 4 Year. I want learn Scripting.
Any one Help/Suggest i really appreciated!
Thank's
snegig
email => [email protected]Thank you so much!
Kudos to you. -
Basic script help for a newbie?!?!
Need help with a basic script, I need to display 5 input fields in a single dynamic field. And i need them to have a certain order of display, ie: input 1 is displayed on line 1, 2 on the next line, etc. any help would be appreciated
I have been trying various scripts but i either make the second input field replace the first one, or i cant get the vars to populate the field with a button.. Im kinda lost.Show what you have tried so far that give you the results where you either replace fields or can't get vars to populate them with a button.
-
Flash Newbie needs help with Movie Clips/Action Scripting
Hi -
I'm having a problem with my movie clips playing
simultaneously and cannot, for the life of me, figure out what I
have done wrong. I'm new to flash, so I may have set something up
incorrectly, but here's what I have so far:
11 layers, total: 1 layer with 10 control buttons, each
button with the following actionscript:
on (release) {
gotoAndPlay(85);
Where the number changes in relation to which keyframe the
next movie is on.
I have 10 movies, total, but they are only movie clips,
essentially photo slide shows with audio, made all in the library.
The problem happens when I click on the second or third
button. Not only does the movie that I have selected begin to play,
but all of the previous clips do as well, so it all sounds quite
garbled. I don't know what I am missing in the action script, as my
Action Layer has a stop command on it at each keyframe where there
is a new clip to play.
I have tried to add a stopAllSounds command, but I'm afraid
that doesn't do anything because it is not a "sound file" per se,
playing in the timeline.
I'm at the end of my rope and really need some help in
figuring this one out. My project is hanging in the balance on
this, as I have scripted everything else correctly and it runs
beautifully.
Please help!
Thanks,
CarolineEach layer has a blank keyframe before and after each
movieclip. Each movie clip is at a different frame. Even with the
blank keyframes added, the second video starts to play and then the
first video begins to play. Same happens if I click on the third
button. Third plays, and starts 1st and 2nd shortly thereafter. Is
there an action script I can put in that will tell the timeline
that, when a button is clicked, no matter where the movieclip is,
it will stop and start the newly selected movieclip? -
Newbie - scripting an "all play" in an instructional dvd? PLEASE HELP!
Hello and thanks in advance for any help you can offer. I am working on an instructional dvd with six chapters. On the main menu I have 6 buttons each assigned to a track (each track is assigned to the corresponding chapter) I want to have a 7th button that says "all play" and I would like to have tracks 1 through 6 play and then return to main menu.
I didn't write any scripts for the chapters (never had a project that needed any.) I went step by step with the manual and I know it's operator error but when I hit play all, the first two chapters play and then it goes back to the main menu even though I have the 6 chapters listed on the play all script. Also I added the shopping script at the end of that list. Do I have to make 6 individual scripts? One for each chapter/track? Sorry to be so dense, I'm sure it's easy. Thanks for any help you can offer.
Suz 6http://dvdstepbystep.com/stories_details.php
http://dvdstepbystep.com/passelections.php
and this
http://discussions.apple.com/thread.jspa?messageID=4548144� -
Newbie bash scripting help!
Hello,
I would like some help with a simple script.
I have say 10 text files (***.txt) in a directory. I want to make each *** into a subdirectory, insert the respective ***.txt file into that subdirectory as well as insert three other files into each subdirectory.
I then want to create a loop that will run a seperate script, which I already have, on each folder.
Thanks for any helpDonVla wrote:
jnwebb wrote:
Hello,
I would like some help with a simple script.
I have say 10 text files (***.txt) in a directory. I want to make each *** into a subdirectory, insert the respective ***.txt file into that subdirectory as well as insert three other files into each subdirectory.
I then want to create a loop that will run a seperate script, which I already have, on each folder.
Thanks for any help
i think you need some basics:
http://www.gnu.org/software/bash/manual/bashref.html
http://wooledge.org:8000/BashGuide
http://wooledge.org:8000/BashFAQ
http://wooledge.org:8000/BashPitfalls
http://sed.sourceforge.net/sed1line.txt
http://student.northpark.edu/pemente/awk/awk1line.txt
Sorry for always being so propagandish, but I feel it's worthwile for your enjoyment and efficiency to mention that perl does all this and more. http://perldoc.perl.org
But, uh, "use the right tool for the right job". For the last 3 characters problem, briest gives the right solution. It works for me. Make sure you put the '-' in front of the 3. -
Startup shell script help for newbie?
New to UNIX (linux)... need the bash shell script commands for my r.c local file to start my services when server boots.
I got my ds, dps and admin server in their respective /opt directories. I need the shell commands to have these start. Of course I can start them manually but when I try a line like this in a script, it doesnt work:
./var/opt/sun/directory-server/slapd-dsserver/start-dsserver
Some path problem or dot thing?There are a few other things you may want to consider, such as what the default browser is, are tabs being used, is the page loaded yet, etc, but Safari has a do javascript command in it's scripting dictionary. The following script will open a new document and run your specified javascript, or you can go to their NPR Program Stream Page and download a playlist that will run directly from iTunes.
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 335px;
color: #000000;
background-color: #FFDDFF;
overflow: auto;"
title="this text can be pasted into the Script Editor">
set my_script to "NPR.Player.openPlayer(2, 0, '03-21-2008', NPR.Player.Action.PLAY_NOW, NPR.Player.Type.PROGRAM, NPR.Player.Mode.LIVE)"
tell application "Safari"
activate
set the URL of the front document to "http://www.npr.org/"
if my page_loaded(20) is false then error numner - 128 -- page not loaded in time
do JavaScript my_script in document 1
end tell
on page_loaded(timeout_value) -- from http://www.apple.com/applescript/archive/safari/jscript.01.html
delay 2
repeat with i from 1 to the timeout_value
tell application "Safari"
if (do JavaScript "document.readyState" in document 1) is "complete" then
return true
else if i is the timeout_value then
return false
else
delay 1
end if
end tell
end repeat
return false
end page_loaded
</pre> -
Hello List.
This is my first try at Flash.
I tried the drag and drop demo at
http://monkeyflash.com/tutorials/flash-drag-and-drop/.
It works well allowing me to drag an item and have it register when
it is dropped on the correct target.
I want to modify it so that I can drag an item to multiple
locations... not just one.
My desired application is the ability to drag pendents or
charms onto a bracelet or chain and have them "snap" to the chain.
With the above demo, I can see how 90% of it would work, but I
cannot figure out how to have multiple targets named the same. The
bulk of the code is attached.
The line I believe needs to changed is this one:
if (event.target.dropTarget != null &&
event.target.dropTarget.parent == myTarget){
I need this part :event.target.dropTarget.parent == myTarget
to read something to the affect of:
if item being dropped is over object A OR object B OR object
C OR object D than ... rest of my code
Can this be done?
Any help is greatly appreciated.if drag1MC is one of your dragable movieclips and has
acceptable drop-targets mc1, mc2,mc3:
drag1MC.droptargetA = [mc1,mc2,mc3];
function dropIt(event:MouseEvent):void {
var mc:MovieClip = MovieClip(event.currentTarget);
mc.stopDrag();
var success:Boolean = false;
for(var ind:int=0;ind<mc.droptargetA.length;ind++){
if(mc.dropTarget!=null&&mc.dropTarget==mc.dropTargetA[ind]){
success = true;
mc.x = mc.dropTargetA[ind].x;
mc.y = mc.dropTargetA[ind].y;
break;
if (success){
reply_txt.text = "Good Job!";
} else {
reply_txt.text = "Try Again!";
} -
Hi,
In most of the OTN XML samples, the data was entered by SQL scripts.
In real life, is it possible to maintain enterprise information /data by only using XML/XSQL technology without using Java applets? Is it at all possible ?
As a newbe I am looking for some simple XML sample application.
If I can find on the basis of SCOTT schema
complete XML application through which I can INSERT/UPDATE/DELETE record including the error handling for primary key violation and so on ... would be great!
I think such kind of application will help many of us to understand the basics!
Thanks in advance!
Nadeem
nullMy Building Oracle XML Applications book contains 800 pages of examples, covering this and many, many more subjects. It would be pretty difficult to post a complete working example here on the discussion forum.
-
Dreamweaver/PHP newbie needs help
I have bought a price comparison script. Unfortunately the
script is coded in PHP and I do not know PHP.
Over the last couple of years I taught myself HTML and the
tools necessary to developed a number of simple shopping sites for
my businesses using Dreamweaver; Fireworks; & Flash. – I
know these tools reasonably well.
So far I have installed WampServer 2.0f [12/16/08]
Includes : Apache 2.2.11; MySQL 5.1.30; PHP 5.2.8
Wamp installs in c > wamp
All features up and running and tested using simple test
files such as time display – all installed in c > wamp
> www
I then did a ‘Get’ and placed the local version
of the script to c > wamp > www
Setup a test server in Dreamweaver:
Local Root folder and testing Server Folder:
C:\wamp\www\lowprice\
Http Address:
http://www.lowprice.co.za/
URL Prefix:
http://localhost/lowprice/
I started all services on the wampserver
and opened the main file: index.tpl.php in Dreamweaver.
I was hoping for a beautiful display of the home page, but
only get dotted lines & php tags - no graphical display at all.
What I need to know at this stage:
1) Did I do anything wrong while setting up the test server
above
2) Do you think I’m nearly there and if so do you have
any advice as to how to get there.
3) If I’m still miles away I’ll keep on slogging
through the training and support sites and even buy a book if need
be. If you have any advice – please tell me.
Just a short summary or a couple of hints as to what
direction to go. I know you cannot teach me PHP.
Thanx youbiltong08 wrote:
> I have bought a price comparison script. Unfortunately
the script is coded in
> PHP and I do not know PHP.
Buying scripts is not necessarily a bad thing, but buying one
written in
a language you don't understand puts you at risk. First, you
can't adapt
it if it doesn't do what you want. More important, you're
entirely in
the hands of the developer if it turns out there's a security
bug in the
script. If you want to use PHP, you should at least learn the
basics.
> I was hoping for a beautiful display of the home page,
but only get dotted
> lines & php tags - no graphical display at all.
You wouldn't. Dreamweaver is a development environment, where
you write
and edit code. However, if you have set up a testing server,
you can
view the output (but not edit it) in Live View. Just click
the Live View
button in the Document toolbar. Live View is available in
Dreamweaver
CS4 only. In earlier versions, use the Live Data view button
in the
Document toolbar.
> What I need to know at this stage:
> 1) Did I do anything wrong while setting up the test
server above
Your testing server definition looks OK.
> 2) Do you think I?m nearly there and if so do you have
any advice as to how to
> get there.
Try Live View or Live Data view.
> 3) If I?m still miles away I?ll keep on slogging through
the training and
> support sites and even buy a book if need be. If you
have any advice ? please
> tell me.
You can start with the PHP online documentation:
http://docs.php.net/manual/en/getting-started.php
The documentation is very useful, but it can be overwhelming
if you
don't know what you're looking for (it's rather like trying
to learn a
foreign language from a dictionary). I have written several
books about
PHP, details of which you can find on my website (see link in
my
signature). The Dreamweaver-related ones have a short crash
course in
PHP syntax, and then concentrate on using the PHP server
behaviors built
into Dreamweaver. "PHP Solutions" teaches PHP through a
series of
practical exercises and projects. However, I have no idea if
my books
would be of practical help to you in deciphering the script
you have bought.
I noticed that the filename you gave contained "tpl". That
usually
suggests that the file is written in a PHP templating
language called
Smarty. If so, you need Smarty installed (
http://www.smarty.net/).
Although I have used Smarty, I don't like it because it adds
an extra
level of complexity. It's intended to make it easier for
non-programmers
to edit pages without touching the underlying PHP. However,
if you're
the only person working on the project, it means you need to
learn two
languages instead of one. To my mind, it adds an unnecessary
burden.
Good luck.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
Hi,
I've played with Soundbooth over the weekend and I am amazed by the simple interface/ease of use, etc.
There are some tiny quirks though, and I was hoping I could script my way out of them.
I've opened up ExtendScript Toolkit and there is a Soundbooth Object, although no documantation.
The object lists a handfull of functions ( none of the calls seemed to work ), one of the listed functions
is called sendScriptToSoundbooth which suggests:
- there is a scripting language in soundbooth cs4
- the scripting language in soundbooth cs4 is not extendscript.
So to cut this short:
- what is the scripting language in soundbooth cs4
- how do you get started with scripting in soundbooth cs4 ?
All the best,
GeorgeOk. I checked the source code and that error and line references a failed attempt to load the audio device due to an incorrect device ID. I suspect that upgrading to Snow Leopard changed some audio device information that Soundbooth is still trying to use from the original 10.5 installation.
So try the following steps and let's see if they help reset everything.
1. Open Finder, click on your username under "PLACES" then selection Library > Preferences > Adobe > Soundbooth and rename the "2.0" folder to 2.0Backup" Launch Soundbooth. This should force it to rebuild the preference files to their default state, and SHOULD reset any parameters to use any new values common to Snow Leopard.
2. If #1 fails, it may be time to uninstall and reinstall Soundbooth, making certain to enable any options on uninstall to remove all preferences. I am always hesitant to recommend this since it feels defeated and I am only too well aware of how slow the CS4 installer is, but the error you've described indicates there's just some leftover information from the previous OS X install that Soundbooth isn't able to reconcile.
Please let me know your results and we can move on from there. In the meantime, I'll write a bug and see if one of our devs might have any suggestions should the above attempts fail to make a difference.
Maybe you are looking for
-
Hi All, Is there a way to connect a Mac Mini with Quicktime (or ITunes) to an HDTV so that it treats the HDTV as a TV and not a computer monitor? I want the Mac Mini to send the video signal so that the HDTV will render the 1080i footage. Currently t
-
How to make DM mpackage Prompt OPTIONAL
Hi All I want to run my DM package which has only profit center as the prompt. User want to see the prompt but dont want to enter anything but just say next so that it runs for all profit centers. I am using PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%") in m
-
How do you print the numbers next to the first column
In Numbers I can't figure out how to print the numbers next to the first column to the left. Say I have 350 people on a list and I want to print the sheet with the numbers next to the people's name, how do I do that. Excel automatically does it. Howe
-
Web Dynpro And JDO JavaBean Model
Hello all, I have read so many threads about the use of a JDO model within Web Dynpro components, but non of them gave me a real idea of which is the best practice to follow when communicating the business layer which is part of my JDO project with t
-
"Next" button grayed out in Extend Volume Wizard
Greetings, I'm kind of stumped, I've never seen this before. I've seen where the "Extend Volume" option is grayed out, but never have I seen where you can get into the Wizard, but not continue. Here is a screenshot: Any information would be apprecia