Php ::use A PHP Tool To Provide A Series Of Checkboxes/dropdown Inside?

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


Similar Posts:


ActionScript 3.0 :: Add A Dropdown Inside A TextArea?

Dec 23, 2009

Is it possible to add a dropdown inside a TextArea?

I need to do this because I need to automatically add a scroll-bar if dynamic text exceeds height of TextArea and I understand that I cannot add a scroll-bar to a Rectangular Sprite Object.

View 1 Replies

ActionScript 3.0 :: Buttons Inside Of A 'dropdown' Menu Don't Work Right?

Jul 8, 2011

I have a 'dropdown' menu (that actually goes up...) with 4 buttons inside of it. The menu's bg is just a movieclip containing the buttons. The problem is, when you mouse over a button the dropdown menu retracts. How do I get flash to consider the buttons to be part of the background, so it doesn't think you're mousing out when you try to hover over the buttons?Heres a link to the FLA and some of the code. I've been trying to get it working for over five hours and I'm getting extremely frustrated.FLA: [URL]

View 5 Replies

Flex - Custom DateField Component With ComboBox And Clear Button Inside The Dropdown Calendar?

Jul 31, 2010

i inserted a dateField component.on clicking it displays calender, i would like to add 2 comboboxes, i shows hours(0 to 23) other for minutes (0 to 59) to calender so tht the user can select the time along with the date and that wil be displayed in the text input as date and Time. one more thing i would like to add is clear button to clear the selected date to the calender.

View 1 Replies

ActionScript 3.0 :: Recreate Pen Tool Inside It?

Mar 4, 2012

I've been looking all over with no luck for a way to code the pen tool in AS3. What i want is, in the flash application, the pen tool as it functions in Flash itself. So, for example, i push Ctrl + Enter and test my program, then can use the mouse to click and create a point, click again and it connects with a straight line, or click and drag to create a curve. I don't need anything like hinges where you can go back and edit curves, i just want the click/click drag line functionality.

View 6 Replies

Flash :: Tool Or A Way To Open SWF File To See What's Inside?

Mar 9, 2011

