Using Components within a Symbol

Project. To create a flash box that allows a visitor to enter 1) email 2) phone number 3) preferred method of contact. Then they can hit submit. That information is sent to a php which sends an email to the administrator letting them know to contact someone.
Reason it is done in flash. I have a "tab" graphic appear and in the tab is the entry form. When they hit submit the information is sent and the tab lowers out of site then raises back up with a confirmation message that the message was sent.
Problem: The tabs work in annimation. I know that the code works to send information to php and that the php works to send the email. But, my issue is with the GUI. When the flash is rendered, the field boxes do not show up. See image below.
Setup: To get the fields to move with the tab I have them as separate objects within the symbol of the tab that moves. Could this be the issue? If so, any ideas around this problem?
AS3 Code:
var request:URLRequest = new URLRequest( "http://mySiteName.com/phpCode.php" );
var variables:URLVariables = new URLVariables();
variables.email = emailAddress;
variables.phone = phoneNumber;
variables.contact = contactBest;
request.data = variables;
request.method = URLRequestMethod.POST;
sendToURL(request);
PHP Code:
<?php
$emailAddress = $_POST['email'];
if ($_POST['phone']){
     $phoneNumber = $_POST['phone'];
$contactBest = $_POST['contact'];
$to = "[email protected]";
$subject = "You have a quote request";
if ($phoneNumber){
     $body = "A visitor with email ".$emailAddress." submitted the form on your web site requesting a painting quote. Their phone number is:                   ".$phoneNumber.". They stated that the best way to contact them would be by ".$contactBest.".";
}else {
     $body = "A visitor with email ".$emailAddress." submitted the form on your web site requesting a painting quote. They did not provide a                     phone number.";
if (mail($to, $subject, $body)) {
     echo("Your message was sent");
} else {
     echo("There was a problem.");
?>

Thank you Ned for that information. I have finally got some time to get back to this project. Here is what I have found. I put a trace on those objects and they are defined as TextInputs and RadioButtons.
And here is what my Timeline looks like. They are on the form layer and as is shown they animate upward from frame 1 - frame 10. Then in frame 20 the actionscript is called that I have listed previously, as well as a stop(); command. Then when the form is submitted the player proceeds and there is an animation to drop the form layer down and raise a Thank You prompt verifying that the form was submitted. And then in frame 50 another stop(); is called.
I am just missing why these objects are invisible when the .fla is rendered. Any help is appreciated to get this problem solved.
I have done preliminary testing to have the form there (no animation in) and when the form is submitted the Thank You slide covers the form. This graphically works, I have not tested the code yet. So, I may have found a round about way to fix the problem. I would still like to know though why when the textInput and RadioButton elements are placed in a graphic to be animated, they disappear.

Similar Messages

  • AdobeEdge - Using variables within a symbol

    I am completely new to Adobe edge, but I do have a little development experience (VB, VBA, C#). I would like to create a global variable when the animation starts (strClicked = "No" - or similar).  When one of the buttons is clicked on I would like to set this variables to "Yes".  Finally, I want several symbols to stop playing (their fade-out), if the variable has been set to "Yes".  I'm sure this is quite a straightforward thing to do, but have having a little trouble, and finding it difficult to find good documentation (any suggestions would be greatly appreciated).
    Any help would be greatly appreciated.

    Hi Andrew,
    You should nest each animation in a symbol, say pink, green, yellow. Each is instanciated on stage and given respectively the IDs
    pink1, green1, yellow1.
    Then your button has a click event handler with code
    sym.getComposition().getStage().getSymbol("pink1").stop();
    sym.getComposition().getStage().getSymbol("green1").stop();
    sym.getComposition().getStage().getSymbol("yellow1").stop();
    sym = the button's timeline
    getComposition().getStage() = back to the stage's timeline
    getSymbol("xxx") = select a symbol's instance with name "xxx"
    Here is an example : https://www.box.com/s/h38s2oexqdumm46v4q7d
    I didn't used any global variable : may be you have a good reason to use it ?
    Gil

  • Using Flex components within Flash CS3

    I'm new to Flex and I enjoy all of the components that it has
    to offer, but I am wondering about their availability within Flash.
    My plan is to make a highly animated and interactive menu and
    I have reached a point where I have to ask two questions:
    1. Is is possible to use any of the Flex components within
    Flash CS3?
    2. If the first is not possible, then if I make my menu and
    specify "containers" within the Flash file then is it possible to
    populate these "containers" with Flex components by making the
    Flash (.swf) file of my menu into a Flex component itself?

    No, Flex components cannot be used in Flash 8.

  • Set image src within a symbol - How?

    I have created a symbol in Edge Animate, which contains a rectangle as view area and an image and text as contents of that view area. I want to set text and image src before I start the animation of the symbol. I can set "Text" with
    var thing = sym.getSymbol("mySymbol");thing.$("Text").html("I can set some text here to change the content of Text.");
    and when I start the animation of that symbol, the new text is used. Question now is, how I can set the image source for the item "Image" within that symbol. I have looked into the files Edge Animate creates, and the text as shown above is in a field called "text", while the name of the image is contained with other information in a field called "fill". I don't have a clue how to set the image source. Any pointers?
    I don't want to create 24 instances of something for an advent calender, I just want to have one, which I fill through JavaScript, before the animation is shown. All text and all images have almost the same size, so this should be doable somehow.
    The follow on question would be, whether the preloader loads all 24 images, because they are not actually referenced in any EA object...
    Thanks in advance!

    This tutorial (with sample file) should assist with what you are attempting to accomplish.
    http://www.gotoandlearn.com/play.php?id=168
    hth
    Darrell

  • Motion tween within a symbol (CS5)

    hi, im doing an animation (in CS5) for an independent art class and i had a question
    in short im trying to get a motion tween, which is within a symbol, to show up in the main animation
    i have a guy who is swinging a sledge hammer using the bone tool, and his hands and the hammer are one symbol.
    i want the hand in front to move up on the handle (which within the symbol is on its own layer and is already perfectly animated)
    unfortunately the animation within the symbol doesn't show up outside
    so im wondering how I can do this
    thanks in advance for any help you can give me

    the animation isnt well organized
    but here are some screen shots with the time line
    http://imageshack.us/f/848/timeline.png/
    http://imageshack.us/f/141/timeline2.png/
    the hammer with the hands is a symbol and within the symbol (2nd picture) i have the motion tween

  • Changing frames within a symbol

    Can anyone tell me how to change frames within a symbol, by using a button in the actuall stage. Every time I try searching for it, I get lost in half compleated answers, action script 2, and things that throw a ton of code and words and stuff at me, but never explain the parts of it. (Often also has losts of additional code that I probally don't need)
    I've got the button, but I need the function.

    I can see from your other posts you are familiar with coding a button, so... In your button event handler function you would use something like...
    symbolName.gotoAndStop(someFrame);
    where symbolName is whatever instance name you assign to the movieclip symbol and someFrame is either a number or a label for the frame you want to change to.

  • How can i add css styling to all elements within a symbol.

    How can i add css styling to all elements within a symbol.
    For instance.
    If i have a symbol call "data" and within this i have 4 elements called 1,2,3,4 how do i add styling to all these elements without having to re-write code for each element.
    I know i can style a symbol called "data" by :
    sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
    ...But this does not style the content of the elements 1,2,3 and 4
    If i were using standard CSS and HTML then all div's within a div called "data" would be styled the same.
    help "my friends of the code"

    Hi Justin,
    1) You have a syntax error here: sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
    sym.$("data").css({ "font-family": "baumans, sans-serif", "font-size": "15px"} ); // correct
    sym.$("data").css( "font", "15px baumans, sans-serif" ); //correct
    2) Then, loading the jQuery file is not required. You can create a class or change tags.
    How to add a class:
    Changing tags:
    You've got 2 demo files (Edge 5.0) here: class or tag.zip - Box

  • How to access a variable from within a symbol.

    How do I access a variable set outside a symbol from within that symbol?
    Thanks

    If you set a variable on stage ,say
    sym.setVariable("stageVariable", "I am stage variable");
    You can access it from within  a symbol using :
    var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
    Basically you need to get handle to the symbol in which the variable is defined.

  • Webdynpro components within SRM

    Hello all
        I want to access the webdynpro components within SRM Portal . How do I do that?
      Regards,
    Sanjeet

    Hi,
    > 1. Is it necessary to deploy webdynpro components SAP
    > ESS 600, SAP MSS 600 and SAP PCUI_GP 600 ?
    PCUI_GP is mandatory for both ESS and MSS,..
    So , if its ESS .. ESS 600 and PCUI_GP 600 should do.
    > 2. If in case these already deployed where i have to
    > check for thesde components ?
    You can check this in SDM. ess~component names..
    > 3. If in case these components are not deployed what
    > are the effects ?
    You will only have the webdynpro iviews in portal,, but the actual webdynpro application these iviews use wont be there.. So it wont work.
    Regards
    Bharathwaj

  • Forcing a symbol within a symbol to play out when a button on the main timeline is clicked?

    I have a buttons that play to symbols on the timeline. Once another button is clicked on the timeline the symbol will playout then start playing the next symbol. This is the code used on the onClick event on the introduction button.
    var current = sym.getVariable("current");
       if (current != "") {
          sym.getSymbol(current).play("out");
          sym.getSymbol("intro").play("in");
       else {
          sym.getSymbol("intro").play("shortIn");
       sym.setVariable("current", "intro");
    The problem I'm having is with the technology symbol. I have buttons within this symbol that link to other symbols. I would like these symbols to playout like the other buttons, but the content of the symbol stays on the stage and does not play out when I select a button on the Stage. Here is the code I have on the click event on the button within the symbol.
    var current2 = sym.getVariable("current2");
       if (current2 != "") {
          sym.getSymbol(current2).play("out");
          sym.getSymbol("optical1").play("in");
       else {
          sym.getSymbol("optical1").play("shortIn");
       sym.setVariable("current2", "optical1");
    Any help would be greatly appreciated. Thank you very much!

    Thank you very much for responding so quickly! When I do this all of the nested timelines play from the out label on their timeline. I want the one that is currently being viewed to be the only one that plays out, not all of the symbols within the symbol. Here is the code I'm using on the buttons on the main timeline:
    var current = sym.getVariable("current");
       if (current != "") {
          sym.getSymbol(current).play("out");
          sym.getSymbol("spec").play("in");
       else {
          sym.getSymbol("spec").play("shortIn");
       sym.setVariable("current", "spec");
       var techSym1 = sym.getSymbol("tech").getSymbol("techSym1")
             if (current = "techSym1") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym1").play("out");
       var techSym2 = sym.getSymbol("tech").getSymbol("techSym2")
             if (current = "techSym2") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym2").play("out");
       var techSym3 = sym.getSymbol("tech").getSymbol("techSym3")
             if (current = "techSym3") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym3").play("out");
       var techSym4 = sym.getSymbol("tech").getSymbol("techSym4")
             if (current = "techSym4") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym4").play("out");
       var techSym5 = sym.getSymbol("tech").getSymbol("techSym5")
             if (current = "techSym5") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym5").play("out");
       var techSym6 = sym.getSymbol("tech").getSymbol("techSym6")
             if (current = "techSym6") {
                sym.getComposition().getStage().getSymbol("tech").getSymbol("techSym6").play("out");
    If just techSym1 is being shown on the screen I don't want techSym2 and all the others to be shown going out at all, just techSym1.
    Thank you,
    Kristin

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • Lack of useful components for application developer :-(

    I want to share some remarks about our rewrite old Windows application to new AIR/flex application.
    If any Adobe staff will reading this it will be great :-)
    For colorfull web application with exotic buttons is Flex undoubtedly great choice.
    But there is many developers (and firms like us) who looking for something little different.
    We got bunch of Windows application written in Delphi. And we want (must) to move to another technology.
    AIR is superior in language, runtime, simple move-to-web, blazeDS, tools and ecosystem growth is promising.
    The only bad thing about Flex/AIR is UI. Yes, you hear right. UI is our biggest show-killer. And I am afraid that even with spark it will not be better.
    We wrote application not coloring-book.
    So we want only basic but state-of-the-art UI-standard componnets.
    ToolBar, CoolBar, Button with three states, Button with icon and auto-disabled-grayed-icon, etc..
    1) I found on the web three technique how to add icon on the spark button. Two of them include skinning. Absolutly confusing!
    2) No useful CoolBar. How long it takes make CoolBar like in Adobe Acrobat Reader or MS Word in my application? This is matters for me!
    I dont want two or three full-time developers extra for making basic components for us.
    In this point Silverlight got 100% lead. No doubt.
    http://www.componentone.com/SuperProducts/StudioSilverlight/
    http://demos.devexpress.com/AgMenuDemos/
    We still evaluate both technologies. We like Flex because is more JAVA friendly that SilverLight, but lack of usefull components will be final dead-end.
    Am so sorry.
    Know Adobe staff about this issues?
    Want Adobe application-developers or only web-developers?
    Planning Adobe making application components in the future or is satisfied with current state?

    One thing is what is technology is better for me. More jobs in the future.
    Another thing is what is better path for migrating a lot Delphi application.
    Is realy so hard to make simple, nice and usefull toolbar in Flex? I cant find anything. So maybe I must try myself :-(
    What you mean with "Microsoft can no longer execute on new technologies well"?
    My main question in previous post should be "what about lack of useful components".
    And I expected one of this answers:
    Adobe is happy with current state. Main Adobe bussines is colorful web-application.
    Adobe know there should be rich components, but now has no time. In the near future Adobe deal with it.
    I am dummy person and making great "toolbar" is easy as a piece of cake.

  • Why can't I use links within my email messages? When a link is clicked, nothing happens--it doesn't go to that specific website.

    Why can't I use links within my email messages? When a link is clicked, nothing happens--it doesn't go to that specific website.

    HI Ana ...
    I had FB working again two days ago, and yesterday in mid-serve Safari just "couldn't find the server" once more...
    That's a different issue...
    First, if you can just use English, open System Preferences > Language & Text then select the Language tab. Drag English to the top of the list then restart your Mac.
    Now for the server issue. Try using Open DNS. That shold help the "couldn't find the server" issue...
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these numbers exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    Try accessing Facebook on Safari now.

  • How to use bash within sqlplus?

    How to use bash within sqlplus?
    meaning I am doing something like this to look for files within a particular directory with some condition.
    N=0
    for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
    testarray[$N]="$i"
    echo "$i"
    let "N= $N + 1"
    done
    Output from above script is as follows:
    /d1/d2/d3/d4/waiting/abcd.txt
    /d1/d2/d31/d42/waiting/pqrs.txt
    /d1/d2/d32/d43/waiting/xyz.txt
    And now I want to input this data into database with help of insert.
    and here is the little pl/sql block to insert the data with looping thing.
    sqlplus $CONNECT <<-EOF
    DECLARE
    Counter integer :=1;
    BEGIN
    WHILE Counter <= ${no_of_files} LOOP
    INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
    Counter := Counter + 1;
    END LOOP;
    END;
    commit;
    exit;
    EOF
    Mapping is as follows:
    COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
    sysdate,d3,d4,abcd.txt,waiting
    sysdate,d31,d42,pqrs.txt,waiting
    sysdate,d32,d3,xyz.txt,waiting
    any idea how to do that?
    Edited by: user9274197 on Apr 28, 2013 5:09 PM

    user9274197 wrote:
    How to use bash within sqlplus?
    meaning I am doing something like this to look for files within a particular directory with some condition.
    N=0
    for i in $(find . -path \*/waiting/* -type f -not -name "SS*" -mmin +120 -print) ; do
    testarray[$N]="$i"
    echo "$i"
    let "N= $N + 1"
    done
    Output from above script is as follows:
    /d1/d2/d3/d4/waiting/abcd.txt
    /d1/d2/d31/d42/waiting/pqrs.txt
    /d1/d2/d32/d43/waiting/xyz.txt
    And now I want to input this data into database with help of insert.
    and here is the little pl/sql block to insert the data with looping thing.
    sqlplus $CONNECT <<-EOF
    DECLARE
    Counter integer :=1;
    BEGIN
    WHILE Counter <= ${no_of_files} LOOP
    INSERT INTO stuck_files(COL_DATE,SER_NAME,TYPE_FILE,FILENAME,FILE_STATUS) VALUES (sysdate,'pqrs','pqrs','pqrs','pqrs');
    Counter := Counter + 1;
    END LOOP;
    END;
    commit;
    exit;
    EOF
    Mapping is as follows:
    COL_DATE,SER_NAME,TYPE_FILE,FILEFILENAME,FILE_STATUS
    sysdate,d3,d4,abcd.txt,waiting
    sysdate,d31,d42,pqrs.txt,waiting
    sysdate,d32,d3,xyz.txt,waiting
    any idea how to do that?
    Edited by: user9274197 on Apr 28, 2013 5:09 PMhttp://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:439619916584
    Cheers,

Maybe you are looking for