Similar concepts in Actionscript 3.0

Hi
I would like to know onething over here that in AS3 we have many similar concepts like below followings
These things are some kind of confusing concepts. If we understood these concepts very well then we can Optimize our coding by ingoring unwanted useages.
1. Timer - setInterval
2. EventDispatch - Dispatchevent
3. loader - URLLoader
4. overload - override
5. Sprite - MovieClip - DisplayObject - DisplayObjectContainer
If you know more than these things please and revert me back.

I said from the VERY start that I was new to Flash.
I didn't say that I was totaly ignorant of any programming language. I have
usded
C/C++
VB
VB.NET
C#
to name a few
I know about classes object orientated programming scope overloading 
namespaces implcit and explict casting as well as interfaces.I know about 
imports.
Does anyone know what these do?
import flash.display.Loader;
import flash.utils.Timer;
Because they are in my code and the following does not work
    var imageLoader:Loader;
imageLoader = new Loader();  // Error dosen't understand previouse  line.
var myTimer:Timer = new  Timer(2000,8);
myTimer.addEventListener(TimerEvent.TIMER,  timerListener);  // Error
dosen't understand previouse line.
D:\MoveSlides\code\MovieSlides.as, Line 19 1120: Access of undefined 
property imageLoader.
D:\MoveSlides\code\MovieSlides.as, Line 21 1120: Access  of undefined
property myTimer.
My knowledge of programming says something is wrong here.
Desmond
In a message dated 26/07/2011 14:25:56 GMT Daylight Time, [email protected] 
writes:
Hi
I would like to know onething over here that in  AS3 we have many similar
concepts like below followings
These things are  some kind of confusing concepts. If we understood these
concepts very well  then we can Optimize our coding by ingoring unwanted
useages.
1.  Timer - setInterval
2. EventDispatch - Dispatchevent
3. loader -  URLLoader
4. overload - override
5. Sprite - MovieClip - DisplayObject -  DisplayObjectContainer
If you know more than these things please  and revert me  back.

