Newbie questions on fms and actionscript 3

Ok, like I said I'm a newbie, but I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
1)  What is the advantage of writing a SSAS file over an external AS3 file?
2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?
Thanks for any help you might have...

1) I did not get this question correcly - for that matter SSAS can only be in AS1 - so i dont see reason comparing them
2) It has to be AS1
3) if you doing "include" stuff - i think code would go into compiled swf and proper decompiler would give you the code.
Last para - Server-side engine understands only AS1 so it wont be able to read and understand your AS3 file.

Similar Messages

  • Newbie Question: Java -Xmx and other settings...

    Hi all I have a simple question,
    I know that you can use the -Xms and -Xmx to set the heap size, but when I run this command is it permanent or do I have to set it each time I boot up my Windows system? How do tell what the current heap size is?
    I would be grateful for any help.
    Thanks!

    My dear Friend,
    if you are running your program with
    java -Xmx 1024 -Xms 500 ....
    This values you are using are like jvm arguments and you have to provide them everytime you are running your program.....
    Regards,

  • Newbie question about component and UDF usage.

    This will be the 1st time I'm coding a component and UDF. I
    kind of understand the concept but not sure about how to write it
    in detail.Such as passing the parameter, etc.
    I'm starting to write a user login, verifying users before
    allowing them to enter into the app.
    So I have 2 fields in my login form, Login and password.
    Upon submitting this form, on the actionpage.cfm I'm calling
    a component. This is how I call the component:
    <CFINVOKE Component="cfc/loginaction"
    Method="AuthentiCateUser" ReturnVariable="UserInfo">
    Then in my Component I have the following:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>
    When I run this code, I got error, it said :
    The parameter LOGIN to function AuthentiCateUser is required
    but was not passed in.
    The error occurred in
    C:\CFusionMX\wwwroot\KDt_Mod\userloginaction.cfm: line 18
    16 : <CFSET
    UserLoginInfo["Password"]="#Form.Password#"> 17 : 18 :
    <CFINVOKE Component="cfc/loginaction" Method="AuthentiCateUser"
    ReturnVariable="UserInfo">
    19 :
    My question is:
    What should I do in order to pass #Form.Login# and
    #Form.Password# to my UDF within my component?
    I'm using CFMX 6 and Micrisift SQL 8

    I've applied cfinvokeargument and my login and password were
    passed to my component.
    But I'm facing new problem: Where should I write my
    authentication? should I write user authentication within my
    component or
    loginaction.cfm (the calling template)
    What I mean by authentication is something like this:
    <CFIF #Authenticate.RecordCount# IS NOT 0>
    <cfset session.CustomerID
    ="#Authenticate.customerid#">
    <cfset session.Name ="#Authenticate.Name#">
    <CFCOOKIE NAME="UserLoginIn"
    VALUE="12345_pn#Authenticate.customerid#">
    <cflocation url="index.cfm?loc=home">
    <CFELSE>
    <script language="JavaScript">
    alert("Username/password is not found, plese try again");
    history.go(-1);
    </script>
    <cfabort>
    </CFIF>
    If I keep this code in my loginaction.cfm what is returned
    from my function is not recognized by the component, the error said
    Authenticate.RecordCount is not recognized.
    Also I'm still confuse with what should I put in the
    RETURNTYPE. If I put query, it gave me error, also, what is
    returned by CFRETURN.
    This is my component:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>

  • Newbie question about entity and view objects

    Hi everyone,
    My first ADF application in JDeveloper is off to a difficult start. Having come from a forms background, I know that it is necessary avoid using post-query type lookups in order to have full filtering using F11/Ctrl+F11. This means creating an CRUDable view and getting as much of the lookup data as possible into the view without losing the ability to modify the data. In JDeveloper, I do not know how to build my data model to support that. My thought was to start with a robust updateable view as my main CRUD EO and then create a VO on top of that with additional EOs or VOs. But, I have found that I cannot add VOs to another VO. However, if I link the VOs then I have a master-detail which will not work for me.
    For example, I have two joins to CSI_INST_EXTEND_ATTRIB_V shown in the queries below and need to have that show in the table displaying the CRUD VO’s data. It seemed that the best way to do this is to create a CSI_INST_EXTEND_ATTRIB_V entity object and view object. The view object would have two parameters, P_INSTANCE_ID and P_ATTRIBUTE name. Both the building and the unit are needed on the same record, and this is not a master-detail even though it might look that way. (A master-detail data control will not work for me because I need all this data to appear on the same line in the table.) So, I need help figuring out the best way to link these to the main (CRUD) view; I want as much of this data as possible to be filterable.
    select
    cieav.attribute_value
    from
    csi_inst_extend_attrib_v cieav
    where cieav.instance_id = p_instance_id
    and cieav.attribute_code = 'BUILDING NAME'
    select
    cieav.attribute_value
    from
    csi_inst_extend_attrib_v cieav
    where cieav.instance_id = p_instance_id
    and cieav.attribute_code = 'UNIT NAME'
    Ultimately, I need to display a ton of data in each record displayed in the UI table, so a ton of joins will be needed. And, I need to be able to add records using the UI table also.
    James

    Hi Alejandro,
    Sorry if I caused confusion with my first post. What I had in mind assumed that I could have a single CSI_INST_EXTEND_ATTRIB_V EO with a BuildingVO and UnitVO on top of it. So, I wrote the queries individually to show how I would invoke each view. When I realized that confused the issue, I rewrote the query to explain things better.
    Now having seen your 2 queries. You need to create 2 EO. One for each table. Then create an association between the 2 aeO (this will be the join you are talking about). Then, you need to create a VO based on one of the EO and after you can modify and add the second EO (in here you select the join type).
    After your done with this, youll have 1 VO that supports CRUD in both tables.
    There were three tables in the query: CIEAV_BUILDING, CIEAV_UNIT, and T -- the main CRUD table. When you say that I should create two EOs, do you mean that they are to be for CIEAV_BUILDING and CIEAV_UNIT? Or, CIEAV and T? Assuming CIEAV and T, that sounds like it would allow me to show my building or unit on the record but not both.
    By the way, everything is a reference except for the main CRUD table.
    Look forward to hearing from you. Thanks for your help (and patience).

  • Newb question: page size and bindings

    Hi all,
    I'm having trouble with two things (probably many more to come).
    1) In the "discover berkeley" presentation, it said I could change the page size in my database. Where is that configurable?
    2) I've read in the manuals that to store values in a key-value pair, I can use an entity (which I am currently using), or I can make it serializable, or creating bindings. My objects are currently composed of 2 ints, a short, a double, and a byte[8]. It's not a complex object, so I don't believe I need to use the serializable stored class catalog or the custom bindings. Is that not the case?
    The entity option seems the easiest. Is it slower to use or something?
    The serializable option makes it sound like I can only store a single primitive. Is that right?
    Please let me know - any help would be greatly appreciated.
    Thanks,
    Julian

    Julian,
    Page size is an parameter for the C version of Berkeley DB. We're on the Java Edition forum, so perhaps you mean to be on the forum for the C product - Berkeley DB
    Have you had a chance to read through http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/bindAPI.html ? That's a short overview to bindings, while a comprehensive writeup that walks you through how to pick a binding is at http://www.oracle.com/technology/documentation/berkeley-db/je/collections/tutorial/collectionOverview.html#UsingDataBindings.
    But before you delve too deeply into bindings, you should consider using the Direct Persistence Layer API. That will let you use store and retrieve Java objects directly from Berkeley DB Java Edition or Berkeley DB without managing bindings explicitly.
    Regards,
    Linda

  • Newbie Question about downloading and installing Firefox

    Hello,
    I recently downloaded Firefox 2.0.0.3, got it all set up and used it for a while, I am the admin on this machine, my wife is the only other user, I logged in to her acct to make sure that FF was there, but it wasn't?? Thought maybe I should reboot, after the reboot, no firefox on my acct or hers! Completely disappeared, can anyone give me a clue as to what might be going on?
    Thanks in advance,
    oldhoghead
    cheers

    Common n00b mistake (joking about the n00b remark)
    It looks like your running the program (Firefox) from the mounted dmg file. When you download Firefox, (and many other apps) it downloads as a .dmg file. Now, you probably have dmg files set to mount automatically when downloaded which is OK. You are probably launching the program from that mounted dmg file which is not OK. Here's what you need to do:
    After the dmg file mounts, instead of double clicking it, drag it to your Applications folder and launch it from there. That's it. Oh, it'll also be available to all your machine's users as well.
    Good Luck.

  • A Newbie question for forms and report...

    hi,
    I want to run a report(3.0.8) from forms(5.0.6), when user clicks a button.
    I'm using Run_Product. But am not sure how to pass parameter list. any help is appreciated.
    thank
    ---himanshu

    In this example V_SYSTEM_ID is the parameter created in Reports and Node_value is the value I am passing. Hope this helps
    DECLARE
    pl_id ParamList;
    node number;
    node_value number;
    al_button number;
    v_system_id number;
    BEGIN
    ** Check to see if the 'tmpdata' parameter list exists.
    pl_id := Get_Parameter_List('tmpdata');
    ** If it does, then delete it before we create it again in
    ** case it contains parameters that are not useful for our
    ** purposes here.
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    ** Create the 'tmpdata' parameter list afresh.
    pl_id := Create_Parameter_List('tmpdata');
    ** Add 3 data parameters to this parameter list
    Add_Parameter(pl_id,'V_SYSTEM_ID',TEXT_PARAMETER, node_value);
    **Pass a Parameter into PARAMFORM so that a parameter dialog will not appear
    **for the parameters being passing in.
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    ** Run the report synchronously, passing the parameter list
    Run_Product(REPORTS, 'WRKPKG_HIER',
    SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id,
    NULL);
    END;
    null

  • Newbie question about logrotate and "olddir" option

    I have just added "olddir /var/log_archive" line to my logrotate.conf (the rest is Arch default). Should I now move manually all these *.1 *.2 *.3 *.4 files from /var/log to /var/log_archive or will logrotate do that for me? And what with the files in the subdirectories like /var/log/samba/? Should I move them to /var/log_archive/samba?

    I don't *know* the answer. But I bet that you have to move the files yourself. Logrotate doesn't keep track of old files. It just looks to see if they're there where it's currently configured to think they might be; if so it rotates them. So with your config changes, it will now look to see if there are existing .1 .2 etc files in /var/log_archive. (You may need to create /var/log_archive, if it's not already there. There may be a config option to make logrotate do this for you; but it's easiest to do it ahead of time and give the folder the appropriate owner/permissions.)
    As to the subfolders, I suspect they will also need to be moved. In addition to the main /etc/logrotate.conf, there are also package-by-package config files in /etc/logrotate.d/. Look them over to see where the /var/log/samba {...} config block is. (And so on for all your /var/log/* subfolders.) I THINK you'll need to add an "olddir /var/log_archive/samba" command to each of those blocks; otherwise the rotated files will just be put into the top-level /var/log_archive.
    This is all off the top of my head; so don't rely on it without checking against the manpage and google. But I thought it might point you in the right direction.

  • Newbie Questions - Interlacing, Formats and exporting to iDVD

    Sorry everybody, but I've got some issues. I'm new to Final Cut Express but I have a decent knowledge of digital video formats and resolutions, etc. I'm going to try to give as much information as possible so as to make your jobs easier.
    I'm putting together a project for work that is using NTSC DV (4:3, 720x480) that I didn't shoot myself as well as a number of photographs (6-8 megapixels). I originally put the timeline together in iMovie '08 then exported as XML to FCE. I moved the pictures around using keyframes to create what iMovie likes to dub the "Ken Burns" effect (although I somehow doubt that he was the first to use it). The project is only about two and a half minutes long.
    I read up on the best way to export to iDVD and found that creating a Quicktime reference movie then directing iDVD to that seems the best way as you're not encoding the video twice. Unfortunately, the final product ends up extremely choppy and interlacing artifacts are everywhere (especially in the photos). I tried playing on an actual television, thinking my iMac just wasn't de-interlacing the image correctly, and it still looks just awful and horribly choppy.
    What did I do wrong?
    Help!

    Thanks for a quick response. The problem is apparent through the whole video, both video and still images. In Easy Setup it was set at DV-NTSC. When I exported from iMovie it basically just kept the videos at their right place in the timeline, the photos, text and music didn't move over, so all of that was imported in FCE as you thought.
    I would describe the problem as being extremely jerky. Not starting and stopping, just horribly un-smooth (that's not a word). But I don't get those big macroblocks like when something is encoded at a low bitrate. Especially when panning over still photos, strait lines get very, very aliased. It draws a lot of attention to edges and lines in the photo.
    If, instead of just creating a reference movie, I export as H.264 and choose "DeInterlace Source Material" it does seem a little smoother, but the photos still look pretty bad.
    Thanks again for any help.

  • Newbie, Questions about 865PE and DDR500 ram

    I just purchased an MSI 865 PE Neo2 LS board, Kingston khx4000k2/512 PC4000 DDR500mhz kit, and a Pentium 4 3.0ghz 800 mhz frontside bus cpu. How do u set it up for dual channel, and what would your recommended bios and D.O.T. settings be for the ram and cpu. Basically if you had this setup, how would u set up the bios and D.O.T. for it to run as kick *ss as possible but running stable?

    First of all; I have that same mem. in 1GB. Secondly, EVERY MO-BO, CPU, AND MEM. MODUALS  do not react  the same. So that said, I would START by installing the MEM. in sockets 1-A and 3-B, That will enable DUAL DDR recognition. Next go into the BIOS and set MEM TIMMINGS TO SPD (Serial Presence Detect). Then go to FREQ. and VOLTAGE page and SET PERFORMANCE to FAST, AND MEM SPEED to AUTO. Then (on same page) you should up the V-DIMM VOLTAGE to 2.7V. SAVE AND EXIT.. Then if you DON'Thave any problem with the POST, you can go back in and start to play with the TIMMINGS, PERF. MODE, RATIO, and (If you choose, OVERCLOCKING)...MY sys. is running stable with (TIME 2-3-3-7-8),(PERF. MODE TURBO), (RATIO 1:1), (FSB 220, MEM. SPEED=440), (V-DIMM V=2.7)...Keep in mind that I MEAN STABLE, I am sure I could go more,BUT WHY?..And as you can see I have the i875 and the P-4 3.2...Sean REILLY875

  • Newbie Questions/Comments - SMS and Instant Messaging

    I am a new iPhone 3G owner. Before the iPhone I used a SideKick and a BlackBerry. Between those 2 the BlackBerry was my favorite. The email, IM and TXT messaging was great. Now I have the iPhone and I like it but have 2 MAJOR gripes:
    *1. SMS* - When txting with someone from my old provider (T-Mobile) the txts are REAL slow. Several minutes pass before receipt. I did a test and sent and received txts from someone on the Verizon network and had no problems. Does anyone know what would be causing this?
    *2. Instant Messaging* - Now this is my biggest gripe. Instant Messaging is non-existent. Why is this? It used to be my primary means of communication.
    There was another one but I can't remember it right now. Any insight to either of these would be appreciated. I've never spent so much time trying to figure out a phone.

    For number 2, this is well known design limitation of the iPhone. The iPhone does not allow background applications to run, so if your phone goes to sleep or you leave the IM screen, then IM is shutdown.
    Apple is supposed to release a background notification service, but it is past the launch date, and no one knows when it will show up.
    If realtime always on IM is a must have, then the iPhone is not a good choice.

  • Newbie question: Rotating video and resizing the frame

    Hey guys'n'gals,
    I'm new at doing "advanced" (relative term) editing to video in Adobe Premiere Pro (CS4 version 4.2.1) and was hoping that 1) there's a way to change the output size of a video (IE: 640X480 to 480X640), 2) that someone can please tell me how, and 3) how to  rotate the video that's currently sideways.
    Thanks in advance,
    Brandon

    Brandon,
    I'm not sure that I am following. You say that you have the Video shot vertically, i.e. rotated 90 degrees, but then want to Export to a vertical Aspect Ratio.
    First, you can just choose a Desktop Preset, set the Aspect Ratio to match your footage, and then Export that to a delivery scheme that allows complete control of the Aspect Ratio - obviously not any of the DV/BD formats.
    Now, if you want to Rotate that vertical footage to horizontal, you can use the fixed Effect>Rotate. Note: you will have to now resize your footage to fit into a horizontal Frame Size Aspect Ratio. This would then allow you to Export to a horizontal Aspect Ratio, but I am not sure that this is what you really want in the end.
    Good luck,
    Hunt

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Trouble backing up Macbook (10.4.11) and some newbie questions...

    I am using a MacBook OS X 10.4.11 and do not have Time Machine. I have a couple newbie questions...
    What is the best way to back up everything? I am using Disk Utility's Restore tab but it is taking forever. I first tried to do it though Disk Utility's First Aid tab but it wouldn't let me make a New Image because the "source was in use", I think it is because I don't have the Install Disc to begin with (http://support.apple.com/kb/ht1553).
    Secondly, does this include everything in "Home" (bookmarks, iPhoto library, iTunes library and so forth), Documents, and Desktop? Or must these be archived and transferred to the external hard drive separately from Macintosh HD?
    Thanks in advance for any help!

    I tried restarting the phone and switching to another USB cable and now it is working so never mind.

  • Quick Question about Authorisation and FMS

    Hi,
    Can someone tell me if it's possible configure FMS 3.5 so that it authenticates against Webseal so that only authorised users can have access to the media?
    Thanks

    Does the normal version of FMS support cookie passing? We have Webseal infront of FMS and it seems that our flash player doesn't always pass the authorisation cookie through.
    Also could you expand more on the use of  LoadVars, XML send/load, NetServices, or XMLSockets to communicate with Webseal?
    Many Thanks

Maybe you are looking for

  • I have 2 App Store accounts, one from MobileMe time and i want to know if it is possible to merge them as i'm having troubles updating some of my software?

    I have 2 App Store accounts, one from MobileMe time and i want to know if it is possible to merge them as i'm having troubles updating some of my software? I have to sign in and out between one and the other constantly and i dont know what to do anym

  • Resume/restore a running process

    i issue a command within an applescript and at a later time, need to access this new running process to check on its status. is this possible? the command i am issuing is the HandBrakeCLI app which reencodes video's and can take many hours. the comma

  • Calendars not syncing

    I just installed Mountain Lion on my iMac and Mac Airbook. I'm in the Airbook now. Both calendars are shown as iCloud. However, the calendar in the iMac is not being shown in the calendar in the Airbook. Any thoughts?

  • Jdeveloper OA for 11.5.7

    I have a TestProject based on HelloWorld from tutorial, it runs fine on 11.5.10 (Jdev OA patch 4573517), but with 11.5.7 it gives error (see the log behind). Using older Jdev p4045639 it gives "No suitable driver" for the same TestProject in 11.5.7.

  • Windows partition randomly gone, cannot boot into it.

    Some Background: I installed Windows 7 on my iMac (iMac12,1) under OS X 10.7.2, then I re-installed a 64 bit version of Win7 later. I've been using mostly Win7 for stuff, switching back to OS X (upgraded to 10.8.2) every now and then. Today, I was ju