| Autheticate by Digital Certificate |
|
 |
Index ‹ flash-actionscript
|
- Previous
- 2
- dynamic functionhi
i'm just wondering if it is possible to creat a function from a varible
gen_name = "setjava";
generated_result = gen_name+"_Result";
function generated_result(result){
getgennum.text = result;
}
so i want the function to be "function setjava_Result(result)" but it is been
compiled as "function generated_result(result)"
is this possible to do
- 3
- MC "Swing" behavoirWe proposed an idea to a client for thier site for a t-shirt company. Having
thier products display on the stage as if they were being pulled accross a
clothes line. They love it , now we have to build it.
Anyone have a link, or code to make the clothes (shirt) appear as if it is
being pulled along a line, and have each shirt contain its own AS to mimick
inertia, gravity ? each item would swing independently then the other
anyone???????
Thanks!
- 3
- accordian elementsI am trying to create a Flash form application using an accordian to hold the
fields. The problem is I can't seem to load information into, or modify,
elements within the accordian's children. Anyone know how this is done?
- 3
- droptarget difficultiesHello,
I'm having a problem using the eval function to convert the value stored in
the MovieClip._dropTarget property to a reference to the movieclip instance
represented by it. I have an AS2 class defined in an external file that defines
an event listener for the release event . In the event handler that I have
defined for the class I have it call eval(mc._dropTarget) to get a reference
to the movieclip. Instead of returning a reference it returns to me the string
that was stored in the _dropTarget property. When I test out the same code in a
simple fla it works fine. Does anyone have any idea what is happening?
Thanks,
Eric
- 3
- Why would a flash piece go really really slow?I have web piece I'm making in flash. It has movieclips on layers that all
have somthing moving on them.
One has a circle that grows bigger,
one has a picture that changes alpha,
one has a floating math equation,
one has scrolling text,
and for some reason this piece moves really slow.
I thought it might be because they are all on the same level (the level
things that go up to like thousands) but I dont know how to change that.
Can anyone thing of any other reason?
I might be offlinne for like a few minutes because I'm getting on the computer
with this piece on it to try the suggestions I get. Thanks =D
- 3
- onEnterFrame goto LabelI f I want to got to a label when entering a frame what would the code be.
I tried:
onEnterFrame() gotoAndPlay ("learnReverse");
{
Any Thoughts
- 3
- trouble with focus on login screen... Thanks anyone..I've created a simple flash login screen, where the user enters his
username/password and it uses loadvars class to check a php file, and
gain access and continue onward.
When the flash loads, I want the username field to be "focused" and
ready for the user to just start typing.
My username text field is called "_root.my_user". It is a input text field.
The last line of my actionscript code is:
Selection.setFocus(_root.my_user);
It doesn't work??
The weird thing is.. if the user "fails" the login, I have this line set
here too, and it works perfect, but only right at this place in this code.
Any suggestions?
Thanks
-Richard
- 4
- Calling a function with a hrefHere's my htmlText
<a
href=\"asfunction:_global.siteLoader.loadNew,6,'template_page.swf'\">Progression
</a>
I need it to call _global.siteLoader.loadNew(6, "template_page.swf");
It's working, but it's not passing the string in the function. It shows the
loading screen but it has no idea what the swf to load is. Any help with
putting a string in?
- 7
- shows in ie, opera, not ffI have been trying to figure out why this doesn't load in firefox. I designed
this site in ff and now a year later I noticed the slideshow isn't coming up in
ff. I don't know what the dealio is. I think the only think changed is that i
added code in the page for the active content to be shown in IE.
the page to see is
http://floridahus.is/slideshow_auto/auto.php
It uses action script to change the slides and I can't for the life of me
figure out what broke it.
All help appreciated.
- 9
- how to exit in flash
hey guys.. please help me on my research.. i wnat to know more about the
features of macromedia flash.. i want to know what is the code for
actionscript on unloading in frames. if I click the exit button,
thanks...
--
ghemz005
------------------------------------------------------------------------
ghemz005's Profile: http://www.24help.info/member.php?userid=702
View this thread: http://www.24help.info/showthread.php?t=850954
24help.info - IT Newsgroups @ http://www.24help.info
- 9
- Adding a .php scriptCan any one explain how I can add a Formmail.php script to an existing "submit"
button in a Flash Contact Form?
The reason I want to do this is because I do not have access to cgi-bin and
the Flash contact form has been already created. I just want the information
sent directly to my email client. I'm including the exisiting ActionScript in
Flash and an html version of the Formmail.php script I'd like to modify. (The
formmail.php was too long to submit in it's text format.)
Also, if this help, the only input fields I'll be using are; Name, Email, &
Request.
Thank you in advance for any 'helps' I may receive.
- HiTekMom (a.k.a "Mocha Martha Stewart" of NC)
EXISITING ACTIONSCRIPT ATTACHED TO THE SUBMIT BUTTON:
on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
}
HTML VERSION OF THE FORMMAIL.PHP SCRIPT I'D LIKE TO MODIFY:
<form method="post" enctype="multipart/form-data" action="formmail.php">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<input type="hidden" name="path_to_file" value="/www/uploaded/files">
<input type="hidden" name="require" value="email,phone_no">
<input type="hidden" name="recipient" value="email***@***.com">
<input type="hidden" name="sort" value="alphabetic">
<input type="hidden" name="ar_file"
value="/www/formmail_path/autoresponder.txt">
<input type="hidden" name="ar_subject" value="Thank you for your interest!">
<input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
<table>
<tr>
<td>
Option 1: <input type="checkbox" name="multi[]" value="option 1"><br>
Option 2: <input type="checkbox" name="multi[]" value="option 2"><br>
Option 3: <input type="checkbox" name="multi[]" value="option 3"><br><br>
</td>
</tr>
<tr>
<td>
<select name="multi2[]" size="3" multiple>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>
<br>
</td>
</tr>
<tr>
<td>Your Phone:</td><td><input type=text name="phone_no"></td>
</tr>
<tr>
<td>Your Email:</td><td><input type=text name="email"></td>
</tr>
<tr>
<td>Upload Image:</td><td><input type="file" name="file"></td>
</tr>
<tr>
<td>Attach File:</td><td><input type="file" name="attachment"></td>
</tr>
<tr>
<td>What you think about me:</td><td><textarea name="What you think about
me" cols="40" rows="3"></textarea></td>
</tr>
<tr>
<td colspan="2"><input type="submit"><input type="reset"></td>
</tr>
</table>
</form>
- 10
- class with more than one constructor?Hi Forum
Is it possible somehow to create a class that takes more than one parameter?
Or even optional parameters when instantiating the class. I know in Java one
can create several constructors that take different kinds and amounts of
parameters. It must be possible somehow I'm thinking because many functions in
Actionscript do also take different amounts of parameters...
any thoughts?
Thanks
stephan
- 12
- Loading !!hi everyone !
I'm new in this group as well as in Flash. Could anybody plz let me
know how I add LOADING in aflash movie.
Thx
- 12
- Writing classes with FuseHello friends,
So, I am trying to learn how to write classes. (Same as before)
The IDE say's the Syntax is correct, but it still spits errors in the flash
file.. Here is the code:
import com.mosesSupposes.fuse.*;
class Mover extends MovieClip
{
private var Instance:Mover;
private var targetMC:MovieClip;
private var alphaUp:Number;
public function Mover()
{
Instance = this;
ZigoEngine.simpleSetup( Shortcuts, PennerEasing, Fuse );
trace("The constructor was called");
}
public function startMoving(alphaUp:Number)
{
targetMC.alphaTo(alphaUp, 1);
trace("startMoving was called");
}
}
///////////
And in the flash file I am calling it like:
var myMover:Mover = new Mover();
circle_mc.startMoving(400);
Can someone telll me what I am doing wrong?
- 16
- .onResult not recognizeHi all !!! I have a problem with .onResult method from a external class that is
linked to a movieClip. This class extends a movie clip and y have problem with
calls for Flash Media Server .
The problem with this class is that when it is compiled Flash output error "is
no property with the name 'onResult'. " .
That means that the .onResult method is not recognize from within the class.
If i put this code inside Flash editor it work's just fine.
Please help me with this problem
class logIn extends MovieClip{
var revert_btn:Button;
function logIn(){
var _t=this;
_t.revert_btn.onRelease=function(){
_t.revertRelease();
}
}
function revertRelease(){
var _t=this;
_t.nc.call("getAppStats",new _t.onGetAppStats(),_t._parent.appName_ti.text);
}
function onGetAppStats(){
var _t=this;
//function onResult(info){
this.onResult=function(info){
if(info.code != "NetConnection.Connect.Succes"){
Debug.write("Call failed : "+info.description);
}else{
Debug.write("Info for : "+appName_ti.text+" returned "+newline);
_t.printObj(info,output_txt);
}
}
}
}
|
| Author |
Message |
FabioSC

