ActionScript 2.0 :: XML Interactive Presentation - Populate These Field By XML, That Way?
Apr 19, 2007
I have a sort of "presentation" that is divided into frames--each side is on one frame.I want this to be an interactive presentation, so I want the user to have the ability to click on certain underlined blanks, and it reveal the word that goes in that sentence. I also want to be able to populate these field by XML, that way I don't have to constantly keep creating movie clips with text boxes in them--I'd rather just use a few MCs.
There are also cases where there are 2 or 3 interactive words to be clicked on a screen. I've been struggling with the fact that XML doesn't like frames.
View 1 Replies
Similar Posts:
Nov 10, 2010
I've to develop an interactive presentation for a customer and was thinking of flash.But I would like to have anyone opinion.Before this project, a dvd player was playing in loop a simple dvd video.Now, we would like to play an interactive video on a touchable device (http:url]....).The main menu will only present 4 button to play each video, any click on a playing video will return to the main menu.
First of all, will I be able to play a fullscreen video in high quality ? 1366 x 768 ? Which video format do I need ? FLV seem to be pretty poor quality ?
View 4 Replies
May 6, 2010
I am developing a presentation with data showing up through charts to run in a booth. It generally runs automatically. I want that to be interactive too. If somebody entering the booth want to check the data on clicking on the elements on the presentation.
View 0 Replies
May 24, 2010
i have a built a little interactive map for a client and have a series of movie clips contain contact details and email addresses when each city is clicked upon.I am using the mc tween prototype to alpha them in and out to make it look a bit more slick. The map_mc contains movie clips for each city (with an onClipEvent to populate a field in a pop up with the city name) which in turn contain an invisible button with (on) rollOver, (on)rollOut actions and (on)press actions for displaying the pop up and contact movie clips for each city.I have written a function that resets the email and web address buttons inside each contact movie clip (on)press which works fine:
[code]...
everything works perfectly apart from the lines in red. The enabled = true is simply not working. I have checked that the path is corrected by substituting _alpha = 30 and the email and web buttons
View 2 Replies
Feb 27, 2007
I would like to be able to dynamically populate a dynamictext field (assuming that's the best component to use) with anarray of data from PHP.I have attached my PHP code and my Flash Code.The PHP code is working fine and generating the array.The first part of the AS code is working as I can see thepop-up window with the PHP array in it. However, I can't figure outhow to get the array to display in the dynamic text box.I have created a dynamic text box in flash with nothing inthe 'instance name' box and 'events' in the var box.
View 1 Replies
Oct 21, 2009
I am using a gallery written in AS3.0 called SlicedCubeGallery. It used Flex to publish the gallery.I can edit the functions for the SlicedCubeGallery, and the one I am targeting is the one that swaps the images (which I have running on a timer).I am loading the whole gallery SWF onto my stage using this code:
var request:URLRequest = new URLRequest("slicedCubeGallery.swf");
cubeGallery_mc.load(request);
addChild(cubeGallery_mc);
[code]......
View 6 Replies
Aug 11, 2010
I have created animated presentations (since now, I have just videos) for my seminars at the university with cinema 4D and I added some effects with After Effects (CS5). Now, I want to build an interactive presentation. That means:
- The (video projector) presentation starts with a video in a loop.
- When I click a button on the mouse/keyboard, the video finishes the loop until the end and
- show a transition video and
- start the next loop and so on...
[Code]...
View 4 Replies
Dec 16, 2006
I have a detailed results page to which I want to post all the questions, answers, and whether the user answered correctly or incorrectly. All this information is stored in a multidimensional array and its successfully showing the results via the trace method.
My question is, what is the syntax for populating a dynamic text field with these results? Do I just write out one long line of AS with the newline command to separate the data? How would I go about applying bold to certain parts of the stored data that I will be showing?
Here is current code for my detailed results page:
function showResults(){
trace("Now showing results");
for(var i:Number = 0; i < NumberOfChallenges; i++){ //This calls the length of the original array (not the spliced copy)
[Code]....
View 1 Replies
Apr 14, 2009
I m trying to populate a text field (modelT) with the text corisponding to the "data" part of the selectedItem in the combo box. The "data" shows up correctly when i use:
modelT.text = event.target.selectedItem.data;
But i'm trying to call it with a "if" statement (in red) so later on i can dynamically populate the text field from multiple combo box's. am i missing something simple, here is my code:
import fl.controls.ComboBox;import fl.data.DataProvider;import fl.managers.StyleManager;
var cPurpose:Array = [code]..........
View 5 Replies
Apr 10, 2011
As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.
What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?
View 2 Replies
Apr 19, 2011
Populate my arrays using xml? I have two arrays[code]...
View 6 Replies
Mar 8, 2011
If I have a ComboBox component on stage and it has 11 options in it, is it possible to populate a dynamic text field with text based on which one of the 11 options are selected?ComboBox has instance name of 'age' and has 11 options to choose from (Opt1, Opt2, Opt3, Opt4, Opt5, etc.).There are also 11 dynamic text fields (instance and variable names of c1, c2, c3, etc.). I want the text fields to be blank unless the corresponding option is chosen. So, if Opt1 is selected from ComboBox 'age' then populate 'c1' with the number 1, if 'Opt2' is selected populate 'c2' with 2 and so on, otherwise the text fields stay blank.
View 34 Replies
Sep 16, 2010
i have a div which has a flash object embedded in it when the user hits the page the swf plays great.the thing is, is that once the swf is done playing.i want the div to be filled with other html info(ie div.innerHTML = "stuff").
View 1 Replies
Feb 14, 2010
I am trying to figure out how to write some AS code that creates a button using dynamic jpg's for the on, over and down states. I am sure this possible, but cant wrap my head around it.
I know I can use a loader to get the image, but how do i place it in a button's various states? The only state I understand right is that of confusion :-)...
View 2 Replies
Feb 13, 2006
I have been tasked with creating an online course evaluation form. This form will be used by our client students to give us feedback on the courses they take with us. I have two needs: ONSITE - I need a good tutorial on how to create a form in Flash that will populate a SQL DB. Students will complete the form when onsite at our HQ. This form will be on our intranet and will directly feed the SQL DB.
[Code]...
View 3 Replies
Jul 31, 2009
I have been creating a gallery for a client that changes preview images in response to thumbnail images being clicked, I have the basics working but now my client wants further interaction in some of the previews that include using buttons on the preview images that either open a web page in a new window or switch between more preview images. The problem is the new buttons that appear are embedded on the initial preview images (which are set as movies), and for some reason the interaction that has been added to these movies is stopped when run in another movie. Sorry if that sounds complicated!
[Code]....
View 3 Replies
Mar 4, 2009
I've been looking at this for four days and not getting to a solution. I've got an xml file with patent data, and a .fla that needs to populate a dynamic array of buttons. I've got a trace statement that shows that the xml is loading, and the first button appears, so I know the linkage and naming are correct. But for some reason I don't understand the button labels don't populate with the xml data.
View 8 Replies
May 24, 2009
just wondering how to populate the list component with XML. when an item is clicked it needs to execute the actionscript specified in the XMLmy XML looks like this:PHP Code:
<application name = "Something" actionscript = "gotoAndPlay(3)">
if that's not possible...are you able to call a function?
View 2 Replies
Jul 19, 2009
I would like to create a function that adds a child to whatever mc i choose like this where targetMc is the mc that i want the child (libraryMc) to be added to
PHP Code:
functionName(targetMc,libraryMc);
so right now my function looks like this
PHP Code:
function functionName(targetMc:MovieClip,libraryMc:MovieClip):void
{
var libContent:libraryMc = new libraryMc();
targetMc.addChild(libContent);
}
i know this is wrong as new libraryMc() is also being replaced with the libraryMc:MovieClip and that is probably why it's not working.
View 5 Replies
Jun 10, 2009
I'm trying to populate an XML object with infomation from a for loop. It seems that the info is going in as string information. [code]...
View 1 Replies
Jun 28, 2011
Given there is no tree component in Flash CS3, I used the following tutorial [URL] and managed to populate the tree from an xml file. However I am now finding it difficult to perform certain actions such as:
- adding/deleting items from the tree
- save tree back to xml format
- copy child nodes from one tree to another
View 2 Replies
Jul 11, 2009
I am getting return type as array from PHP. When I populate in my datagrid, the values are not coming...
var appSes:Array = event.result as Array
dg.dataProvider = appSes;
I am getting the values, from PHP is there anything other than this i have to do.
<local:CheckBoxDataGrid id="dg"
allowMultipleSelection="true" x="118" y="142" width="507">
<local:columns>
<mx:DataGridColumn dataField="firstName" headerText=" " width="20" sortable="false" itemRenderer="CheckBoxRenderer" >
[Code] .....
View 1 Replies
Nov 11, 2009
I want to load data from a external XML file, using a HTTPService, and on the ResultEvent of the same HTTPService i want him to populate a ArrayCollection with the data from the XML.
I think a ArrayCollection is the ideal for this XML.
XML
<?xml version="1.0" encoding="utf-8"?>
<PhotoGalleryData>
<Photo>
[Code].....
View 2 Replies
Jan 17, 2010
I'm just starting to learn flex and AS3I'm trying to get information into a datagrid that originates from a mathmatical formula. For example if I have 100 and I subtract 5 from it and continue to do so until it reaches 0 so my grid would be something like:
100 | -5
95 | -5
90 | -5
[code].....
View 1 Replies
Sep 8, 2011
there is a XML doc i recived from HttpService tag in flex.I need to populate a combobox with the ids content in xml doc.
xml doc is:
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title>JSP Page</title>
[Code].....
View 1 Replies
Apr 3, 2012
here is the xml data :
<root>
<recommendedMaterials>
<value label="Aluminium" data="0" />
[Code].....
The problem is that the whole xml gets populated. I just want the labels. :(
View 1 Replies
Jan 10, 2010
i have an SQL base where are short messages and senders ids stored, i need them to appear on the list in flash CS4 AS3 in 2 colums sender and message.The ammount of messages is always different, so how could i do that?
View 0 Replies
Aug 16, 2004
I trying to populate a combobox from a .php file and return the values of the selection. I have the .php set up to where it outputs something like
&artists=anartist,anartist2,anartist3, etc..they have names..
I already have the combobox set up to where it displays
anartist
anartist2
anartist3
after you click the dropdown arrow..How would I get it to return a the numerical value for the artist (ex: anartist would be "0" since it is first in the list) and put it into a variable so that when it is selected it could be placed into an eval() function to create a variable such as "albumcover0" to be loaded through a function. I have been reading tutorials for hours to no avail. I want a single function to produce the number from the selected artist and place it into a variable, then go through all of the loadImage(for the "album image") etc functions..they will be functions that I have made already previously and call all of them with the number in the called fuctions (ex: loadImage(0)) where "0" is the number derived from the variable out of the combo box. Ive tried tons of tutorials, I think that it has something to do with me using flash mx 2004, and as2 turned on.
View 9 Replies
Jan 21, 2008
for this feed: []URL how do i call this in my Flash file..for a simple local xml file- the code works and now that im trying to connect it with an external xml file.. does not work becuase the structure is different.. how do i populate a value from the above RSS into my news_txt textfield:
[Code]...
View 4 Replies
Nov 30, 2007
What I have atm is a combobox with types of products in it. How do I populate a new combobox using the product names from an external xml file? I've already loaded the xml file so I don't need that code. What I want is for the names of the products in the label and the child number in the data field (product.type.name[n] - I want n in the data field).
View 6 Replies