Need help for flash builder
i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for any slider event and classes in this program but cant find any, btw, i need to use the AS only project file.
here is my codes:
can you please tell me how i should modify the codes?
package
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;
import org.papervision3d.materials.BitmapFileMaterial;
import org.papervision3d.materials.BitmapMaterial;
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.BasicView;
[SWF (width="800", height="600", backgroundColor="0x000000",frameRate="30")]
public class EarthBitmap extends BasicView
private var sphere:Sphere;
public function EarthBitmap()
super(800 , 600);
var earthmaterial:BitmapFileMaterial = new BitmapFileMaterial("../assets/Earth.jpg");
sphere = new Sphere(earthmaterial,100,20,18);
camera.fov = 25;
scene.addChild(sphere);
addEventListener(Event.ENTER_FRAME,rotateSphere);
public function rotateSphere(evt:Event):void
sphere.yaw(0.2);
singleRender();
Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
Something like this:
<fx:Script>
<![CDATA[
var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
function buttonClickHandler(event:MouseEvent){
var randomProblem:int = Math.floor(Math.random()*(questionsArray.length)); //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
navigator.pushView(questionsArray[randomProblem]);
]]>
</fx:Script>
<s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
Haven't tested that, but something along that line should work
Similar Messages
-
Need help for Flash quiz with score and timer
Greetings, I need to urgently create a flash
game with 10 questions, 3 answers per question. At the end of the
quiz I need to get the time the quiz was completed for, what answers the player answered correctly and the time its completed into a database, + a couple of fields like name and phone that the user fills also needed to be added into db with the score and time. I need it by the end of tomorrow and I do realise i dont have the knowledge to make it, So if there is anyone that wishes to help or trade services I can give you back the favour by creating some html/css/web design content for you. Thanks in advance and please excuse me for my terrible english.download flash cs6 and use it to publish your ad or expand flash cc's publishing capabilites. if you have a flash cc subscription you can download and use flash cs6 after logging into your cc acount.
here's how to expand publishing capabilites of flash cc: http://forums.adobe.com/message/5511080#5511080#5511080 -
I want to create a SWF for my small web site. How do I do this? Do I need to purchase "Flash Builder"?
Hi Developer_46038,
if for example all the properties and object are stated as list, i think there is a tool that overcome cross list.
http://listrollup.codeplex.com/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/13a51be5-4007-46e8-bbb2-5e04320dfebd/cross-list-webpart?forum=sharepointcustomizationlegacy
you can also using dataview webpart to show the cross lists:
http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-data-view-HA010094804.aspx
http://office.microsoft.com/en-us/sharepoint-designer-help/connect-two-data-views-HA010169133.aspx
3rd party: http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/03/11/relational-database-capabilities-for-sharepoint-lists-cross-list-web-part.aspx
but i am not quite sure how crystal report will do, if you can make the crystal report as also list, i think its possible,
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8247edf5-dee8-49d8-b7ee-9e49bfd97b9b/crystal-report-in-sharepoint-2010-webpart?forum=sharepointdevelopmentprevious
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Hi, My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress iss: http://lisbondreamwalk.li.funpic.org This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */ send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void { if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URL var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress); thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = ""; } }
HThank you Kglad, I am going to see if I can make it work. I will let you know!
Date: Thu, 13 Oct 2011 08:55:05 -0600
From: [email protected]
To: [email protected]
Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
created by kglad in Action Script 3 - View the full discussion
you missed part of the tutorial (or the tutorial is incomplete): send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{ if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
}} var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Action Script 3 by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Need help Installing Flash player 10.3 for firefox. It stops at 50%
So I have Windows Vista Basic Home, I tried updating my Flash version in firefox because it was out of date, but everytime it start downloading it , then I get the a message that says "Error " Appliation in use." I uninstalled it and followed all the suggestions on the websites nothing is working. I even uninstall google chrome thinking it was the problem but I'm still having that problem so I really don't know what to do because now the only place Flash player is installed seems to be Google chrome that I had to redoawload, but everywhere else tells me that I need to install it.
RE-RE-RE REPITO, NO ENTIENDO NADA DE INGLES, PARA ESTE IDIOMA SOY COMPLETAMENTE NULA, POR FAVOR TODOS LOS MENSAJES, NOTAS, ECT., MANDEN EN ESPAÑOL.
Date: Thu, 29 Sep 2011 15:13:29 -0600
From: [email protected]
To: [email protected]
Subject: Need help Installing Flash player 10.3 for firefox. It stops at 50%
Re: Need help Installing Flash player 10.3 for firefox. It stops at 50%
created by Kpiebo in Installing Flash Player - View the full discussion
I have been at it since yesterday and it's still not working.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3945878#3945878
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3945878#3945878. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Installing Flash Player by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
I Need Help for the popup message every time I go to safari: "Warning! Old version of Adobe Flash Player detected. Please download new version."???
If you are talking about Safari on the iPad, there is no version of Adobe Flash for iOS and there never has been. Clear Safari, close the app and reset the iPad.
Go to Settings>Safari>Clear History and Website Data
In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
If you are talking about Safari on your Mac, you are in the wrong forum. But I would still clear the cache, quit Safari and restart the Mac. -
Need granite ds plug in for flash builder
Need granite ds plug in for flash builder
I'm not getting granite ds plug in for flash builder, can someone give me path of that?
I also want flash builder plug in for eclipse , I'm also not getting this.
I'm using eclipse galilio -
Offline Documentation for Flash Builder 4?
Is there a way for me to have an offline documentation for Flash Builder 4? The reason is because I'm not constantly online and bewing new to Flex and Flash Builder altogether, I'm always at a loss whenever I'm trying to achieve something which is why an offline documentation would come really really handy! Note that the unit where I develop with Flash Builder doesn't have an internet connection so I can't update the local documentation via the internet.
Thanks much for those who'd answer...Hi,
I can help answer. There are a couple of ways to get the Flash Builder 4 docs for offline use:
The Community Help app downloads the Help packages to your desktop, and provides an option to view them offline. Go to Edit > Preferences, and set Display Local Help Content Only to Yes. Note that you need to be connected to the Internet once to completely download the Help packages. And, any new updates to the doc will not be available unless you go online again.
You can download a PDF copy of the Using Flash Builder book from: http://help.adobe.com/en_US/flashbuilder/using/flashbuilder_4_help.pdf
and the Accessing Data with Adobe Flex 4 book from: http://help.adobe.com/en_US/Flex/4.0/AccessingData/flex_4_accessingdata.pdf
You can also download the entire Flex 4 and FB 4 documentation as a ZIP file from: http://www.adobe.com/go/learn_flex4_alldocumentation_en
Hope this helps,
Mallika
Flex doc team -
VSS Plugin for Flash Builder 4?
Hello,
Does anyone know which VSS Plugin is available for Flash Builder 4?
I tried googling, but in vain.
Please help!
Thanks,
TanuFinally found the elusive JDT from Galileo Repository - http://download.eclipse.org/releases/galileo/
Installation steps below:
Installing Visual SourceSafe plug-in for Eclipse:
1) Download the Eclipse VSS plugin from: http://sourceforge.net/projects/vssplugin/
2) Extract the zip file. Watch out for the duplicate folder (folder-within-folder) when you extract, you do not want this.
3) Copy the folder “org.vssplugin_1.6.2″ to your Flash Builder 4 plugin folder [“C:\Program Files\Adobe\Adobe Flash Builder 4\plugins”].
This needs the Java Development Tools. Get it from Galileo:
1) Open Flash Builder 4 (works for Premium too!)
2) Help > Install New Software…
3) At the top of the dialog, click “Add…” to add an update site URL
4) Specify any name and this URL http://download.eclipse.org/releases/galileo/ and press OK.
5) In the table of features, expand “Web, XML and Java EE Development” and select “Eclipse Java EE Developer Tools” [Eclipse Java EE Developer Tools 3.1.1.v200908101600-7_7EGrjFQRwRb4P511ebObS5XZhq]
6) Finish the wizard
7) Restart FB4
8) Now right click your project in Package Explorer > Team > Share, you will be able to see “VSS Configuration Wizard”.
Regards,
Shiyaz -
IOS support for Flash Builder 4.5.1
I am getting the following message when I try to export a releae build to iOS using Flash Builder 4.5.1:
This platform is not currently supported for Flex Mobile projects
I have tried running the update again and gives me the update was successful message, but I still don't have iOS support.
I did update using the Eclipse updater and was unable to open Flash Builder, but since resolved that issue. I wonder if I need to reinstall Flash Builder and reapply the update or if there is an easier fix.I just created a project with Adobe Launchpad (http://labs.adobe.com/technologies/airlaunchpad/), and it looked like I setup all the options for iOS, but when I go to run configurations and try and deploy to an iOS device I'm getting the same problem: "This platform is not currently supported for Flex Mobile projects"
Anyone know why? -
I need help installing flash on windows 8
I need help installing flash on windows 8
Chris… No I was using the desktop version, I cannot stand the M version, guess it would be nice if I had a touch screen..…when I finally got my computer to download the Acrobat Standard XI program, not sure how it worked, but I think it had something to do with Windows 8 not allowing itself to update all my apps and programs, even though my computer was set to automatically update any Windows/Microsoft updates…finally I got my Windows updates done, it downloaded like 36 files…and then I had to restart,(which also could have been playing a factor)…so finally got the program downloaded on Windows 8…but then I tried to run the new program and it says install serial #...so I assume that it was asking for the serial # for the Acrobat Standard XI…finally after googling the web, I found somebody that said try your older serial # from the previous program, and when I did this it finally works.. you would think with a brand new Windows computer I would have no problem installing Windows Updates…somebody needs to make a sticky about this, I am sure I am not the only one haiving this problem..
Thanks, -
Problem while installing LiveCycle Mosaic ES2 Plugin for Flash Builder 4
I am trying to work on Live Cycle Mosaic 9.5 and I have downloaded FlashBuilder 4 and trying to configure the mosaic plugin "LiveCycle Mosaic ES2 Plugin for Flash Builder 4" in Flash Builder as per following directions given on adobe site:
"Add the following two update sites via Window > Preferences > Install/Update > Available Software Sites (names below are suggested/optional):
Name: Galileo Location: http://download.eclipse.org/releases/galileo/
Name: RIA Tooling Location: select the LiveCycle Mosaic ES2 Plugin for Flash Builder 4 ZIP file.
Install RIA Tooling Feature: In Help > Install New Software, choose ("Work with") RIA Tooling Site.
Select and install Adobe LiveCycle RIA Tooling."
But I am getting the following error:
"Cannot complete the install because one or more required items could not be found.
Software being installed: Mosaic Tooling Feature 9.5.0.0-20100629-2-241916 (com.adobe.livecycle.ria.tooling.feature.feature.group 9.5.0.0-20100629-2-241916)
Missing requirement: Adobe LiveCycle RIA Tooling Mosaic Core_UI 9.5.0.0-20100629-2-241916 (com.adobe.livecycle.ria.tooling.mosaic.core_ui 9.5.0.0-20100629-2-241916) requires 'bundle org.eclipse.wst.sse.ui 1.1.0' but it could not be found
Cannot satisfy dependency:
From: Mosaic Tooling Feature 9.5.0.0-20100629-2-241916 (com.adobe.livecycle.ria.tooling.feature.feature.group 9.5.0.0-20100629-2-241916)
To: com.adobe.livecycle.ria.tooling.mosaic.core_ui [9.5.0.0-20100629-2-241916]"
Please, suggest me how can I solve this problem to configure mosaic plugin on flash builder 4.I think that in addition to adding the dependency on the galileo HTTP location the instructions should also advise you to 'check for updates'.
-
Still need help with flash player download
I'm still having a problem with the flash player, please read my last post below:
"I've tried everything here & still can't download the flash player. Anytime I try to download it asks me to install ADM add-on and then when I click on that, my computer freezes. How do I enable this add-on without my computer freezing? Can anyone help pls?"Thanks a lot for your help, it is truly appreciated.
Date: Thu, 29 Oct 2009 18:52:38 -0600
From: [email protected]
To: [email protected]
Subject: Still need help with flash player download
You can set Flash Player to check for updates on the Global Settings Manager panel:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l
> -
I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please
http://www.apple.com/support/itunes/contact/
-
Hi I need Help for Formating HD so Wat Key need hold on start up for format HD I apprciated you Help
Jesus:
Formatting, Partitioning Erasing a Hard Disk Drive
Warning! This procedure will destroy all data on your Hard Disk Drive. Be sure you have an up-to-date, tested backup of at least your Users folder and any third party applications you do not want to re-install before attempting this procedure.
• With computer shut down insert install disk in optical drive.
• Hit Power button and immediately after chime hold down the "C" key.
• Select language
• Go to the Utilities menu (Tiger) Installer menu (Panther & earlier) and launch Disk Utility.
• Select your HDD (manufacturer ID) in left side bar.
• Select Partition tab in main panel. (You are about to create a single partition volume.)
• _Where available_ +Click on Options button+
+• Select Apple Partition Map (PPC Macs) or GUID Partition Table (Intel Macs)+
+• Click OK+
• Select number of partitions in pull-down menu above Volume diagram.
(Note 1: One partition is normally preferable for an internal HDD.)
• Type in name in Name field (usually Macintosh HD)
• Select Volume Format as Mac OS Extended (Journaled)
• Click Partition button at bottom of panel.
• Select Erase tab
• Select the sub-volume (indented) under Manufacturer ID (usually Macintosh HD).
• Check to be sure your Volume Name and Volume Format are correct.
• Click Erase button
• Quit Disk Utility.
cornelius
Maybe you are looking for
-
Can't create a .class file
Hello I am glade to know this forum, I bet it is muche better than my instructor, any how .. I am trying to do my first java program, the progam is working properly on netbeans 4.1 with jdk1.5.0, but when I go to the command prompt on windows XP it d
-
Dreamweaver CC - Phonegap - facebook connect
Need a simple tutorial on how to do this. can't seem to find one that i can get to work atm iám trying to use - https://github.com/phonegap-build/FacebookConnect/blob/df97806027da5ba54ab94e093c6b3c0f2ec 5de5b/README.md getting errors --Cordova variab
-
Android.process.acore error on blackberry z10
howdy forum members, i use the BB z10 in Nepal and since BB word is not accessible here i sideloaded the android apps but frm thr last week i'm getting this message "Unfortunately, the process.android.acore has stopped." whenever i use an android ap
-
Time Machine in System Preferences not Apps how do I move it?
I had trouble and lost my time machine in docks and applications. Lost my airport network and had to reinstall with disc. Still had problems and ended up having to reset my time machine and everything came back except the Time Machine doesn't show
-
I was wondering what can be done to fix my iphone i love the poor device and refuse to use any other phone. the screen does not light up at all and idk what is the problem but it connects to itunes and comes up on my laptop with all the contents list