|
Posted: 2007-5-2 22:24:00 |
Top |
flash-actionscript, Autheticate by Digital Certificate
Dear all i would like to make a flash application using ActionScript but exists
a sample code to access CSP or PKCS#11 in my flash applications using Action
Script?
Thanks.
F?bio Leto
http://www.smartsec.com.br
|
| |
|
| |
 |
FabioSC

|
Posted: 2007-5-2 22:24:00 |
Top |
flash-actionscript >> Autheticate by Digital Certificate
Dear all i would like to make a flash application using ActionScript but exists
a sample code to access CSP or PKCS#11 in my flash applications using Action
Script?
Thanks.
F?bio Leto - SmartSEC
http://www.smartsec.com.br
|
| |
|
| |
 |
| |
 |
Index ‹ flash-actionscript |
- Next
- 1
- an '&' in access database field stops info display in flashprobably your ASP page is using VBScript in wich the & symbol is used as
concatenation operator.
if you can't change your DB content, then you'll need to replace the &
dinamically in the ASP page before proccesing the info and sending to
flash; take a look at Replace function
absurd29 wrote:
> my flash application reads content from an access database, through an asp page
> - if there are any '&'s in the database content, any content after that will
> not display in flash. I changed them to 'and' to test and it works fine then.
> How do I get it to read the '&' - any ideas? Thanks in advance.
> (Excuse me if this isn't posted in right place - first time!)
>
- 2
- events don't occur when sounds are cachedI'm trying to load MP3 files dynamically into my flash; that part works fine,
but my onLoad, onID3, etc. events only occur if the browser window has just
been opened, if the user hits refresh the movie starts over but the cached
versions don't trigger those events. Should I just rewrite the movie to
completely avoid those events? (If so why did Macromedia bother including
them?) I'd like for users to be able to keep the cached audio AND for me to be
able to use those events...
- 3
- Function Loadmovie works in IE, but not netscape.Hello All.
I ran across this site with a tutorial on it for making a window
change scale with a click of a button while loading another movie in the
window. you can check it out here.
http://www.layoutgalaxy.com/html/htmnewletter48-page1.htm
Now the problem is pretty simple. This script works in internet
explorer loading movies fine, but it does not in Netscape. I don't really
understand why, but maybe someone can help me out with it. you will notice
that if you go to that site that I posted with the tutorial, you can view an
example. if you look at it in explorer, it works, when you look in netscape it
does not. it is using this script. "loadMovie("services.swf",
"window.screen");" to load the swf into the movie clip named screen.
Is there something wrong with this code, or is there something that
needs to be added to make netscape load the movie? Is there another way to
accomplish a code like this?
thank you.
- 4
- should I consider web design ?
I'm a software developer with a BS degree in computer science
and have 15+ years experience in C++, as well as alot of perl
programming
and some java. I am considering learning about web development
because I thought perhaps I could make some money on the side
between jobs, or that even Actionscript might be a good skill to learn
to find jobs in. What appeals to me is not the pay, which I heard might
not be terrific, but the idea that I could possibly work more flexible
hours.
I own a small 475 square foot condo, so my mortgage is low and I have
no kids and am single. I like having time off to play in my rock band,
go surfing,
camping, and practice the guitar and so on.
I have done some HTML, started studying java script a bit, even AJAX,
and did a bit of CGI with Perl with shopping cart stuff. I am wondering
if I learned Flash and Dreamweaver, could I set myself up to design
high end sites and is there
much demand for that ? My weakness might be that I am not an artist,
though I saw where I could get clip art and so on for free. Perhaps I
could
team up with one or two like minded graphic artists, college students
or otherwise. They would do the graphics and I would provide the
technical side.
I am interested in finding out how serious a language Actionscript is
and if it is used for heavy duty programming or more like small
bits of code like the way Java script often is used to just verify
fields, highlight
selections and other minor tasks. I am wondering what the future of
Actionscript
looks like as far as is it going to stick around for a long time or be
superceded by something else ? To be a serious web developer, is
learning
Flash, Actionscript, and Dreamweaver, or some other technology
essential ?
- 5
- 6
- Online Test/XMLHi - I'm building an online, multi-lingual test that pulls questions, answers,
and feedback from an XML document. The order of the questions is randomized.
I need to be able to allow users to exit the test midstream then, once they
return, have the option of finishing the remaining questions. For example, if
you finish 4 questions and quit, when you return there are 6 more that are
again randomized.
I don't want to use shared objects for this. Any suggestions? I'm thinking I
need to create an XML object that's the remaining items from the first random
array, write it to a doc on the server, then re-route the test application to
use the new XML when they return ...?
Any suggestions or unique approaches are much appreciated.
- 7
- root.linki ordered a template and I have been editing it for a website. There is a set of primary buttons,
on rollover an additional menu consisting of three buttons emerges. The problem I am having is
linking these buttons to new page instances or mc's. As it is now the buttons are linked to the same symbol as the
primary buttons are.
the code for one of these buttons follows. Any help with this would be greatly appreciated.
on (rollOver) {
gotoAndPlay("t1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("t2");
}
on (release) {
if (_root.link<>2 and _root.flag == 1) {
if (_root.link == 6) {
_root.pages.gotoAndPlay("6");
_root.magn.gotoAndPlay("m2");
}
_root.link = 2;
_root.flag = 0;
_root.pgap.play();
}
}
- 8
- Rollover state remains after mouse moves focus?I hope I am asking this question in the correct forum. I posted this same
question yesterday, but havn't seem to have elisited a response.
I have created a navigation similar to the navigation used on the mm home
page. Primary nav. on layer 1. Buttons(rollover) goto and play frame ().
sub nav. on layer 2 with keyframes for each sub-nav instance. this works fine.
The problem is when the mouse is moved from the primary nav to the sub nav. I
lose the "highlighted" effect on the primary nav.
how can I remedy this?
- 9
- building a flash video player (not the component)Hi all
I can't use the Flash video media component because I'm not satisfied
with the options (or lack of options) to customize its "skin".
So I've built my own video player and controls, with a preloader. The
only big problem is that I'd want the loading progress to behave the
same way Quicktime does, i.e with the possibility of pushing the play
button and play the video before the loading is complete, BUT keep the
loading progress display while the video plays.
So far all my attempts to make a preloader that is NOT a PRE-loader but
simply a loading progress bar that can continue progressing while the
movie plays, have failed.
The closest is I succeeded in having the "pre"-loader continue to
display the loading progress, but somehow the actionscript loop that
calculates the loading progress PLUS the 30 fps video playing caused the
flash player to choke and the sound track of my video became all chunky
as a result.
Has anyone solved this?
Thanks for helping
- 10
- dynamic display of jpeg's with loader componentI have the following code (in my Flash SCREEN application):
....the code works almost fine,....problem is I only get to see the LAST
picture I created
....pic1 and pic2 are not shown on screen
//dynamically create components
my_array = ["pic1","pic2","pic3"]
ff = new Array(3);
loadListener = new Array(3);
i=0;
do {
i++;
ff = createClassObject(mx.controls.Loader, my_array[i-1], 0);
loadListener = new Object();
loadListener.complete = function(eventObj) {
ff.visible = true;
j = i*100;
ff.move(224.8 + j , 96.5);
};
loadListener.focusIn = function(eventObj) {
j = i*100;
ff.move(224.8 + j , 96.5 + j);
};
ff.addEventListener("complete", loadListener);S;
ff.addEventListener("focusIn", loadListener);S;
ff.contentPath = "pictures/" + my_array[i-1] + ".JPG";
} while (i < my_array.length)
....the ultimate goal is to create a gallery of some sort.
...is the loader-component suited for this or are there better ways to do this
?
- 11
- Trap Ctrl+ A KeysHi all,
I'm after creating a Flash standalone app with multiple combo boxes. Upon
selection each combo box generates a 2 digit number. These 2 digit numbers are
then collated and displayed in a text box named "some_txt".
At this point an external application brings the flash app to the foreground
and performs a "ctrl A" and copies and pastes the text to the clipboard.
However, this part isn't working if you do a "ctrl A" nothing is highlighted.
You have to click into the textbox first and then select all - "ctrl A" -
before copying and pasting.
Is it possible to create a KeyListener and attach it to the text box
"some_txt", so that when someone hits the keys "ctrl" and "A" the contents of
that specific text box "some_txt" is selected and is then ready to be copied?
Thanks,
Regards,
dcullinane.
- 12
- Creating Beahaviors in FMX2004Hello!!
I'm creating a behavior for Flash MX 2004, but I have the follow question.
The code below have a tag for show swf. The swf is my application, where
process my informations. How do I do for send a string in swf for my
beahavior code?
Sorry, my english
<?xml version="1.0"?>
<flash_behavior version="1.0">
<behavior_definition dialogID="OpenWindow-dialog" category="Web" name="Open
Window" >
<properties>
<property id="script"/>
</properties>
<dialog id="OpenWindow-dialog" title="OpenWindow" buttons="accept, cancel">
<flash id="OpenWindow" src="OpenWindow.swf" width="550" height="440"/>
</dialog>
<actionscript>
<![CDATA[
//Open Window Behavior by marloscarmo.com
$script$
//End Behavior
]]>
</actionscript>
</behavior_definition>
</flash_behavior>
// Marlos Carmo
// email***@***.com
// www.marloscarmo.com
- 13
- hashtableis there a kind of hashtable in Actionscript? Or an key, value Array?
Thanks for help
Martin
- 14
- Check File ExistanceHello everyone,
I'm trying to do something that I would imagine is very simple, unfortunatly
my knowledge of Flash + Actionscript is also very simple.
I am going to be using flash, to publsh an projector file as a standalone
application that will run from a CD. I need a way to check the existance of a
file, created by a vb.net script, which tells me if a system meets certain
qualifications for running the Flash Projector.
I've seen several examples of how to check the existance of files, but they
seem to relate around loading Movie Clips. I just need to check to see if
c:\pmchk.ck exists.
Thanks in advance for your help.
- 15
- Dynamic Text questionsI am passing a variable (name) from one slide in Flash Pro to another and
displaying it in a dynamic text box. The problem is tracing the variable shows
it is there, but the text box is empty. Any ideas? Thanks, Mike
|
|
|