adobe

Best practices for developing AIR Application with SQLite

Deadly 提交于 2019-11-30 16:11:18
问题 I am going to start doing a couple of Adobe AIR projects that will be using SQLite feature provided by AIR . Since this is the first time I am attempting to do this, I would appreciate some pointers, tips and Best Practices for development. Since this application will be accessing a local db, I think I can open a connection to the database at the start of the app and keep it open till the application closes. Is this a right approach to use here? How should design my application if I am using

Hosting Flash won't load swf ressources (xml, image, etc.)

别说谁变了你拦得住时间么 提交于 2019-11-30 15:41:45
I tried to achieve at first a swf reader with gtk2 on my unix machine. Worked, I could render simple swf files. Now, I'm trying to add a configuration to my flash file with xml configuration, add image, etc. Failed, won't get pass geturlnotify(). Here's my code: #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> #include <string.h> #include <unistd.h> #include <ctype.h> #include <gtk/gtk.h> #include <gdk/gdkx.h> #include "npupp.h" #define FLASH_PLUGIN_SO "./libflashplayer.so" void *flash_plugin_handle; NPNetscapeFuncs browserFuncs; NPPluginFuncs pluginFuncs; GtkWidget *main_window; char

external database with Adobe CQ5?

爷,独闯天下 提交于 2019-11-30 15:22:31
Is there any way to connect external data base like mysql can be connected to Adobe CQ5 ? JCR(Java Content Repository) in Adobe cq5 now by default connects to H2 database...how to make it use sql/mysql? Go to: /system/console/configMgr Open up: the JDBC Connections Pool configuration Enter all the standard JDBC config elements (username, password, driver, JDBC URI) Enter a Datasource Name (referred to below as yourDataSourceName) In your JSP or Servlet: <%@ page import="com.day.commons.datasource.poolservice.DataSourcePool" %> <%@ page import="javax.sql.DataSource" %> DataSourcePool dbService

Determine runmode in Adobe CQ

痴心易碎 提交于 2019-11-30 14:50:05
问题 How do I programmatically know which run-mode the instance is running? I created a custom tag that provides the config depending on the instance run-mode, but I can not determine the current run-mode. I found a method that returns a list of run-mods instance: SlingSettings settings = ...get from BundleContext... Set<String> currentRunModes = settings.getRunModes(); But I can not get the objects SlingSettings or BundleContext. How can I get these objects or perhaps there is another way to get

Adobe Air ios packager

时光总嘲笑我的痴心妄想 提交于 2019-11-30 10:49:13
There seems to be a lot of confusion regarding deploying Adobe Air apps to ios after the restrictions were lifted. Before apple lifted the restrictions you had to go through the process documented here: http://blogs.adobe.com/cantrell/archives/2010/09/packager-for-iphone-refresher.html using the Packager for iPhone. But now that the restrictions have been lifted and the Air 2.7 update we can use the same ADT tool in the flex SDK that we use with all air applications. My understanding is that the old Packager for iPhone (PFI) some how converted actionscript code into native objective C in order

Experiences with Adobe's “Adam and Eve” C++ GUI library?

会有一股神秘感。 提交于 2019-11-30 10:32:40
问题 I tried out the demo application which was pretty impressive. However building it and integrating it with my own code is hard because it's such a large project. Has anyone successfully used it for their own projects? Was is difficult to build and integrate with your own C++ code? Link: STLab. For the interested: there's also a Google Tech Talk clarifying the philosophical ideas behind the project. 回答1: ASL is used fairly heavily within Adobe. The layout library (Eve) is used in many Adobe

Use Adobe Air 3.3 SDK with Flash Builder

风流意气都作罢 提交于 2019-11-30 10:07:49
Adobe Air SDK V3.3 was finally released june 8th 2012 and can be downloaded here: http://www.adobe.com/products/air.html Now I am trying to use it within Flash Builder V4.6 by 'overlaying' the Adobe Air 3.3 SDK over a copy of the Flex V4.6.0 SDK in /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/ Once I try to configure the overlayed SDK the Flash Builder complains that 'Directory does not contain a Flex SDK' Anybody an idea on how to successfully get Flash Builder to use Adobe Air V3.3 SKD? For MAC users the best way is to copy the 4.6.0 folder and rename it in "4.6.0 + 3.3" Then extract the

Compile for Flash 10.1 in Flash Professional CS6

强颜欢笑 提交于 2019-11-30 07:01:58
I'm currently working on a project for a Samsung Smart TV. This project will require Flash, and the specifications state to compile for Flash 10.1 if I want to use it on the TV. However, I'm looking at the publishing options in Flash Professional CS6, and I'm only given the option for 10.3, instead of 10, 10.1, or whatever other subversions of Flash 10. (I'm given the options for Flash 9, 8, 11, and more, though). Is there any way to force CS6 to compile for Flash 10.1? Let me preface this by stating I don't have CS6; however, I assume it'd be the same as overlaying a player in previous

第一次作业

天大地大妈咪最大 提交于 2019-11-30 00:15:42
Mobile Apps (QQ): QQ是 腾讯 QQ的 简称 ,是 腾讯公司 借鉴于ICQ开发的一款基于 Internet 的 即时通信 ( IM ) 软件 。目前QQ已经覆盖 Microsoft Windows 、 OS X 、 Android 、 iOS 、Windows Phone、Linux等多种主流平台。其标志是一只戴着红色 围巾 的小 企鹅 。腾讯QQ支持在线聊天、 视频通话 、点对点断点续传文件、 共享文件 、 网络硬盘 、自定义面板、 QQ邮箱 等多种功能,并可与多种通讯终端相连。 Operating Systems(windows xp): Windows XP是美国微软公司研发的基于X86、X64架构的 PC 和 平板电脑 使用的 操作系统 ,于2001年8月24日发布 RTM 版本,并于2001年10月25日开始零售。 [1-2] 其名字中“XP”的意思来自英文中的“体验(Experience)”。 该系统是继 Windows 2000 及 Windows ME 之后的下一代Windows操作系统,也是微软首个面向消费者且使用 Windows NT 5.1架构的操作系统。2014年4月8日,微软终止对该系统的技术支持,但在此之后仍在一些重大计算机安全事件中对该系统发布了补丁。 Tools(Adobe Photoshop): Adobe Photoshop

AS3 - Flash/AIR Socket Communication writeUTFBytes only works once

核能气质少年 提交于 2019-11-29 23:27:47
问题 I have a socket server listening on 2 ports, 1 port for the socket server and 1 port for the policy server. My code is below, in this scenario, data is sent and received perfectly fine. however, for example if I add a button with a simple: socket.writeUTFBytes("Message"); socket.flush(); after the initial connection, it doesn't seem to send any data to my server (I have my server printing all data transmissions to the console for checking) Initial connections work fine, as seen below: /