Interactivity and Actionscript 3

I encounter difficulties with actionscript 3 and I don't know
what happen.
Can you check and help me ?
the website is www.challengeecricome.fr
Thanks for all.

stop();
bcamera_btn.addEventListener(MouseEvent.CLICK, camera);
function camera(pEvt:Event):void
var tv:URLRequest = new URLRequest( "
http://www.challengeecricome.fr/tv.php"
navigateToURL ( tv );
bfacebook_btn.addEventListener(MouseEvent.CLICK, bfacebook);
function bfacebook(pEvt:Event):void
var facebook:URLRequest = new URLRequest( "
http://www.facebook.com/home.php#/event.php?eid=28546354142&ref=ts"
navigateToURL ( facebook );
bcontact_btn.addEventListener(MouseEvent.CLICK, contact);
function contact(event :MouseEvent) : void {
gotoAndStop("label1");
bphone_btn.addEventListener(MouseEvent.CLICK, phone);
function phone(event :MouseEvent) : void {
gotoAndStop("label2");
bmouette_btn.addEventListener(MouseEvent.CLICK, mouette);
function mouette(event :MouseEvent) : void {
gotoAndStop("label3");
bconcept_btn.addEventListener(MouseEvent.CLICK, concept);
function concept(event :MouseEvent) : void {
gotoAndStop("label4");
becricome_btn.addEventListener(MouseEvent.CLICK, ecricome);
function ecricome(event :MouseEvent) : void {
gotoAndStop("label5");
bfootball_btn.addEventListener(MouseEvent.CLICK, football);
function football(event :MouseEvent) : void {
gotoAndStop("label9");
brugby_btn.addEventListener(MouseEvent.CLICK, rugby);
function rugby(event :MouseEvent) : void {
gotoAndStop("label10");
bbasket_btn.addEventListener(MouseEvent.CLICK, basket);
function basket(event :MouseEvent) : void {
gotoAndStop("label11");
bhandball_btn.addEventListener(MouseEvent.CLICK, handball);
function handball(event :MouseEvent) : void {
gotoAndStop("label12");
bvolleyball_btn.addEventListener(MouseEvent.CLICK,
volleyball);
function volleyball(event :MouseEvent) : void {
gotoAndStop("label13");
btennis_btn.addEventListener(MouseEvent.CLICK, tennis);
function tennis(event :MouseEvent) : void {
gotoAndStop("label14");
bplace_btn.addEventListener(MouseEvent.CLICK, place);
function place(event :MouseEvent) : void {
gotoAndStop("label16");
bpartenaires_btn.addEventListener(MouseEvent.CLICK,
partenaires);
function partenaires(event :MouseEvent) : void {
gotoAndStop("label19");
bhome_btn.addEventListener(MouseEvent.CLICK, home);
function home(event :MouseEvent) : void {
gotoAndStop(2);
bchallenge_btn.addEventListener(MouseEvent.CLICK, challenge);
function challenge(event :MouseEvent) : void {
gotoAndStop("label4");
bsports_btn.addEventListener(MouseEvent.CLICK, sports);
function sports(event :MouseEvent) : void {
gotoAndStop("label8");
bplace2_btn.addEventListener(MouseEvent.CLICK, place2);
function place2(event :MouseEvent) : void {
gotoAndStop("label16");
bpartenaires2_btn.addEventListener(MouseEvent.CLICK,
partenaires2);
function partenaires2(event :MouseEvent) : void {
gotoAndStop("label19");
}

Similar Messages

  • PHP and Actionscript 3

    I want to dynamically change the tintColor of a movie clip,
    named toolboxMC_bg based on the value of a php variable $style set
    in s3.php. I'm using actionscript 3. Please help. I just don't know
    how to get flash to get the value of $style. I have attached the
    code I have so far. Thanks.

    I feel that the problem lies with the actionscript not
    receiving the php variable. I have changed the php to read the
    cookie value. Please help! I get no errors in the browser and I get
    undefined in the output window. However I do expect to get
    undefined because I don't expect that flash could read the cookie.
    That part actually makes sense. I know that the color change area
    of the code works because if I change the default value I see a
    change in color. Flash just cannot read my variable for some
    reason. When you view the php page in the browser it successfully
    reads the cookie and shows (in this case the cookie is red)
    flashstyle=red. I have attached the php and actionscript.
    Thanks.

  • Black screen is in interactive and interactive text (console) mode

    I want to install Solaris 10 on HP Proliant DL380 G5. After installing drivers for Smart Array (from CPQary3.iso) I can't see this:
    "Starting Solaris Interactive (graphical user interface) Installation.
    You must respond to the first question within 30 seconds or the installer
    proceeds in a non-window environment (console mode)".
    The screen now is black in both modes: interactive and interactive text (console)
    If I don't install CPQary3 then graphical user interface works good, but "No disks found" :)
    What can I do with it?
    Edited by: Blutang on Jan 14, 2009 2:07 AM

    well the problem has been solved...hope this may help others having this issue.
    i basically just let the battery run out, then connected the ipod to my laptop and voila...it reset and all is well again...
    pretty random, but glad it is all working again.

  • What is interactive report , difference bet interactive and classic report

    what is interactive report , difference bet interactive and classic report

    Hi
    Check this thread to get more idea about ALVs.
    Interactive ALV
    DIRLL DOWN AND INTERACTIVE REPORT
    http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    AT LINE-SELECTION
    AT USER-COMMAND
    AT PF<key>
    TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    http://abapprogramming.blogspot.com/search/label/INTERACTIVE%20REPORT%20BASICS

  • Number of Classical , Interactive and ALV reports in Project.

    Hi,
    I am new to ABAP.
    Can anybody please  tell me how many Classical , Interactive and ALV reports will be there in a approximate one year span of project ? and how many input parameters ( Select-options) will be there in a report. if you send the some sample input parameters in a report how it looks in real time will help  me to practice and for the interviews.
    Thanks,
    Maanasa..

    Maanasa,
    Welcome to SDN
    It entirely depends upon the project, on  your team and on the specs of the requirement....
    From interview point of view no body is going to ask u such questions, becz there is no specific answer for such question.
    ~~Guduri

  • Write to and read from TCP/IP address using Flash and Actionscript

    Hi,
    I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
    Please help. Thank you

    bump
    Please! anyone! HELP

  • Differences between PDF (Interactive) and PDF (Print)

    What are the main differences between PDF (Interactive) and PDF (Print)?
    Now it seems to me that PDF (Interactive) is limited version of PDF (Print).
    Any links to read about this topic?
    Thank you in advance,
    Mykolas

    There's actually quite a few differences between (Interactive) and (Print).
    Here's a list of pointers written by Michael Ninness (previous product manager of InDesign and now working at Lynda.com) http://www.lynda.com/michaelninness
    I just got premission from him to post this (Thanks Michael!):
    Here is some info for you regarding what choices are being made under the hood when you choose File > Export > Adobe PDF (Interactive).
    Things that just happen or are included, with no choice in the dialog box:
    Hyperlinks, Bookmarks, Fast Web view, Compress Text and Line Art, Crop Image Data to Frames.
    Things that are not included, with no choice in the dialog box:
    Visible Guides/Grids, Hidden and Non-Printing Layers, Hidden and Non-Printing Objects, Marks & Bleeds, No Ink Manager or Simulate Overprint options.
    Things that you can choose:
    Security Settings, Embed Page Thumbnails, Create Tagged PDF, Create Acrobat Layers, Initial View, Initial Layout, Open in Full Screen Mode, Page Transitions, Image compression and resolution.
    Other:
    Fonts: Subset 100%
    Color Conversion: Destination
    Destination: sRGB
    Profile Inclusion Policy: Include Destination Profile
    Transparency Flattener: No Flattening
    And lastly, Compatibility is set to Acrobat 9 (PDF 1.7). This last point is important, and largely explains the main reason we split Interactive PDF out as a separate export choice from Print PDF. When you export an interactive PDF from CS5, included media is now written out to the Rich Media Annotation Layer, which means this content is played back via the embedded Flash Player within Acrobat Pro 9 or Adobe Reader 9 or higher. In previous versions, this content was written out to the Screen Annotation Layer, which meant this content was played back via QuickTime. This has been a long-standing headache for end users as playback across platforms was often inconsistent, would frequently break when Apple updated QuickTime, etc.
    Lastly, if you want to include rich media in your interactive PDFs (SWFs, audio and video), the only formats supported if you want to target Adobe PDF (Interactive) are MP3 for audio and FLV for video. Other file formats will need to be converted to these formats before you export to Interactive PDF. For video files, you’ll be able to convert to FLV with Adobe Media Encoder. For audio files, you can use any number for free audio conversion tools, including iTunes.
    Harbs

  • Code beautifier for MXML and ActionScript?

    How do people reformat ugly code in FlexBuilder? I can eaisly
    format my Java, JSP, and XML in the same Eclipse environment, but
    why not MXML and ActionScript? I am very surprised this feature is
    missing. It's quite common that I copy code snippets from somewhere
    to FlexBuilder which are not well formatted.

    Hey guys, Be patient...
    Don't forget the years of Java development that have advanced
    Eclipse, not counting the 40 mil or so in prior development that
    IBM donated when they ported and open sourced their Visual Age
    product line. I used VA it back in 96 and it was slow and clunky,
    and never would have sold against Borland's Java products.
    I'm sure the decision was consciously made by Adobe product
    management to get core feature functionality out and concentrate on
    other stuff for the next release.
    The FLEX team has done a great job and for some who have ever
    been under their delivery schedule for the size of this
    undertaking, many can appreciate how well they have done.
    Also, considering that many eclipse plugins that are free are
    worth what you pay for them (I have tested quite a few), the paltry
    $700 bucks for FLEX and the fact that it has a great debugger and
    profiler makes it worth it.
    One final opinion, no matter what anyone says, software is
    not free. You pay in time, learning curve, more time, and
    sometimes, just plain old tail chasing!
    I'm not really being critical, both of you have valid points,
    just be patient, they'll get there.

  • How do you create a brochure for a website that is interactive and opens like a real brochure?

    I've created a brochure in Indesign. I can make it interactive and have the pages turn like a book, but I want it to open like a brochure. How can I do this and with what program?

    Next we'll want folding pieces represented on a screen that represents the unfolded piece of paper behaving like a pdf, behaving like a folded piece of paper.
    It's like inception!
    I use BoxShot 4 - you can save a 3D pdf.
    It doesn't allow folding - but gives it a good idea.
    https://dl.dropboxusercontent.com/u/17210757/test.pdf

  • Combining scored interactions and questions - navigation settings

    I'm trying to get to grips with the way the Preferences > Quiz > Settings > Requried options work when my quiz combines both scored interactive objects and questions.
    I'm currently using Cp4 but would be interested to know if Cp5 behaves the same.
    Am I right in thinking that the effects of the different options are:
    Optional
    The learner can scrub back and forth with the playbar as much as they like without restrictions.
    Required
    The learner can scrub back and forth without restriction, but only up to the last slide with a scored interaction or question. To get further into the lesson they have to click any one of the previous scored interations, or submit a single question answer (wrong or right).
    Pass Requried
    I couldn't figure this out at all! I set a pass score, had a load of scored interactions and questions, but the learner could scrub right through the slides with scored interactions into later slides that weren't scored. Ah well, good job I'll be using the LMS to manage pass/fail
    Edit: Oh, it looks like this only comes into play if I select 'show score at end of quiz' - you can only ontinue past the results page if you achieve the pass score.
    Answer all
    Learner can scrub to the end of any slide with a scored interaction or question, but to get to the next slide must either click the interaction or submit an answer (right or wrong). And if the next slide also has a scored object, repeat. Once they've 'unlocked' a slide they can scrub out and back into it in the same session.
    Any observations on that?
    Obviously learners won't be able to scrub back if backward movement/review is disallowed.
    Incidentally, I did notice that the point Cp locks the slide seems on 'answer all' to have some very odd properties. If I removed the pause from the click box, or the learner clicks play at the pause, then it carries on into a kind of phantom frame - with no captions or slide background - but the click box still works, if you know where on the screen to aim for!
    Does anyone know a way to modify that locking frame to provide some info for the learner on what they need to do to progress?
    Thanks

    Hi BrightonJon
    For the back movement there is an additional field. "Allow Back Movement" (or close to that)
    Required only mentions that you cannot skip until you have answered
    Pass Required means that you have to answer it correct to continue
    These are about single questions.
    A locking frame often happens at strange places. I have it most often using advanced actions.
    Best TD

  • Interactive and basic lists

    Hi Gurus
    What are the differences between Interactive and basic lists.When and where we using those.
    Regards,
    Venkat.

    Hi,
    Basic list is the first list what we get after we execute a report or program , which will have the list index 0.
    The lists what we get in at line selection are called as Interactive lists or detail lists,
    we can have maximum of 20 secondray lists(detail lists) and always there will be one basic list (if list is generated)
    Cheers,
    Babu.

  • Captivate 7 Web Interaction and HTML5 (Mobile Devices)

    Hi All
    Does anyone know if the Web Interaction widget introduced in Captivate 7 will work in HTML5?
    I try testing it in HTML5 from Captivate, and it does not work. Only the border and the loading animation show up, the website never actually loads.
    I read in another post that you may need to upload it to a web server to work. If this is true, will it work if I publish it to an app on mobile devices? I use phonegap to push Captivate projects onto mobile devices, and currently it is not working when testing on iOS devices. Does anyone know what the problem is?
    Should I look at this instead? http://captivatedev.com/2012/08/07/adobe-captivate-6-x-widget-web-page-widget/
    Or will I have the same problems?
    Cheers
    Lewis Carey

    Here is the reply (in bold) I got from Suresh Jayaraman from Adobe when I logged this as a bug.
    "The issue you are facing has nothing to do with SCORM setting. Probably you might have heard about Click Jacking , One of the ways web sites prevent themselves from this attack is by not displaying when loaded in a Frame or iFrame. They achieve this by setting the X-Frame options. They website you were trying to load in Web object was Adobe forums which has this protection and it is the case with some other websites like Google.com, facebook.com as well. As Web object interaction on run time loads the website in an iFrame such protected websites when loaded doesn’t show up."
    "I have attached a test file which would help you to determine whether the website you are loading is Click Jacking protected or not. Change the website address and launch the page from a web server and if it loads all is well, it would load in your Web Object interaction as well. Now enable reporting and try the same page from SCORM.com and It should display the page."
    The test file he is referring to is a html file. Since I cannot attach the file here, I am copy-pasting the source code:
    <html>
       <head>
         <title>Clickjack test page</title>
       </head>
       <body>
         <iframe src="http://www.google.com" width="500" height="500"></iframe>
       </body>
    </html>
    To test, first I changed the website address in the above code to that of Adobe forums. When I had inserted this site in my Web Object interaction, this site failed to show up (see my previous posts). When I launched this test file shared by Suresh from a webserver, the result was same... the site did not open.
    Next, I changed the website address to http://infosemantics.com.au. This site worked in Web Object Interaction and it worked here as well.
    I did not test it in SCORM Cloud as I was convinced by the reason Suresh provided. (I hope I am not wrong.)
    Sreekanth

  • Interaction between Actionscript 2 apps and Actionscript 3 app

    Hi,
                  I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
    Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
    To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
    The Actionscript 3 app is in flex.
    So, please suggest the best options, One I know is LocalConnection class.
    Is there any other better way to interact between as2 and as3.

    It will be easier to rewrite the whole lot rather than try and manage intercommunication between as2/3 in a project with a lot of interdependencies between swfs.
    If you try and continue the project, as described with a mix, you are in for a lot of pain.
    Essentially you will be writing a communications protocol for the interactions between each swf and the main AS3 project. It will be a mess.

  • Interaction between Actionscript 2 application and Actionscript 3 application

    Hi,
                  I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
    Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
    To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
    So, please suggest the best options, One I know is LocalConnection class.
    Is there any other better way to interact between as2 and as3.

    there is no other way to communicate between as3/as2 swfs in real time.

  • Timeline Animation and interaction with ActionScript

    A simple timeline animation, runs fine but stops suddenly onRollOver action.
    car.onRollOver = function():Void {
         this._width -= 5;
         this._height -= 5;

    I could duplicate what you describe and cannot explain why it stops entirely, but it does.  If you follow the approach I described where the animation is separate from the code, it can do what you seem to want.
    Maybe someone else can explain what gets broken when you take your approach.

Maybe you are looking for

  • Upgrading to latest IOS on my iPhone and iPads appears to have ruined the ease of using airplay

    Airplay used to be just playing a video and hitting the drop down box to select my apple TV, then I allowed the latest IOS version on my iPhone and iPads...now the drop down box at the video (you tube, etc) is gone and I have to swipe UP on screen to

  • Saving mouse drawing data in xml and reterive it for edit in as3 flash

    i am wroking in action script 3 with flash i need to save mouse drawing data in xml and retrive it later for edit purpose i have found a good technique -http://memo.tv/drawing_and_exporting_svg_from_flash_as3 here but not able to make sure how to sto

  • Why cannot I not uninstall itunes

    Itunes has been installed and uninstalled on my computer several times, however now I cannot uninstall or install Itunes, Bonjour or mobileme.  when I click on the itunes icon, an alert states it is missing some files and to reinstall itunes, when I

  • Special procurement in SRM

    Hi All Can the special procurement processes like Sub contracting, Consignment, third party PO and STO be handled in SRM ? if so , can anybody pls tell me how to go about it? Thanks Rashmi

  • Performance Manager Problem with Starting

    Hello I am new to Administration and have a proplem in OEM Diagnostic pack related with Performance manager, any help in this regard is highly appreciated... I am not able to start datagatherer on my system with windows 2000 professional edition. eve