Recommendation for Action Script Text book?
I am looking for a good reference to a text book on Action Script, both 2 and 3.
(hard copy text, it is easier than having stacks of windows opened and sort through to find what I need)
Some of the questions that a good text would answer are:
1: How do I know what base classes to import into any given .as file to cover the functionality?
2: How linkage works and what I can apply it to.
for instance if I want to add an event listener, can I do stage.addEventListener(....etc)
when the class is linked to a movieClip. If I use this.addEventListener, it attaches the
event listener to the object to which the class is linked, right?
3: The feature sets that each version of Flash Player supports, as well as browser
Flash plugins.
4: How to handle permission problems when attempting to send data via post to a server
(if have been following an example and get errors regarding permissions when attempting
to have action script send data about the Flash plugin the client is using).
5: How javascript in a pdf file differs from browser javascript where embedded Flash content
(in the pdf file) is concerned.
6: How to troubleshoot AS2 and AS3 linkage problems.
(I have followed an exercise example in text I use, mentioned below, and have had the
result fail without errors. But I suspect there may be a difference between CS3 and CS4
that would account for this).
Initially, I have been generating at least 4 different versions of swf files for each version
of Flash Player back to v7. Javascript and server side code is used to determine which
version to load for the client requesting it.
Currently I am using the Adobe pdf manual and Lynda.com: 'ActionScript 3.0 for Adobe
Flash CS3 Professional Hands On Training', although I am using Flash CS4 Professional.
It is a starter text but not extensive into theory and practice.
I have done tons of Javascript and PHP programming (PHP on the server side).
It is better for me to have as much information and guidance in a text book than posting
to a forum for every problem I encounter.
Than you for advice and suggestions
ASJ
What Tiago said.
Here my list:
Essential Actionscript 3.0 by Colin Moock : http://oreilly.com/catalog/9780596526948/
Actionscript 3.0 Cookbook: http://www.oreilly.com/catalog/9780596526955/
Similar Messages
-
Batch export for action script?
Is there some way I can apply the Linkage>Export for
action script function to multiple items in the library at one
time?
Thanks.if you can, you'll still need to give each an instance name
to refer to when using it. -
Writing action script from books or memory?
hey guys. I mess around with Flash and get into the most
basic action scripting. My question is, for the most part, do
designers all copy existing code and modify it to fit thier design
needs, or do they just write it themselves all the time? I really
cant imagine the latter. Im hoping that designers always have tons
of books around."Nicknamenick" <[email protected]> wrote in
message news:ebue8f$s0c$[email protected]..
> hey guys. I mess around with Flash and get into the most
basic action
> scripting. My question is, for the most part, do
designers all copy existing
> code and modify it to fit thier design needs, or do they
just write it
> themselves all the time? I really cant imagine the
latter. Im hoping that
> designers always have tons of books around.
Books don't do it for me. It takes too long to get the right
kind of example from books. What I do is to make folders of Flash
source code that is categorized. One of the advantages of
helping people on these forums is seeing so many code examples.
Whenever
I run across a good example of something or write a piece of
code for someone I save it as a reference in one of the folders.
Now
when I need any code I either write it from memory if it's
short enough or go to one of my source code folders for examples. I
have
lots of books but that aren't nearly as valuable to me as my
sorted source code.
Online website sources such as flashkit.com and others can be
very counter-productive for me. The examples are often old code
from
Flash 4 and 5 and usually written by an amateur with bad
coding style. The online book recourses like safari.com are great
though.
You can search for code snippets through all the Flash books.
tralfaz -
Setting timeout settings for Action Scripts
We are using OIM 11gR1 along with the AD and Domino connectors. We are also using Action Scripts to perform some post create actions on the AD and Domino resources that get created by OIM. The action scripts are being invoked with the correct set of parameters and they do their job. However for both connectors, the connector server (Java connector server for Domino, .NET connector server for AD) times out when waiting for the script to complete. Our scripts are expected to take a long time (30+ seconds).
Based on our testing, the AD connector times out in 30 seconds, and the Domino connector times out in 20 seconds. You would get the below exception in your Java Connector Server log file:
Dec 4, 2013 2:36:41 PM org.identityconnectors.framework.api.operations.ScriptOnConnectorApiOp runScriptOnConnector
FINE: Exception:
java.lang.RuntimeException: Timeout waiting for action, process was terminated
at org.identityconnectors.domino.WinJni._executeWinCommand(Native Method)
at org.identityconnectors.domino.WinJni.executeWinCommand(WinJni.java:31)
at org.identityconnectors.domino.ScriptOnConnector.executeCmdScript(ScriptOnConnector.java:143)
at org.identityconnectors.domino.ScriptOnConnector.runScriptOnConnector(ScriptOnConnector.java:88)
at org.identityconnectors.domino.DominoConnector.runScriptOnConnector(DominoConnector.java:316)
Is there any way to configure OIM so that it waits longer for the action script to complete. The real problem over here is that if 2 users are being provisioned to AD and/or Domino simultaneously (we use access policies to trigger provisioning rules), then the connector (Java or .NET) does NOT invoke the action script for the second user if the action script for the first user times out. It does however create AD/Domino resources for all applicable users. This in itself is a defect - but I need a workaround.
Looking at some old Sun Identity Manager documentation (which became Oracle Waveset), it seems that the entire OIM concept of action scripts has its origins in Sun Identity Manager/Oracle Waveset. And these products did support the notion of timeouts. Have a look at :
http://docs.oracle.com/cd/E19225-01/821-0092/bzbuc/index.html
Does anyone familiar with Oracle OIM code know if custom timeouts are supported by AD and Domino connectors?
Thanks
Aspi EngineerChange the time for the below under 'Web Intelligence Processing Server'
Idle Document Timeout (seconds):
Idle Connection Timeout (minutes):
If you still have problem then try changing the web.xml under the following war files,
AdminTools
PartnerPlatformService
PerformanceManagement
PlatformServices -
Designer looking for Action Script/XML galleries
I am designer. I know XHTML and CSS3, but am really having lots of trouble learing Action Script and XML.
I need to create a photo gallery for a client and am looking for resources.
I will have to buy a pre-coded gallery and plug in my own photos. Looking for suggestions on where to look.
Thanksyou can use google to search for premade galleries: flash as3 photo gallery template.
if you want a custom made one, send me an email via my website: www.kglad.com -
Acrobat SDK for Action Script 3 developers?
Hi,
is there or will there be any possibility of accessing the Acrobat SDK via Action Script 3?
As far as I know the Acrobat SDK is based on the C programming language. I wonder if there will be an integration with Adobe AIR, Flash, Flex technologies, i.e. a bridge to Action Script 3.
Any news, help, ideas? Thanks in advance!
thiloAdobe AIR offers integration with the Acrobat SDK. There are a variety of samples available in the AIR SDK and Adobe Labs...
-
Best practice recommendation for locale-specific text/labels
What is the recommended best practice approach to supporting locale-specific
text for labels, messages when using Jdeveloper to create applets and applications.
I am familiar with resource bundles, but wonder if there is a better approach within
JDeveloper. Are there any plans to enhance this area in 9.0.3?I am familiar with resource bundles, but wonder if there is a better approach within
JDeveloper. Resourcebundles are the java-native way of handling locale-specific texts.
Are there any plans to enhance this area in 9.0.3? For BC4J, in 9.0.3, all control-hints and custom-validation messages (new feature) are generated in resource-bundles rather than xml-files to make it easier to "extend" for multiple locales. -
Any recommends for a good Apex book?
Hi all. I'm relatively new to Apex, although I'm far from new to software development and data architecture. I'm currently reading a book named Beginning Oracle Application Express by Rick Greenwald. It's a good book, but it explains Apex through a very specific app example. I'd like to find another book that explains how to write apps from a more generalized perspective. Any suggestions?
Thanks,
KimHi,
Actually there are 5 books. If you read them one after another then you will have solid foundation about APEX.
These are
1) Beginning Oracle Application Express 4
2) Oracle Application Express 4 Recipes
3) Pro Oracle Application Express 4 &
4) Expert Oracle Application Express
5) Expert Oracle Application Express Plugins
The publisher is Apress.
You can have a look at http://www.apress.com/oracle/application-express
Thanks,
Mehabub -
Hi,
Can anyone recommend a good BPS Text book?
Thanks.
DaveHi Dave,
BPS: Business Planning with SAP SEM; Roland Fischer; SAP Press; ISBN 1-59229-033-7
IP: SAP Netweaver BI Integrated Planning for Finance; SAP Press; ISBN 978-1-59229-129-8 (new)
Both are Excellent books, IP/SEM Consultants should have these books.
Regards
CSM Reddy -
Action script error on a button
I have added following code on a button, btn_lab5, but I get
an error msg ,"Must appear within on handler". Thanks in advance!!!
btn_lab5.onRelease=function(){
gotoAndStop("intro", 1);
Thanks in advance!!!No, I don't have button within a button. But, Thanks for your
input.
Fortunately, I have found the solution by changing few things
around. Here is what I was trying to do..
1. Four buttons were placed on the same time line 15 frames
apart.
2. Added action script at each button and also tried adding
seperate layer for action script but when I ran my movie same
script played for every button.
Finally, got frustrated and placed all the buttons at the
same point in timeline and added action script by adding another
layer.Visually I am not getting the desired result with buttons but
code is working. I would really love to have buttons appear
gradually on the screen. Let me know if any one of has any thoughts
to share....
Thanks a lot!!!! -
Hi All,
I have create a Application for transaction VA01. Can anybody tell me how to write Action script ?
Please Help. ASAP.Hi,
Transaction code for action script is WDK_APPL_REG
1) There you need to register your Variant transaction and specify your floor plan
either QAF or GAF or OIF in Applications.
2) You have to spcify your different Floor Plan States like INI, S01, S01, CFN etc.
3) For Floorplan states you should assign dynpro assignment ( i.e., Program name and screen number ).
4) And u need to assign actions for every state.
5) Next go to Script definition and assign action script and u need to record va01 transaction with SHDB, and submit program, dynpro, bdc filed value in batchinput data.
6) If u want to raise any messages, click on Message Mapping and submit message name and number.
Finally you need to save your action script.
Best Regards,
Vara Prasad. -
What CGI scripts are recommended for form2email?
My site is on register.com. I'm trying to use a script from form2email.net which was recommended by that host. The Dreamweaver code for the form looks fine to me. The script (written in Perl) executes, goes to a thank_you page, sends an email with correct from, to and subject. But the body of the email has no data except for the value of the submit button and info the script adds to any email it sends. I modified the script for my app using Notepad ++, changing only user-specified fields that had to be changed. I'd appreciate thoughts on what might be wrong, or a recommendation for a form2email script that works well with Dreamweaver.
register.com says they can't help with "coding problems," though they recommended the script, and I couldn't find help for my problem at the developer's site.Why do you have 2 form tags on your HTML file?
The reason why you're getting just 'Submit: [Send]' in your e-mail is because you're closing your actual form before your 'submit' button and starting another form just for the 'submit' button.
Your formmail script interprets the only value is your '[send]' and it just parses that as an e-mail to you.
Change your code this way:
<form action="http://www.advocatesforclassicalmusic.org/cgi-bin/docentreq.pl" method="post" enctype="multipart/form-data" name="DocentRequest" id="DocentRequest">
<p><strong>Date
<input name="Date" type="text" id="Date" size="25" maxlength="25" />
</strong></p>
<p><strong>School
<input name="School" type="text" id="School" value="" size="90" maxlength="90" />
</strong></p>
<p><strong>Address
<input name="Address" type="text" id="Address" size="90" maxlength="90" />
</strong></p>
<p><strong>Area
<input name="Area" type="text" id="Area" size="30" maxlength="30" />
</strong></p>
<p><strong>Teacher or Contact
<input name="Teacher or Contact" type="text" id="Teacher or Contact" size="50" maxlength="50" />
</strong></p>
<p><strong> School Phone
<input name="School Phone" type="text" id="School Phone" size="20" maxlength="20" />
</strong></p>
<p><strong>Home Phone
<input name="Home Phone" type="text" id="Home Phone" size="20" maxlength="20" />
</strong></p>
<p><strong>Cell Phone
<input name="Cell Phone" type="text" id="Cell Phone" size="20" maxlength="20" />
</strong></p>
<p><strong>Email(s)
<input name="Email(s)" type="text" id="Email(s)" size="90" maxlength="90" />
</strong></p>
<p><strong>Number of Classes
<input name="Number of Classes" type="text" id="Number of Classes" size="10" maxlength="10" />
Students per Class
<input name="Students per Class" type="text" id="Students per Class" size="10" maxlength="10" />
</strong></p>
<p><strong>Grade Level(s)
<input name="Grade Level(s)" type="text" id="Grade Level(s)" size="25" maxlength="25" />
</strong></p>
<p><strong>Concert Name
<input name="Concert Name" type="text" id="Concert Name" size="50" maxlength="50" />
</strong></p>
<p><strong>Concert Date
<input name="Concert Date" type="text" id="Concert Date" size="25" maxlength="25" />
</strong></p>
<p><strong>Other Information
<textarea name="Other Information" cols="70" rows="4" id="Other Information"></textarea>
</strong></p>
</form>
<form id="Docent Request" name="Docent Request" method="post" action="http://advocatesforclassicalmusic.org/cgi-bin/docentreq.pl">
<input type="submit" name="Submit" id="Submit" value=" [ Send ] " />
</form>
Remove the lines that I've striked out from your HTML file and that should fix the issue. -
Hi.
I am using NetConnection and NetStream to play back flv in Flash Pro CS5.5, and trying to add cue point to trigger events using Action Script, and to automatically rewind to the start at the end. There is no problem to trigger events via AS when the cue points are embedded, but i am unable to add cue points using AS.
When i use an FLVPlayback component, there is no problem to add cue points (http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html) and to loop the playback using autoRewind (and fl.video.VideoEvent.AUTO_REWOUND which i got from Nafem at http://forums.adobe.com/thread/857036).
However, i am failing to use this same code w/a netConnection and netStream, and would appreciate any help.
thanks.Hello,
Well, I've got some help from another helpful fellow at macscripter.net and I have a working script - albeit a bit more specific (ie, hardcoded extensions to look for) and a different approach.
Here's the script:
on adding folder items to thisFolder after receiving addedItems
repeat with movieFile in addedItems
set {Nm, Ex} to getName_andExtension(movieFile)
set movieFilePath to (thisFolder as text) & Nm & ".avi"
set subtitleFile to (thisFolder as text) & Nm & ".srt"
if Ex is ".srt" then
try
tell application "iFlicks"
import (movieFilePath as alias) with gui
end tell
end try
else if Ex is ".avi" then
if my FinderItemExists(subtitleFile) then
try
tell application "iFlicks"
import (movieFilePath as alias) with gui
end tell
end try
end if
end if
end repeat
end adding folder items to
on getName_andExtension(F)
set F to F as Unicode text
set {name:Nm, name extension:Ex} to info for file F without size
if Ex is missing value then set Ex to ""
if Ex is not "" then
set Nm to text 1 thru ((count Nm) - (count Ex) - 1) of Nm
set Ex to "." & Ex
end if
return {Nm, Ex}
end getName_andExtension
on FinderItemExists(thePath)
try
set thePath to thePath as alias
on error
return false
end try
return true
end FinderItemExists -
Script to Create Image on the Fore Edge of a Book
Hello,
Here is an example of what I want to do:
http://blog.eyemagazine.com/?p=149
If you bend the pages of book, you can see an image (which is a word) on the fore edge of a book.
I was wondering if there is a script or if I could create a script that would be able to make this in indesign?
I have never made a script before, but I was imagining that it could go something like this:
Duplicate an image
Paste in place on the next page
Select the content inside the frame
Move the image x distance
And repeat all above for the next page.
then there would be an option for how many pages this would be done.
Does this sound at all possible, or am I just making this completely up?
Thanks in advance.John, it is ssome sort of a bleed, but in this case it's not the part that 'might be cut off' that matters; it's the part that still needs to be on the page. Yes, I meant it to be (virtually) not-noticeable for the casual reader. Of course you can make it part of the page design, that ought to ease up matters.
The amount pages shift horizontally because of binding is called "creep", and this depends on the type of binding and the thickness of the paper. You cannot adjust for creep unless you know exactly how much this is and how your book is going to be printed and bound.
Airkite:
But the book that you printed worked out alright? Was it done with a different method?
This was a simple outlined text, not an image. Through the inaccuracies of printing and binding combined, there were no straight edges *anywhere* but fortunately the lines were thick enough to let you mentally connect them
This was done (I'm sure) with the method you proposed.
There is an alternative way, but it's way more expensive (on the other hand, the result is impressive): after the entire process of printing, binding, and cutting, books are put in a clamp one at a time and fed through a silk screen printer, fore edge on top, and printed with whatever you like.
I know of the existance of this technique but I haven't seen a book done like this in years and have no clue at all of the costs involved (writing that down in one sentence makes me realize those two might be connected). -
After action script for Solaris
Hi,
I'm having trouble with an after action script for the solaris box.
my script reads..
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Waveset>
<ResourceAction name='after-create'>
<ResTypeAction restype='Solaris' timeout='60000'>
<act>
#!/bin/ksh
echo "$WSUSER_accountId says Hello World!"
PATH=/usr/lib/nis:$PATH; export PATH
nisaddcred -p [email protected] -P keerthi2.example.com. des
exit 0
</act>
</ResTypeAction>
</ResourceAction>
</Waveset>
I have edited the tabbed user form to include the following field:
<Field name='global.create after action'>
<Expansion>
<s>after-create</s>
</Expansion>
</Field>
Now when i am trying to create a user in my IDM n assigning the Solaris resource i'm getting the following error..
com.waveset.util.WavesetException: An error occurred adding user 'client1' to resource 'Solaris Client'. com.waveset.util.WavesetException: Script failed waiting for "_,)#+(:" in response "" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".
the account is created in IDM.
please help me out!
Regards
SanjeevHi-
Did you ever get a resolution to this issue? I am seeing the exact same error in IDM 8.0 patch 3
Error
com.waveset.util.WavesetException: An error occurred adding user 'testusr15' to resource 'idm_client'. com.waveset.util.WavesetException: Script failed waiting for "$" in response "_,)#+(:" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".
My action script looks like this:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Waveset>
<ResourceAction name='after-create-nppasswd'>
<ResTypeAction restype='Solaris'>
<act>
#!/bin/sh
touch /tmp/idmtest
release=`uname -r`
if [ $release != "5.10" ]; then
passwd -l $WSUSER_accountId
sed "s/$WSUSER_accountId:\*LK\*/$WSUSER_accountId:NP/" /etc/shadow > /etc/shadow.new
mv /etc/shadow.new /etc/shadow
else
passwd -N $WSUSER_accountId
fi
exit 0
</act>
</ResTypeAction>
</ResourceAction>
</Waveset>
Maybe you are looking for
-
I renamed my picture folders and now am having iPhoto trouble
I renamed my file folders for my photos so I could recognize them easier and now I'm having trouble with iPhoto. When I double click on the thumbnail I get a "!". Is there a way to fix this?
-
Time Machine stopped updating files in subfolders on my external drive
I've been using Time Machine for about a year. I have two external drives connected. One is 2TB and is the "BACKUP" drive used for TM backups. The other, "VOLUME ONE" is 1TB and is used for client and media files. I went to look for a file in TM back
-
Hi experts, I have truncated one table named "user_activity_detail" by mistake, but now i need of truncated data...... Plz help me for the same. Regards, VIKA
-
Differences between clear() & removeallelements() in vectors
Hi, I just want to clarify, whats the difference between clear() and removeallelements() in vectors? according to the apis, clear() Removes all of the elements from this Vector. removeAllElements() Removes all components from this vector and sets its
-
I forgot the security questions and also the password (and even account id, sequrity questions,... becouse I didn't use for a long time) for security info email of my apple id. Now I want to change the security info email with another. What Should I