Can't Load External Swf CheckBoxes
Jan 11, 2010
I'm trying to load an external .swf that contains some checkboxes. The extenal .swf has a server-side script in applications folder on FMS3.When I load the external .swf in local, it works fine.If I load the external .swf in remote using an Apache Web Server, the external .swf is loaded but the checkboxes don't appear.
View 7 Replies
Similar Posts:
Oct 28, 2011
i'm making a flash quiz that is loading random images and you answer with checkboxes but i have some problems with them.you have 3 answers to choose from but how can i make it that you can only check 1 box at a time?i have tried this:
PHP Code:
while (stelling_1.selected){
stelling_2.enabled = false
[code].....
View 1 Replies
Mar 16, 2009
i'm building a form in flash as2 with PhP.I'm using checkboxes in the form, but when selected more than one checkbox, the output in PhP is only the last selected.I used code from a thread i've found here on the forum.I have 3 checkboxes: thursday_cb, friday_cb and saturday_cb, and one button butSubmit
This is the as:
Code:
thursday_cb.label = "Thursday";
o_thursday_cb = new Object();
o_thursday_cb.click = function (obj){
[code]....
View 2 Replies
Mar 30, 2009
I have checkBoxes within a scrollPane on the main stage. The buttons associated with those checkBoxes are also on the main stage (can't be withing the scrollPane). But I can't get the actionscript to work.
Checkbox for Blue (placed on main stage) work's fine Checkbox for Red is the problem one Instance = the instance name of the scrollPane Identifier = the Identifier name of the content within the scollPane
Code:
button.onRelease=function(){
if (chbox_BLUE.selected) {
BLUE._visible = true
[Code]....
View 1 Replies
Sep 28, 2004
I have a four checkboxes in my contact form. Here's the code in the function layer. I'm pretty sure this code below is correct. I believe the problem is my CGI-file (attachment).
[Code]...
View 1 Replies
Oct 20, 2009
I have an array called myArr which has 5 elements in it. I then generate checkboxes and the number of checkboxes are matched with the myArr.length(); I would like to be able to find out what checkboxes are check/selected before moving to the next screen. User will need to click on a "NEXT' button in order to move to the next screen. Next button is disabled until user selects the checkbox(s).
here is the code:
var cb:CheckBox;
captionArr:Array = new Array('img1' , 'img2', 'img3', 'img4', 'img5');
myArr:Array = new Array('c1', 'c2', 'c3', 'c4', 'c5');
[Code]....
View 4 Replies
Oct 7, 2009
I am working on a game it is almost complete. The problem that i am having is in the codes for the submit button and the checkboxes the pseudo code is:
1. player chooses two choices for each element listed
2. when the submit button is hit the checkboxes are given a number value
3. those values are added together and compared to the value pulled from the database
4. if correct they go to next substance - it should just reload frame 8 (i think)
5. if incorrect it goes to frame 11
the submit button is not working so i can not tell if the checkboxes are working The full files can be seen at [URL]
Code:
substance.text = myVars.substance;
sum.text= myVars.sum;
score.text = Score;
[Code]....
View 9 Replies
Sep 3, 2009
I am developing a form for handling access rights in a project.I use VsflexGrid7.0 and also Vb6.0.I thought that it would be good when I show 1 (has access) and 0 (doesn't have) via checkbox within my vsflexgrid(vsflexgrid1).Now, my problem is when I click on a checkbox for Insert access right, how to get control it's value ?
View 1 Replies
Sep 13, 2010
I have an ArrayCollection [{category: "fiction", title: "The Time Machine", author: "H.G. Wells"},...] of objects from which I want to create checkboxes that:Are divided into sections with section headersAre displayed horizontally, i.e. the checkboxes appear left to right and continue onto the following lineAnyone know how to achieve the following displayFICTION[] The Sleeper Awakes -- H.G. Wells [] The Time Machine -- H.G. Wells [] The Invisible Man -- H.G. Wells [] War of the Worlds -- H.G. WellsI tried using an itemRenderer, but it didn't quite achieve what I want:
<s:Panel id="catalogPanel" width="487" minHeight="300" title="Books">
<s:layout>
<s:HorizontalLayout/>
[code].....
View 1 Replies
May 11, 2011
How would I put buttons or checkboxes in a scroll pane so it will scroll.I tried adding them as children but they seem to be attached to the scrollpane but not inside. they do not scroll they just extend out of it?Is there a way to put content in a scrollpane besides text. The problem I'm trying to solve is dealing with a large number of checkboxes in a small area. The checkboxes are dynamically generated from the script.
View 1 Replies
Oct 11, 2010
Im creating and position dynamically created CheckBoxes from an array.The boxes are created. They are correctly positioned. They get the correct label text, and they are named box0, box1, box2 and box3.But setSize does not work.
Below is the script.
ActionScript Code:
var myArray:Array = ["oneoneone one one one one", "two", "three", "four"];
for (var i in myArray) {
this.createClassObject(mx.controls.CheckBox, +i, i, {label:(myArray[i]),_y:(i*20),selected:(false), _name:("box"+[i]), setSize: (500,22)});
}
View 1 Replies
May 10, 2011
Is there a way to put checkboxes or other content in some sort of rotation carousel or something that can flip through pages of checkboxes maybe a scrollpane? I am creating a UI with lots of checkboxes (or potentially other content) and I want the user to be able to flip or scroll through them. I already created some AS3 that creates the checkboxes dynamically. Would I add them as Children to another component? or is AddChild only for the stage?
View 0 Replies
Jul 18, 2006
I have Multiple checkboxes and a input box on a page and am trying to save there state to a SharedObject.
The Input text saves as per usual and I can output wether the checkboxes are selected to a another Input Text Field but this information will not save to the SharedObject - althought it will if i manually change the information.
View 3 Replies
Jan 12, 2011
I got a flash form going on and all the tutorials I've seen explain how to code the text fields and text areas but nothing about checkboxes. I have no idea how to code for the checkboxes that I'm using in the form. Here are a couple of screen shots for the code and the form
View 8 Replies
Oct 12, 2010
How would I get a drop downlist to populate with check boxes. I am porting a c# project to flex, and I would like to imitate the functionality of their checkbox drop list.
View 2 Replies
Aug 18, 2010
I am successfully inserted a PHP-script that communicates from the Flash-file. But the tutorial I found doing this, didnt have a guide on how to insert checkboxes in the Flash-file and how to configurate the PHP-script for more input objects.
In the first place I am interested in inserting checkboxes, would be glad if anyone had a good guide on how to further develope a email php script.
View 3 Replies
Jun 10, 2010
i dont know how to validate enabled input field by a checkbox.
I got 4 checkboxes each of them enabling/disabling its own input field when checked/unchecked. This for a little explanation of the user's choice. So i need to validate if the enabled input text has some text in it, if not, restrict the submit of the form (by button).
I tried something like this:
Code:
} else if (checkBox1_txt.enabled = true || checkBox1_txt.text ="") {
status_txt.text = "Please, explain your choice";
[Code]....
View 1 Replies
May 28, 2007
Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.
View 4 Replies
May 6, 2011
I have a Flex application that just load an external SWF, but the application load and unload infinitely my swf.
[Code]...
View 2 Replies
Apr 22, 2007
I am trying to get a nav button in one movie (main_nav.swf) to target a my main movie (index.swf) and load a sub nav movie (metals_subnav_infinite.swf) into it. The sub nav movie will do a similar task - loading a portfolio swf into main movie (index.swf). Here is the file breakdown of my working files:index.swf - main final movie which loads "main_nav_infinite3.swf" on startmain_nav_infinite3.swf - loads main nav "main_nav.swf" and scrolls it infinitely (infinite menu)main_nav.swf - main nav with buttons that trigger sub nav "metals_subnav_infinite.swf" to load into index.swfmetals_subnav_infinite.swf - loads sub nav "metals_subnav.swf" and scrolls it infinitelymetals_subnav.swf - sub nav with buttons that trigger "folio.swf" (have not created this file yet!) to load into "index.swf"The script I was focusing on is in main_nav.fla and it is:
metals_mc_bn.onRelease = function() {
reActivateMenu();
this.gotoAndStop(3);
[code].....
View 2 Replies
Sep 22, 2008
How to make custom radio buttons/checkboxes?
View 2 Replies
Oct 9, 2009
I have 3 checkboxes where the user can select whatever he wants. I would like to store his selection in the database into one field.
I was thinking of encoding it into a String:
0: nothing selected
100: first selected
101: first & third selected
etc.
I think that's a nice way. However, how do I extract the information again? Using substr() to get each checkbox's state?
Is there a better way of encoding/decoding this information?
View 1 Replies
May 6, 2011
I am trying to implement a list of checkboxes and a Android Form App I am working on. I want the list to only have single selection, i.e. I can only select one option from the list.... for some reason I can not find any code to do this, I am using Flashbuilder and the Flex framework?
View 1 Replies
Jul 26, 2011
I am using FB for PHP 4.5, ZendAMF, and I read that I do not need to use HTTPService for what I want to do.
Table structure:
people: {pID, pName}
departments: {deptID, deptName}
people_departments: {pID, deptName}
I have a slightly complex flex script, People.mxml. In the PersonAdd state, I have a form which will be used to send data to the mysql server. In that form , I have a repeater that will create a checkbox for every department in my database. When I click the Add button, I want to insert data into the people and people_departments tables.
[Code]...
[Edit] I am using an s:Checkbox and I do not have the data property. mx:Checkbox does but I cannot use the mx:Checkbox component in my project.
View 2 Replies
Jul 26, 2011
This is the code that does not work. The code required that I have the ID hard-coded in the checkbox tag.
<mx:HBox id="myHBox">
<mx:Repeater id="checkBoxRepeater"
dataProvider="{getItemsResult.lastResult}">
[Code].....
If I type a string for id, I get my array of checkboxes without problem and the labels are all fine. I need to get the id dynamic so that I can send the ID (itemID) bound to an itemName to the server.
View 1 Replies
Nov 26, 2011
making custom checkboxes/radio buttons. I have created one of each on the stage. The goal is to create each in a movie clip so that I can use them in various programs. As I am using these flash programs in an interface down the road, I have found myself to have trouble with the prebuild flash components. I would like to build my own. I would also like them to be able to only have one clicked at a time.
quick note: I have the buttons both changing their stages in movieclips. Frame 1 is the upstate and frame 2 is the down state.
View 1 Replies
Mar 4, 2012
Okay so this task needs to work like this:
1) Flash environment starts (as3 code base)
2) Flash receives data from xml
3) PHP tool inserts a dropdown menu of choices into flash environment.
4) Player selects from dropdown
5) PHP captures selections and writes to xml
So first of all, I dont want to do this another way, it has to be exactly like that. Now that having been said, i have accomplished the first two steps. Here is the extremely basic xml i am working with:
< LISTING HELMET="1" TORSO="2" PANTS="1"/>
This stores 3 string id codes which flash loads up. Inside of flash i load those three values and use them to index movieclips to their correct frame. This is done.
So now i need to write a PHP tool that creates three dropboxes on the flash stage, each box should list red, blue and yellow. When the player makes a selection in the dropbox the PHP tool needs to alter the three xml entries to record the player choice. Can you do this with PHP? Or do the dropdown boxes HAVE to be in AS3 and the PHP just be about transferring the data only? As a bonus, as the player makes his choices the PHP tool would update the variables in flash so the images change without rebooting the flash envronment..
View 1 Replies
Jan 19, 2009
How do you load external library objects from an external swf? I want to have an external swf that only contains library objects that are exported for Actionscript, and load these from the master .swf file dynamically during the master swf execution. (I may have multiple external swf resource files)I want to be able to load the external swf, and then access it's library objects via actionscript in my main swf file.
View 6 Replies
Nov 17, 2010
as3 is new for me, but i would like to write a script using loader to load an external swf, and control the external swf. But I find I can't control the swf, because there are no fixed instance name. here is my script.
[Code]...
View 3 Replies
Dec 23, 2011
produce some very simple checkboxes to insert into an elearning program.The Checkboxes he created before he left are apparently overly complex and refer to _root and/or _level0, which is a no-no for the elearning software.I've done some web searches to see what I can find but honestly I haven't felt this stumped since first year calculus.
View 3 Replies