Similar Messages

  • Modification assistant or similar concept for Z program

    Hi,
    I have a requirement where I want to switch on the modification assistant for Z programs.
    The requirement is such that I want the user to allow to make change for only a particular part of the code the rest part should be frozen for any changes. I think Modification Assistant will partially provide this.
    But it seems that MA cannot be used for Z programs. Is there any other way to do this ?
    Please pour in your thoughts.
    Thanks in advance.
    Regards
    Megha

    Hi,
    Why dont you try to create 2 objects ...1 main program with editor lock and the other 1 include program where in all the part that the user can change are there..much like the user-exit concept
    Just a suggestion.
    Regards,
    Leonard Chomi

  • Scripting /Expressions in AE:  Similar to Flash/ActionScript?

    I think about learning AE, but I would like to get an overview about the Software, so that I can decide if it's suitable for what I am planning to do.
    I have little experience in Flash/ActionScript, but I can't get a picture what Scripting means in AE. Can this be compared to Script-Languages like ActionScript and Lingo?
    And what is the difference between "Scripting" and "Expressions" in AE.
    Thank's!
    Roland

    Expressions are layer-based formulae/commands that manipulate the layer and its content/effects based on factors such as time, random number generation, variables, and other layers and elements within the project. An expression can only change elements of the layer parameter to which it is applied - it cannot alter any other layer or parameter within your project, although it can "see" changes in other elements and react accordingly.
    AE Scripting, however, is an application-wide scripting language, which can perform almost any possible function within AE, from creating new projects, comps and layers, to reading data from external files, sending emails etc.
    Both are customized adaptations of Java Script. Both were developed independently of Flash Actionscript, so while they share similarities, they are not the same.
    One of the best places to learn about AE Scripts and Expressions is Dan Ebbert's fantastic site:
    http://www.motionscript.com
    And, of course, the AE manual. Expressions:
    http://help.adobe.com/en_US/AfterEffects/9.0/WS3878526689cb91655866c1103906c6dea-7a39a.htm l
    Scripting:
    http://help.adobe.com/en_US/AfterEffects/9.0/WSD2616887-A41E-4a39-85FE-957B9D2D3843.html

  • Package concept?

    Hi,
    I am confusing how to understand the term "package" in javacard.
    Is it similar concept in java? example, java.lang, java.io, ... are packages?
    if they are packages then do they have AIDs ?
    my own thought, the concept of package in javacard is not the same as in normal java. Package must have AID, and two different packages must have two different AID. Two same "package name, example java.lang", might belong to different packages.
    thanks,
    Hoang Long
    Edited by: CardM on Jul 11, 2011 2:24 AM

    safarmer wrote:
    Hi,
    You must start from the bottom up dependency wise. You can not have packages that have circular references. I have commented on this recently but it is to do with CAP file load order on the card.
    You can convert packages with sub packages but each package is converted individually regardless of if they are nested.
    Cheers,
    ShaneIn short, if i have 2 java packages: java.A and java.A.B
    There is no circular references. java.A uses classes in java.A.B. Am i able to convert java.A to CAP file without pre-converting java.A.B?
    (I am using converter companion with java card dev kit 2.2)
    ps: is there any conversion issue if i have deeper level of inheritance?
    thanks for your help,
    Hoang Long

  • Swf gallery (Actionscript 3) won't play in Safari or IE, only FireFox

    I have a flash gallery I created using Flash CS4 and Actionscript 3. It plays perfectly in FireFox, but in IE and Safari it just shows me a blank space on the page where the gallery should be. As a test I uninstalled Flash Player, and FireFox and Safari showed me the message that a newer version of Flash was needed along with a link to get it, but IE showed nothing. Now that Flash is re-installed, only FireFox actually loads/plays the gallery. With IE it doesn' tmatter if I use the 32-bit or 64-bit, or if compatibility mode is on or off. I tried republishing with Flash 9 set instead of Flash 10, but that made no difference. It fails with the HTML file generated out of Flash, as well as the page I created in Dreamweaver and used the Insert Media command to insert the .swf:
    http://www.arttoharmony.com/sales/Art-To-Harmony-Gallery.html (auto-generated HTML out of Flash)
    http://www.arttoharmony.com/sales/index.php (Dreamweaver page)
    I'm using all the latest browsers, Windows 7 (64-bit), Dreamweaver and Flash CS4. A couple of years ago when I had CS3, I created a similar gallery using Actionscript 2, and it continues to work fine in all 3 browsers:
    http://somerset-silver.com/Gallery.html
    I'd appreciate any ideas to get this working in Safari and IE (not only the gallery to load, but the Flash Player detection to work properly in IE). I'm a very infrequent Flash user, so I was hoping it was something obvious, but I can't find the problem.
    thanks,
    Luann
    http://www.somerset-silver.com/gallery.php

    I just tried with IE and its working fine
    even i use windows 7.
    use 32bit IE and check if any other flash media (like youtube, etc.. ) is working fine on it?

  • Library of flash files, loading, and data assignment?

    Hi; noob here...
    Here is what I want to accomplish:
    what little flash I know makes me just dangerous enough to
    want to be able to have either a database of vector information, or
    a .fla library of shapes (or symbols, I don't know) that represent
    counties, districts, states, watersheds (and such) of the USA.
    These can be loaded singly (for example if we want only to show the
    state of Maine, and not all of the US on a single demo) and
    assembled into separate layers and either loaded as or turned into
    symbols.
    These symbols then are altered (re-colored, shifting
    transparency, even moving, shrinking or exploding, or, as a blob,
    being panned in one direction or another) whenever certain buttons
    are pressed that load new XML data. For example, let us say that
    Oxford County in Maine has a 2% native american population, and
    Penobscot County has 4%... both had been loaded by actionscript and
    imported into the demonstration. Then, we change the color of those
    two counties to whatever color we would want to represent that one
    is 2% and the other 4%. Then, on another click or menu selection
    within the flash document, those values are dismounted, and new XML
    loaded and applied to the same symbols... and later on, these
    county symbols might be unloaded and new ones (for new hampshire or
    california or whole u.s., who knows) mounted.
    What I'm hoping people can tell me is what these processes
    might be called, or link me to tutorials that cover similar
    concepts, or otherwise point me to documentation or give
    suggestions on how I might tackle this. I keep scouring the
    internets (hehe) in search of similar things, but I don't even have
    the correct terminology to do an accurate search. Such just knowing
    what to search for may be of great help! Thanks in advance.

    unfortunately Flash does not hold an autosave file for you
    (actually most software doesn't do this - to my knowledge only
    Microsoft Office and a couple of others do)

  • Is there a way to reference the property node value of a control in another VI?

    Let's say that I have a situation like the one shown in the attached image.
    I have an interlock system which is basically a bunch of booleans
    If for example the "RF Enable" button in the "interlock VI" is true, then I should be able to flick the ON switch in my other VI (in the back), but if the value is FALSE, then it shouldn't allow it.
    In other words, how do I check the value of a control across 2 separate VIs (running simultaneously)?
    Thanks!!
    Attachments:
    sample.jpg ‏295 KB

    Is one VI launched by the other, or are they launched independently? If it's the former then you just need to pass the control reference to the subVI via terminal node. If it's the latter there are a variety of ways to handle this:
    Use a global variable - somewhat "sloppy" as it requires a global variable, and can lead to race conditions. In the "Interlock" VI you just set the value of the global variable when you change the value of the Boolean. In the other you're just reading it.
    Action Engine - Ben wrote a Community Nugget a while back. Similar concept to a global variable.
    Queue - The "Interlock" VI simply pops an element onto the queue with the value. The other VI just monitors the queue for a new element. It just needs to have something like a shift register to keep track of the last state.
    Use the VI Server to access the controls of the "Interlock" VI. You can do this by accessing the "Interlock" VI's pane and get the control references. With the control reference you just need to get the value with a property node.
    ... (I'll let others chime in)

  • Is their a difference between primary key and unique key with not null valu

    What is the difference in having a column as primary key and having unique key with not null for the column.
    vinodh

    SBH wrote:
    For quick review, below is the link
    http://www.dba-oracle.com/data_warehouse/clustered_index.htm
    You appear to have stumbled on a site that is a mine of disinformation about Oracle.
    >
    It would be helpful, if you explain it too..thnx !!
    The site is wrong and makes up its own terminology as it goes along.
    If the value for clustering factor approaches the number of blocks in the base table, then the index is said to be clustered. http://www.oracle.com/pls/db112/search?remark=quick_search&word=clustered+index
    There is no create clustered index in Oracle.
    - Clustering factor affects the efficiency of an index.
    - There can be clustered tables that you can create indexes on.
    - An Index Organized table is a similar concept to the Microsoft SQL Server clustered index, but it isn't the same thing at all.

  • How do I loop back from the first frame to the last frame?

    Hi there,
    I'm currently working on the framework for a product viewer.
    I have:
    a movie clip called 'viewer_mc' which contains the images take from different angles of the product. The actionscript generates a script on the last frame of this that returns it to frame 1.
    a button instance called 'autoplay_btn' which plays through the movie clip from whatever the current frame is, and stops on frame 1.
    a left and right button which serve to move the movie clip frame, to give the appearance that the product is rotating.
    I have succeeded in getting it to:
    have the movie clip play through once, return to frame 1 and stop.
    have the buttons return functions when held down, that move the frame in the movie clip using nextFrame and prevFrame commands. The right button successfully loops round to frame 1 and continues functioning to give the appearance of continual rotation.
    The last problem I am experiencing is getting the left button to act in the corresponding manner, going from the first frame to the last and continuing to function.
    Here is my actionscript so far:
    import flash.events.MouseEvent;
    var lastFrame:Number = viewer_mc.totalFrames;
    var thisFrame:Number = viewer_mc.currentFrame;
    var backFrame:Number = viewer_mc.currentFrame-1;
    1. This is the part that gets it to play through once before returning to the first frame. I think perhaps the problem I am experiencing is because of the 'viewer_mc.addFrameScript(lastFrame-1, toStart)' part i.e. although I'm holding the left button, its returning to this script and therefor getting bounced back immediately to the first frame. However, there is no flicker on the screen which you might expect if this were the case
    Note - as this is a generic product viewer which I can use as a template I am using lastFrame etc. as opposed to typing the value in
    function toStart (){
              viewer_mc.gotoAndStop(1);
    viewer_mc.addFrameScript(lastFrame-1, toStart);
    2. This is the functionality for the autoplay_btn that will play through a rotation / return the viewer to the initial (frontal) view of the product (frame 1).
    autoplay_btn.addEventListener(MouseEvent.MOUSE_DOWN, autoplay);
    function autoplay (ev:MouseEvent):void{
              var startFrame:Number = viewer_mc.currentFrame;
              viewer_mc.gotoAndPlay(startFrame);
    3. This is the functionality of the right button, which when held, moves the movie clip to the next frame via the 'rotateRight' function based on the 'nextFrame' command. It loops back round to the first frame due to the 'viewer_mc.addFrameScript(lastFrame-1, toStart)' script generated on the last frame of the movie clip, as is desired.
    right_btn.addEventListener(MouseEvent.MOUSE_DOWN, rightDown);
    function rightDown(e:Event){
        stage.addEventListener(MouseEvent.MOUSE_UP,stoprightDown); //listen for mouse up on the stage, in case the finger/mouse moved off of the button accidentally when they release.
        addEventListener(Event.ENTER_FRAME,rotateRight); //while the mouse is down, run the tick function once every frame as per the project frame rate
    function stoprightDown(e:Event):void {
        removeEventListener(Event.ENTER_FRAME,rotateRight);  //stop running the tick function every frame now that the mouse is up
        stage.removeEventListener(MouseEvent.MOUSE_UP,stoprightDown); //remove the listener for mouse up
    function rotateRight(e:Event):void {
        viewer_mc.nextFrame();
    4. This is the functionality of the left button, which when held, moves the movie clip to the prev frame via the 'rotateRight' function based on the 'prevFrame' command. And this is where the problem lies, as although it works for getting the movieclip back to frame 1, it does not loop round to the last frame and continue functioning, as is wanted.
    left_btn.addEventListener(MouseEvent.MOUSE_DOWN, leftDown);
    function leftDown(e:Event){
        stage.addEventListener(MouseEvent.MOUSE_UP,stopleftDown); //listen for mouse up on the stage, in case the finger/mouse moved off of the button accidentally when they release.
        addEventListener(Event.ENTER_FRAME,rotateLeft); //while the mouse is down, run the tick function once every frame as per the project frame rate
    function stopleftDown(e:Event):void {
        removeEventListener(Event.ENTER_FRAME,rotateLeft);  //stop running the tick function every frame now that the mouse is up
        stage.removeEventListener(MouseEvent.MOUSE_UP,stopleftDown); //remove the listener for mouse up
    I'd imagine it is probably my logic for this part that is really letting me down - I can do a similar function in actionscript 2, but am trying to learn actionscript 3 just to move with the times as it were, and struggling a bit. Still this is only a few days in!
    function rotateLeft(e:Event):void{
              if(thisFrame==1){
                        gotoAndStop(viewer_mc.totalFrames-1);
              } else{
              viewer_mc.prevFrame();
    Any help you can give me would be gratefully received. For an example of the effect I am trying to achieve with the autoplay button etc. I recommend:
    http://www.fender.com/basses/precision-bass/american-standard-precision-bass

    Thanks for getting back to me.
    Here's the code without my comments / explanations:
    import flash.events.MouseEvent;
    import flash.events.Event;
    var lastFrame:Number = viewer_mc.totalFrames;
    var thisFrame:Number = viewer_mc.currentFrame;
    var backFrame:Number = viewer_mc.currentFrame-1;
    function toStart (){
              viewer_mc.gotoAndStop(1);
    viewer_mc.addFrameScript(lastFrame-1, toStart);
    //last image of viewer_mc = first image of viewer_mc
    autoplay_btn.addEventListener(MouseEvent.MOUSE_DOWN, autoplay);
    function autoplay (ev:MouseEvent):void{
              var startFrame:Number = viewer_mc.currentFrame;
              viewer_mc.gotoAndPlay(startFrame);
    right_btn.addEventListener(MouseEvent.MOUSE_DOWN, rightDown);
    function rightDown(e:Event){
        stage.addEventListener(MouseEvent.MOUSE_UP,stoprightDown); //listen for mouse up on the stage, in case the finger/mouse moved off of the button accidentally when they release.
        addEventListener(Event.ENTER_FRAME,rotateRight); //while the mouse is down, run the tick function once every frame as per the project frame rate
    function stoprightDown(e:Event):void {
        removeEventListener(Event.ENTER_FRAME,rotateRight);  //stop running the tick function every frame now that the mouse is up
        stage.removeEventListener(MouseEvent.MOUSE_UP,stoprightDown); //remove the listener for mouse up
    function rotateRight(e:Event):void {
        viewer_mc.nextFrame();
    left_btn.addEventListener(MouseEvent.MOUSE_DOWN, leftDown);
    function leftDown(e:Event){
        stage.addEventListener(MouseEvent.MOUSE_UP,stopleftDown); //listen for mouse up on the stage, in case the finger/mouse moved off of the button accidentally when they release.
        addEventListener(Event.ENTER_FRAME,rotateLeft);//while the mouse is down, run the tick function once every frame as per the project frame rate
    function stopleftDown(e:Event):void {
        removeEventListener(Event.ENTER_FRAME,rotateLeft);  //stop running the tick function every frame now that the mouse is up
        stage.removeEventListener(MouseEvent.MOUSE_UP,stopleftDown); //remove the listener for mouse up
    function rotateLeft(e:Event):void{
              viewer_mc.prevFrame();
    The definition of the rotateLeft function is where the problem lies I think - I've taken out my poor attempts at doing the logic from the previous post. If I were to write it out long-hand the statement I want to write is: 'If you get to frame 1 and function rotateLeft is called go to the end of the movie clip'.
    The reason I have to use the viewer_mc.totalFrames-1 definition in the addFrameScript call is the addFrameScript function is 0 based i.e. if you want to call frame 1 of the movieclip you have to return a value of 0 in the addFrameScript (or such is my understanding of it anyway). As such, the last image in the movie clip will need to be the view obtained at 360 degree rotation, which is of course the same view as at 0 degree rotation. As a consequence, the last frame in the movie clip is superfluous for the user, but necessary for the overall effect to be achieved. And, in addition, to keep up the effect of a 360 degree view when the rotateLeft function is called it needs to skip that last frame to go to the lastFrame-1 (or totalframes-1), or in other words, the view of the image prior to completing the full 360 rotation.
    the variables thisFrame and lastFrame are defined at the very top of the script. Like you said they might need to be defined or called on again elsewhere.

  • Welcome to the Visual Studio Tools for Applications (VSTA) forum!

    Welcome to the VSTA forum!
    Use this forum to ask questions and comment about VSTA integration with your product and building VSTA applications. 
    The latest version of VSTA can be found through the links below:
    VSTA 2013
    VSTA 2013 SDK
    If you can't find what you are looking for or have any suggestions, by all means please let us know; we are here to help.
    Thank you!
    Xiaoying is a program manager in Microsoft Visual Studio Office Developer Tools team | This post is provided "as-is"

    We want to provide customization of our applications (C++ and .Net C# both). Evaluating VSTA, it  looks like a good fit, but really not good enough examples and documentation.
    I have few questions or concerns - 
    1. What are the differences/similarities with VSTA 2.0, Can we try or use VSTA 2.0 examples to understand VSTA 2012?
    2. Can we have some detail example for VSTA 2012 like the ones provided with VSTA 2.0 (e.g. - shapeApp samples which by the way no longer available for downloading!!! ).
    3. The given documentation ("VSTA Sample Host Integration.docx") and example only illustrates the part which loads Visual Studio, creates, saves, compiles and runs a template project on C#.
    4. No documentation available on how to work with VB projects/scripts in VSTA 2012.
    5. Document tells nothing about how to provide host application's APIs for customization or overwrite any host  object by scripting. In VSTA 2.0 I think there was a concept of Proxy classes, do we have similar concept
    here too?
    6. Debugging part is also not complete in the documentation. Starting the external process and running  the Addin is not clear.
    Please provide more elaborate documentation if possible. Thanks!
    Hi Xiaoying,
    Could you answer on questions above?

  • New Gl 0Fi_GL_14 and impact on existing _4 AP and AR datasources

    We will be moving to new GL and I'm investiagting the  0FI_GL_14 Datasource for this purpose.I have couple of questions on this datasource.
    I couldn't find any related AP and AR datasources for new GL. Does this mean we can continue to use 0FI_AP_4 and 0FI_AR_4  for AP and AR reporting ??
    Our current dataflow for GL is 0FI_GL_4 -> GL_O02 ODS-> Custom cube
    Since we have lot of reports out of the GL custom cube can we set our new path as follows so that we do not have to re create all the queries. This way we will still be existing cube with ne wGL datasource and ODS.
    0FI_GL_14-> 0FIGL_O14->Existing customcube.
    Points will definetley be awarded. Thnaks

    Hi,
    I had also done 0FI_GL_10 in the past with a similar concept as yours and it did work. Plus, during that time I had researched on AP and AR datasources and I don't think there are any new ones like we have for GL. I believe the new datasources for GL are because of the 2 new tables in ECC (FAGLFLEXA/FAGLFLEXT).
    I think the solution that you are trying to build should work, will need some testing though, but there is a lot more to offer in the GL_14 datasource than the old GL_4, so you might want to build a new cube to accommodate that. Or you can update 2 cubes from the GL_14 ODS, 1 would be your existing one and other would a new cube, so when the users are ready you can migrate them from the existing to other.
    Regards,
    Nikhil

  • How to create a text tag that shows up in a file but not on the sceen.

    I need some help, I'm a newbie with enough skill to be dangerous.  If someone can point me in the right direction has to how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible
    in a text editor but not the text file.  That would be great.  If you wish to show some code examples that's OK, but if not I can stumble through and learn while doing it from your directions on how to get it done.
    I will start with an example of what I'm trying to do; using the old desktop pub program Ventura.  They had (what I'm calling a tag) tags in from of ASCII text in a file to tell the program what it was and what to do with it, I. E.; "Title@this
    is the title text" the next line could be "Body@this is body text".  When loaded the "Title@" would not be there on the screen.
    I'm trying to create some text that uses a similar concept but not for formatting of text like Ventura. 
    I want to be able to highlight some text in an editor and then have it place some sort of tag for the highlighted text so that I could use it to do something upon that text and only that text; in concept the text "Bob Brush was a painter." I would
    highlight Bob Brush and somehow assign a tag that would be "name" and then highlight "painter" and be tagged with "job".
    The text file would then have something in it to distinguish "Bob Brush" and "painter" as what each is name and job.  (as a note I'm not trying to make a database or form just using this simplified concept to get my idea across
    because I get to wordy).
    Thanks in advance BK
    blk

    Hi bik,
    >> how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible in a text editor but not the text file. 
    It is unclear to me. Like you mentioned F keys, how does it work for?  And Could you show us some code with a simple sample or a capture? It could be better to help us understand more.
    In addition, I found a related thread
    Tag editing in a WPF TextBox. Not sure if it is useful for you. Thanks.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to have an app icon on the home screen without it actually being downloaded to the device's memory?

    The reason for wanting to do this, is to free up memory on my iPhone. I would like to delete apps that i don't use very often, but still have them on my home screen so that they don't get lost and forgotten about in my long list of 'purchased apps'... then when i do want to use them, they are there on my homescreen waiting to be re-downloaded.
    This would be a similar concept to the way that iTunes Match works. I can either choose to see only the songs which are downloaded to my phone or see all of the music i have stored in the cloud, for download as and when i want to listen to it.
    If this cannot be done, i hope it will be a feature of one of the next iOS updates.
    (Currently using iOS 7.1.2 on iPhone 5S)
    Thanks

    TomQoncept wrote:
    Thanks but I know that... That's why i'm asking whether there is any option to keep the icon after deletion.
    You're welcome. The answer is no.

  • How to manage multiple resources in multiple project?

    Hello,
    We are a very small company that has migrated from an in-house TFS solution to using VSO to manage our projects.  One issue we are having is being able to look at outstanding tasks and resources allocated across multiple projects.  What I'm looking
    for is one place where I can see how many hours a person is allocated for a given week for all projects.
    Thank you for your help!
    Curt

    Hi Curtis,
    You can create a single team project and create teams for each of you project. Then you would be able to monitor all team progress etc using root team project and each team progress can be separately monitor. If you use parallel iterations across all teams
    this would be more effective.
    For team capacity you can set full capacity to root level and divided capacity levels to each team.
    Scaled Agile Framework is explaining similar concept here for more complex situations in below article. But you can use a simplified version of it.
    https://msdn.microsoft.com/en-us/library/dn798712.aspx
    Cheers!
    Chaminda

  • Is it possible for a user to embed a graphic file in a form?

    Hi all,
    I'm designing a form that users will submit to report problems with software packages to our support teams. I would like the user completing the form to be able to embed a screenshot of the problem they are having into the form (I was planning to put this in a repeating table so that they can add more than one screenshot).
    What I don't want to do, however, is have the actual full size screenshot displayed, when they embed the screenshot file. I want there to be an icon that 'represents' the screenshot that the support personnel can then double click on to actually view it (a bit like embedding objects in MS Words docs I suppose).
    Does anyone know if this is possible? The Image Field controld doesn't seem to work in this manner.
    Thanks
    Matt

    In one of my forms I used similar concept, however I used Button and Image overlay on each other and have code under Button Click event....But the code attaches any document/file the user chose attach rather than just screenshot....this could be starting point for you to try some thing you want.... Following is the code I used....
    var aInstance = this.parent.index; //this is the table row instance in your case
    var selectFileName = "ScreenShot" + aInstance; //this is to assign a relative name for each image they like to upload
    var doc = event.target;doc.importDataObject(selectFileName); //opens the dialog box for user to navigate and select any file to attach
    var MyPar1 = doc.getDataObject(selectFileName); 
    var filename = MyPar1.path; //get the file path in to a variable so you can extract the name of the file they select and determine type of the file and do some exception coding.
    Good luck,

Maybe you are looking for

  • Awesome not reading rc.lua

    I'm trying to give awesome3.1 a go, but it isn't reading my rc.lua. It just keeps the default everything. Really all I've changed is the theme. -- Include awesome libraries, with lots of useful function! require("awful") require("beautiful") -- {{{ V

  • Need help in Validation of Network no.

    Hello, I am doing one enhancement.The report is for Post Travel and Living (T/L))Expense to G/L. Right now there are two scenarios. In first, Interface can book the expense in natural account (travel/meal etc.)to the cost center. In other scenario, i

  • Re-use of .264 and .ac3 created by compressor or fcp-share

    Good Morning from Belgium Here is my question How do I reburn a blu-ray without having to reencode in compressor or using "share" in fcp. In other words, how to re-use the .264 and .ac3 files created in a previous burning session ? I have tried Toast

  • Same rowid but diffrent rows !!!

    Hello, I have seen something unbelievable in oracle today . Two different rows & same rowid !!!!!! I have fired one select statement on gatepass_body table & retrieved a record with where vrno=782; select b.rowid,b.* from gatepass_body b Where b.Vrno

  • Patchset 10.1.2.3 fails on windows

    I am having a problem when I apply patchset 3 on windows 10.1.0.2 installations. The OID configuration assistant fails, without any errors. I have applied the patch to several installs, and it doesn't always fail, but when it does, it is always at th