I'm doing some experimenting to try and get the file size smaller and I need to open my swf to make sure some components didn't embed them selfs within the swf. Is there a tool, or a way to open swf to view the contents inside the swf? Such as winrar (which doesn't work) or something of that sort?

View 2 Replies

Professional :: Draw A Triangle And Then Fill The Color Inside Using The Paint Tool CS4

Oct 13, 2010

Trying to draw a triangle and then fill the color inside using the paint tool. I am not able to fill any color inside. Made sure the lines are overlapping, tried using the fill large gaps, made sure alpha is set to 100%.

View 3 Replies

ActionScript 2.0 :: Menu Navigation System - Dropdown Appears And Returns When The Dropdown Returns

Jul 15, 2004

I'm having with a menu navigation system. I'm using Flash MX. I have created a menu system for the site I'm building ([URL]) where one of the buttons "Choose photographer" drops down a list of names. All the other buttons just jump to another page. The drop down is currently using tweens also the logo moves to the left as the dropdown appears and returns when the dropdown returns. All working fine apart from its a bit jerky.

It's I just wanted to get away from tweening and use action scripts instead, as I'm a newbie to all things Flash I trawled the net for tutorials and examples so that I could cobble together the exact same effect. I have managed to get the drop down work and return using the action script and it does seem smoother and works slightly better. But can I get the logo to move to the left and back in time with the drop down...no.

View 1 Replies

ActionScript 1/2 :: Buttons And Dropdown Menu - Roll Be Able To Select Anything From The Dropdown Menu?

May 7, 2009

I'm creating a webpage, and I have made some buttons.Image 1 is the homepage, which is frame 1 in Flash.Image 2 shows that when I rollover the button "Portfolio,"I get a dropdown menu.I have this set as frame 3 in Flash.Image 3 shows that I've gone down the dropdown menu and rolled over "Photography." But if I rollout of any of the things from the dropdown menu, it stays at Image 2 (Frame 3)with the dropdown menu visible. Which is a problem...I want to be able to rollout of these buttons to revert back to the homepage, Image 1 (Frame 1).But, for instance, telling "Graphic Design" to go to Frame 1 on rollout means that if I try to go below "Graphic Design" to "Photography," I've rolled out--and so the rest of the menu disappears.So I want to roll be able to select anything from the dropdown menu, and only rollout to Frame 1 if I go outside the entire dropdown menu, not just one button.

Attachments:
3.jpg
(134.5 K)

View 5 Replies

Files Not Saving With Deco Tool Or Spray Brush Tool Selected?

May 6, 2009

I found that .fla files do not save in Flash CS4 when the Deco tool or Spray Brush tool is selected. Is this a bug? Or is there a workaround to this issue.

View 3 Replies

ActionScript 3.0 :: Remove / Disable Tool For Objects Using Transform Tool

Jul 6, 2009

Working with senocular Transform Tool - How to remove/disable tool for objects Im new to AS3, and i have to use it for my current project. I have used the AS2 Transform tool extensively, but needless to say, the AS3 version works entirely differently.
The way i understand it, the tool applies to and every Sprite , movieclip on stage

[Code]...

View 2 Replies

Professional :: CS4 Brush Tool "paint Inside Mode"

Nov 17, 2010

When I use the Flash CS4 brush tool in "Paint Inside" mode it erases part of the strokes around shapes. For rectangles it erases the stroke on the top and left hand side where the brush head crosses it, though it never seems to affect the other sides. The effect is less consistant with ovals, but it breaks the strokes at some points. I am using Flash CS4 version 10.0.2 on Windows XP, and I have checked for program updates through the Help menu. Here are two examples:

View 2 Replies

Flex :: Provide Functionalities For Buttons In F3?

Nov 25, 2010

I am new to flex. I want to create some buttons and when v click on that button, it should open some images. how to give this functionality in flex builder 3.

View 3 Replies

ActionScript 1/2 :: Provide A Reflection For The Images (movieclips)?

Jun 10, 2009

I am trying to provide a reflection for the images(movieclips) that I loaded on the stage. For this purpose I am using a reflection class. The class can be used with action script 2. the reflection is working finely. Also after loading the image or movieclip, I tried to give tweening for that image or movieclips. Thus also it works finely. The reflection of that also moves along with the actual image. The problem comes with the resizing the actual image. If I resize the actual image, the reflection would not be seen under the actual image.Can anybody know why it may happening like that. After searching for a long time, I got this class.But unfortunately, the reflection would not be working when the image or moviclip resizes.

View 8 Replies

Professional :: Provide Flv Player .swf File To Use In Html

Mar 18, 2010

I have an flv file. I need to embed this flv file in my html page.I found this on internet

[Code]...

View 1 Replies

Java :: Sometime Provide Option To Install Flash And Sometime Not

Dec 27, 2010

In my web application i am facing a weird problem. In jsp there is code for Brightcove video player. For playing this you need flash with Internet Explorer 8. While running this jsp page it sometime provide the option to install flash and sometime not. But what i want that every time it must show the option to install flash at the client side if the flash is not available. Something like this

View 1 Replies

Actionscript 3 :: Provide The Labels With A Set Of Array Elements?

Nov 4, 2011

In Hslider,we use Labels="[0,1,2]" . How to provide array by giving the array name.ex:In AS3 we defined array

arr:Array = new Array[0,1,2,3,4];

In Hslider if I write

Labels="{arr}"

I am not able to see the arr values on the slider.

View 1 Replies

ActionScript 3.0 :: XML - Image Gallery Using Xml To Provide The Images And Nav

Jul 5, 2009

XML Gallery Nav. ? I'm working on a image Gallery using xml to provide the images and Nav. This a shortened version of how the xml looks

[Code]...

View 1 Replies

Flash :: IDE - Detect And Provide Alternative Content

Feb 24, 2010

I've tried all kinds of different ways to detect flash, and provide alternative content where the viewer doesn't have or doesn't want to download flash player. I want the viewer to see alternate static content on the same page if they don't have flash. I just can't seem to find the one definitive answer that works every time! I tried: [URL] but this seems to require installation of Adobe AIR which I have no idea what it is!

View 3 Replies

Bone Tool Combined With 3d Tool?

Oct 29, 2009

im making a bone animating system in flash but then i want to give it a more vital animation by manipulating its z y x position how is it possible using the 3d tool?im doing everything needed but when i get to that point nothing seems to work,i dont get 3d tool options.

View 2 Replies

Professional :: Template Site - Update XML And Provide New Assets

Jan 27, 2010

I had someone create a template site for me that is pretty simple - a single swf that pulls resources from a directory of xml files and assets. In theory, I should be able to update the xml for my site and provide new assets. I know some code and within the xml there are some <font> tags that over ride the swf's formatting or provide and href.

My problem is that I now have to update our logo, which is hard coded into the source .fla file, which I know how to get in and swap out (the guy who did the work is not available). My problem is, when I publish, the new swf with the new logo does not want to read the <font> tags anymore. I have tried everything and I can't crack this. I've narrowed it down to two possibilities:

1. Something in the Publish settings, though I've tried every conceivable variation to no avail.
2. Something in the .as file that defines page template.

I know I need to provide more info but this is a start. I'm working on a Mac (as was the coder) and we were both using CS4.

View 6 Replies

Professional :: Provide Alternative Image If Flash Player Not Available?

Jul 8, 2010

I`m designing a site with an interactive header created in Flash. how to display an alternative image (a .png) in it`s place if a user doesn`t have the Flash Player? Of course, this is especially important for visitors using iPhones! The site logo is part of the Flash movie, which makes it all the more important that something is displayed in the movie`s place. I`ve heard their are ways of doing it with Javascript, but is this really necessary?

View 2 Replies

Flex :: Provide Links To Items In A Spark List

Mar 4, 2011

[code]I want to extend the list with hyperlinks. For example in every node I should have an href attribute also. Then I need to redirect users to the selected item. I know Flash has the URLRequest class. The little problem I have now is to get the selected item. It propably is because of the dataprovider is xml and I haven't done the correct casting.

View 2 Replies

Flash :: IDE - Accordion Style Website - Provide Feedback

Oct 7, 2009

I have been requested to create a website similar to the one on this page: [URL] I'm familiar with flash and some actionscript, but would anyone be able to provide feedback on how this site would be best be done?

View 2 Replies

ActionScript 3.0 :: Server Network Bandwidth Is Too Small To Provide Service?

Sep 25, 2010

My  server network bandwidth is too small to provide service for many  people.so I cached my app. - App. size is 4mb, I *try* to reduce size  but app. have many embeded resources. - It's working good on my test  & dev. and most browsers. but some browsers have problem already  known. I read many articles and blog.

[Code]...

View 1 Replies

Professional :: Provide An Option To View A Site In Flash Or Html?

Oct 13, 2010

if there was a way to provide an option to view a flash site in html.
 
The site is currently built in flash, but have had feedback from people trying to view the site that they need flash player 10, is there any way to have a link option on the page that asks you to download the latest flash player, to view the site in html (html site has also been developed).

View 5 Replies

Media Server :: Storage - Third-party Encoder To Provide A Way To Record?

Nov 2, 2011

I use third-party encoder to launch RTMP stream to FMS, but there is no way to record thestream, there is no third-party encoder to provide a way to record?

View 2 Replies

ActionScript 3.0 :: Provide Feedback To User When They Click On Copy To Clipboard Button?

Aug 21, 2011

I used code that kglad suggested to add a button that copies the embed code for a SWF to the user's clipboard:

clip_btn.addEventListener(MouseEvent.CLICK,clipcopy);
function clipcopy(e:Event):void{
Clipboard.generalClipboard.setData(ClipboardFormats.TEXT_FORMAT, s);

[code].....

View 1 Replies

PHP :: Securely Provide Unique Secret Code To Winner Of Flash Game?

Feb 15, 2011

Here's what I want to do: when a player wins a game (coded in flash/actionscript), they are given a personalized secret key, which they can email to me in exchange for a prize. I can then validate the key on my end using a private algorithm. I need to design it so that it is practically impossible for hackers to generate a valid prize key without winning the game.

I assume that any SWF file is basically vulnerable to decompilation, but I don't know exactly how vulnerable they are. Perhaps any algorithm for generating a valid key will be accessible to hackers? I have at my disposal all the methods in actionscript 3, as well as a PHP/MySQL server, and I control the server where the game will be hosted.

View 5 Replies

ActionScript 2.0 :: Checkboxes: Select More Than One?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved